Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class CreateCacheParameterGroupRequest

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

public class CreateCacheParameterGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CreateCacheParameterGroup operation.

Creates a new Cache Parameter Group. Cache Parameter groups control the parameters for a Cache Cluster.

See Also:
AmazonElastiCache.createCacheParameterGroup(CreateCacheParameterGroupRequest), Serialized Form

Constructor Summary
CreateCacheParameterGroupRequest()
          Default constructor for a new CreateCacheParameterGroupRequest object.
CreateCacheParameterGroupRequest(String cacheParameterGroupName, String cacheParameterGroupFamily, String description)
          Constructs a new CreateCacheParameterGroupRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getCacheParameterGroupFamily()
          The name of the Cache Parameter Group Family the Cache Parameter Group can be used with.
 String getCacheParameterGroupName()
          The name of the Cache Parameter Group.
 String getDescription()
          The description for the Cache Parameter Group.
 int hashCode()
           
 void setCacheParameterGroupFamily(String cacheParameterGroupFamily)
          The name of the Cache Parameter Group Family the Cache Parameter Group can be used with.
 void setCacheParameterGroupName(String cacheParameterGroupName)
          The name of the Cache Parameter Group.
 void setDescription(String description)
          The description for the Cache Parameter Group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateCacheParameterGroupRequest withCacheParameterGroupFamily(String cacheParameterGroupFamily)
          The name of the Cache Parameter Group Family the Cache Parameter Group can be used with.
 CreateCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
          The name of the Cache Parameter Group.
 CreateCacheParameterGroupRequest withDescription(String description)
          The description for the Cache Parameter Group.
 
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

CreateCacheParameterGroupRequest

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


CreateCacheParameterGroupRequest

public CreateCacheParameterGroupRequest(String cacheParameterGroupName,
                                        String cacheParameterGroupFamily,
                                        String description)
Constructs a new CreateCacheParameterGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
cacheParameterGroupName - The name of the Cache Parameter Group.
cacheParameterGroupFamily - The name of the Cache Parameter Group Family the Cache Parameter Group can be used with. Currently, memcached1.4 is the only cache parameter group family supported by the service.
description - The description for the Cache Parameter Group.
Method Detail

getCacheParameterGroupName

public String getCacheParameterGroupName()
The name of the Cache Parameter Group.

Returns:
The name of the Cache Parameter Group.

setCacheParameterGroupName

public void setCacheParameterGroupName(String cacheParameterGroupName)
The name of the Cache Parameter Group.

Parameters:
cacheParameterGroupName - The name of the Cache Parameter Group.

withCacheParameterGroupName

public CreateCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
The name of the Cache Parameter Group.

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

Parameters:
cacheParameterGroupName - The name of the Cache Parameter Group.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheParameterGroupFamily

public String getCacheParameterGroupFamily()
The name of the Cache Parameter Group Family the Cache Parameter Group can be used with. Currently, memcached1.4 is the only cache parameter group family supported by the service.

Returns:
The name of the Cache Parameter Group Family the Cache Parameter Group can be used with. Currently, memcached1.4 is the only cache parameter group family supported by the service.

setCacheParameterGroupFamily

public void setCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the Cache Parameter Group Family the Cache Parameter Group can be used with. Currently, memcached1.4 is the only cache parameter group family supported by the service.

Parameters:
cacheParameterGroupFamily - The name of the Cache Parameter Group Family the Cache Parameter Group can be used with. Currently, memcached1.4 is the only cache parameter group family supported by the service.

withCacheParameterGroupFamily

public CreateCacheParameterGroupRequest withCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the Cache Parameter Group Family the Cache Parameter Group can be used with. Currently, memcached1.4 is the only cache parameter group family supported by the service.

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

Parameters:
cacheParameterGroupFamily - The name of the Cache Parameter Group Family the Cache Parameter Group can be used with. Currently, memcached1.4 is the only cache parameter group family supported by the service.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
The description for the Cache Parameter Group.

Returns:
The description for the Cache Parameter Group.

setDescription

public void setDescription(String description)
The description for the Cache Parameter Group.

Parameters:
description - The description for the Cache Parameter Group.

withDescription

public CreateCacheParameterGroupRequest withDescription(String description)
The description for the Cache Parameter Group.

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

Parameters:
description - The description for the Cache Parameter Group.
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.