com.amazonaws.services.redshift.model
Class DescribeEventSubscriptionsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.DescribeEventSubscriptionsRequest
All Implemented Interfaces:
Serializable

public class DescribeEventSubscriptionsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeEventSubscriptions operation.

Lists descriptions of all the Amazon Redshift event notifications subscription for a customer account. If you specify a subscription name, lists the description for that subscription.

See Also:
AmazonRedshift.describeEventSubscriptions(DescribeEventSubscriptionsRequest), Serialized Form

Constructor Summary
DescribeEventSubscriptionsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMarker()
          An optional parameter that specifies the starting point to return a set of response records.
 Integer getMaxRecords()
          The maximum number of response records to return in each call.
 String getSubscriptionName()
          The name of the Amazon Redshift event notification subscription to be described.
 int hashCode()
           
 void setMarker(String marker)
          An optional parameter that specifies the starting point to return a set of response records.
 void setMaxRecords(Integer maxRecords)
          The maximum number of response records to return in each call.
 void setSubscriptionName(String subscriptionName)
          The name of the Amazon Redshift event notification subscription to be described.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeEventSubscriptionsRequest withMarker(String marker)
          An optional parameter that specifies the starting point to return a set of response records.
 DescribeEventSubscriptionsRequest withMaxRecords(Integer maxRecords)
          The maximum number of response records to return in each call.
 DescribeEventSubscriptionsRequest withSubscriptionName(String subscriptionName)
          The name of the Amazon Redshift event notification subscription to be described.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeEventSubscriptionsRequest

public DescribeEventSubscriptionsRequest()
Method Detail

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.

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.

withSubscriptionName

public DescribeEventSubscriptionsRequest withSubscriptionName(String subscriptionName)
The name of the Amazon Redshift event notification subscription to be described.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subscriptionName - The name of the Amazon Redshift event notification subscription to be described.
Returns:
A reference to this updated object so that method calls can be chained together.

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 MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: 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 MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.


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 MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: 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 specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: 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 MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxRecords - The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

Returns:
A reference to this updated object so that method calls can be chained together.

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 the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter 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 the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

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 the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter 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 in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter 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 the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

Returns a reference to this object so that method calls can be chained together.

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 in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.