Class DescribeEventSubscriptionsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.redshift.model.DescribeEventSubscriptionsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeEventSubscriptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeEventSubscriptionsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEventSubscriptionsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetMarker()An optional parameter that specifies the starting point to return a set of response records.IntegergetMaxRecords()The maximum number of response records to return in each call.StringgetSubscriptionName()The name of the Amazon Redshift event notification subscription to be described.inthashCode()voidsetMarker(String marker)An optional parameter that specifies the starting point to return a set of response records.voidsetMaxRecords(Integer maxRecords)The maximum number of response records to return in each call.voidsetSubscriptionName(String subscriptionName)The name of the Amazon Redshift event notification subscription to be described.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeEventSubscriptionsRequestwithMarker(String marker)An optional parameter that specifies the starting point to return a set of response records.DescribeEventSubscriptionsRequestwithMaxRecords(Integer maxRecords)The maximum number of response records to return in each call.DescribeEventSubscriptionsRequestwithSubscriptionName(String subscriptionName)The name of the Amazon Redshift event notification subscription to be described.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setSubscriptionName
public void setSubscriptionName(String subscriptionName)
The name of the Amazon Redshift event notification subscription to be described.
- Parameters:
subscriptionName- The name of the Amazon Redshift event notification subscription to be described.
-
getSubscriptionName
public String getSubscriptionName()
The name of the Amazon Redshift event notification subscription to be described.
- Returns:
- The name of the Amazon Redshift event notification subscription to be described.
-
withSubscriptionName
public DescribeEventSubscriptionsRequest withSubscriptionName(String subscriptionName)
The name of the Amazon Redshift event notification subscription to be described.
- Parameters:
subscriptionName- The name of the Amazon Redshift event notification subscription to be described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxRecords
public void setMaxRecords(Integer maxRecords)
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100Constraints: minimum 20, maximum 100.
- Parameters:
maxRecords- The maximum number of response records to return in each call. If the number of remaining response records exceeds the specifiedMaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100Constraints: minimum 20, maximum 100.
-
getMaxRecords
public Integer getMaxRecords()
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100Constraints: minimum 20, maximum 100.
- Returns:
- The maximum number of response records to return in each call. If
the number of remaining response records exceeds the specified
MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100Constraints: minimum 20, maximum 100.
-
withMaxRecords
public DescribeEventSubscriptionsRequest withMaxRecords(Integer maxRecords)
The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified
MaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100Constraints: minimum 20, maximum 100.
- Parameters:
maxRecords- The maximum number of response records to return in each call. If the number of remaining response records exceeds the specifiedMaxRecordsvalue, a value is returned in amarkerfield of the response. You can retrieve the next set of records by retrying the command with the returned marker value.Default:
100Constraints: minimum 20, maximum 100.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String marker)
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified in
MaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.- Parameters:
marker- An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified inMaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.
-
getMarker
public String getMarker()
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified in
MaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.- Returns:
- An optional parameter that specifies the starting point to return
a set of response records. When the results of a
DescribeEventSubscriptions request exceed the value
specified in
MaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.
-
withMarker
public DescribeEventSubscriptionsRequest withMarker(String marker)
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified in
MaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.- Parameters:
marker- An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified inMaxRecords, AWS returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEventSubscriptionsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-