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.

The CreateCacheParameterGroup operation creates a new cache parameter group. A cache parameter group is a collection of parameters that you apply to all of the nodes in 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()
          A user-specified name for the cache parameter group.
 String getDescription()
          A user-specified 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)
          A user-specified name for the cache parameter group.
 void setDescription(String description)
          A user-specified 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)
          A user-specified name for the cache parameter group.
 CreateCacheParameterGroupRequest withDescription(String description)
          A user-specified description for the cache parameter group.
 
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

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 - A user-specified name for the cache parameter group.
cacheParameterGroupFamily - The name of the cache parameter group family the cache parameter group can be used with.

Valid values are: memcached1.4 | redis2.6 | redis2.8

description - A user-specified description for the cache parameter group.
Method Detail

getCacheParameterGroupName

public String getCacheParameterGroupName()
A user-specified name for the cache parameter group.

Returns:
A user-specified name for the cache parameter group.

setCacheParameterGroupName

public void setCacheParameterGroupName(String cacheParameterGroupName)
A user-specified name for the cache parameter group.

Parameters:
cacheParameterGroupName - A user-specified name for the cache parameter group.

withCacheParameterGroupName

public CreateCacheParameterGroupRequest withCacheParameterGroupName(String cacheParameterGroupName)
A user-specified name for the cache parameter group.

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

Parameters:
cacheParameterGroupName - A user-specified name for 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.

Valid values are: memcached1.4 | redis2.6 | redis2.8

Returns:
The name of the cache parameter group family the cache parameter group can be used with.

Valid values are: memcached1.4 | redis2.6 | redis2.8


setCacheParameterGroupFamily

public void setCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the cache parameter group family the cache parameter group can be used with.

Valid values are: memcached1.4 | redis2.6 | redis2.8

Parameters:
cacheParameterGroupFamily - The name of the cache parameter group family the cache parameter group can be used with.

Valid values are: memcached1.4 | redis2.6 | redis2.8


withCacheParameterGroupFamily

public CreateCacheParameterGroupRequest withCacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the cache parameter group family the cache parameter group can be used with.

Valid values are: memcached1.4 | redis2.6 | redis2.8

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.

Valid values are: memcached1.4 | redis2.6 | redis2.8

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

getDescription

public String getDescription()
A user-specified description for the cache parameter group.

Returns:
A user-specified description for the cache parameter group.

setDescription

public void setDescription(String description)
A user-specified description for the cache parameter group.

Parameters:
description - A user-specified description for the cache parameter group.

withDescription

public CreateCacheParameterGroupRequest withDescription(String description)
A user-specified description for the cache parameter group.

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

Parameters:
description - A user-specified 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 © 2016. All rights reserved.