Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class DescribeCacheSecurityGroupsRequest

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

public class DescribeCacheSecurityGroupsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeCacheSecurityGroups operation.

Returns a list of CacheSecurityGroup descriptions. If a CacheSecurityGroupName is specified, the list will contain only the description of the specified CacheSecurityGroup.

See Also:
AmazonElastiCache.describeCacheSecurityGroups(DescribeCacheSecurityGroupsRequest), Serialized Form

Constructor Summary
DescribeCacheSecurityGroupsRequest()
          Default constructor for a new DescribeCacheSecurityGroupsRequest object.
DescribeCacheSecurityGroupsRequest(String cacheSecurityGroupName)
          Constructs a new DescribeCacheSecurityGroupsRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheSecurityGroupName()
          The name of the Cache Security Group to return details for.
 String getMarker()
          An optional marker provided in the previous DescribeCacheClusters request.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 int hashCode()
           
 void setCacheSecurityGroupName(String cacheSecurityGroupName)
          The name of the Cache Security Group to return details for.
 void setMarker(String marker)
          An optional marker provided in the previous DescribeCacheClusters request.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeCacheSecurityGroupsRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
          The name of the Cache Security Group to return details for.
 DescribeCacheSecurityGroupsRequest withMarker(String marker)
          An optional marker provided in the previous DescribeCacheClusters request.
 DescribeCacheSecurityGroupsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeCacheSecurityGroupsRequest

public DescribeCacheSecurityGroupsRequest()
Default constructor for a new DescribeCacheSecurityGroupsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DescribeCacheSecurityGroupsRequest

public DescribeCacheSecurityGroupsRequest(String cacheSecurityGroupName)
Constructs a new DescribeCacheSecurityGroupsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
cacheSecurityGroupName - The name of the Cache Security Group to return details for.
Method Detail

getCacheSecurityGroupName

public String getCacheSecurityGroupName()
The name of the Cache Security Group to return details for.

Returns:
The name of the Cache Security Group to return details for.

setCacheSecurityGroupName

public void setCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the Cache Security Group to return details for.

Parameters:
cacheSecurityGroupName - The name of the Cache Security Group to return details for.

withCacheSecurityGroupName

public DescribeCacheSecurityGroupsRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
The name of the Cache Security Group to return details for.

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

Parameters:
cacheSecurityGroupName - The name of the Cache Security Group to return details for.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100

Returns:
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100


setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100


withMaxRecords

public DescribeCacheSecurityGroupsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

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 records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

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 marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns:
An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

setMarker

public void setMarker(String marker)
An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Parameters:
marker - An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

withMarker

public DescribeCacheSecurityGroupsRequest withMarker(String marker)
An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

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

Parameters:
marker - An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.