|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticache.model.CreateCacheSubnetGroupRequest
public class CreateCacheSubnetGroupRequest
Container for the parameters to the CreateCacheSubnetGroup operation
.
The CreateCacheSubnetGroup operation creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).
AmazonElastiCache.createCacheSubnetGroup(CreateCacheSubnetGroupRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateCacheSubnetGroupRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCacheSubnetGroupDescription()
A description for the cache subnet group. |
String |
getCacheSubnetGroupName()
A name for the cache subnet group. |
List<String> |
getSubnetIds()
A list of VPC subnet IDs for the cache subnet group. |
int |
hashCode()
|
void |
setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
A description for the cache subnet group. |
void |
setCacheSubnetGroupName(String cacheSubnetGroupName)
A name for the cache subnet group. |
void |
setSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the cache subnet group. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateCacheSubnetGroupRequest |
withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
A description for the cache subnet group. |
CreateCacheSubnetGroupRequest |
withCacheSubnetGroupName(String cacheSubnetGroupName)
A name for the cache subnet group. |
CreateCacheSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the cache subnet group. |
CreateCacheSubnetGroupRequest |
withSubnetIds(String... subnetIds)
A list of VPC subnet IDs for the cache subnet 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 |
---|
public CreateCacheSubnetGroupRequest()
Method Detail |
---|
public String getCacheSubnetGroupName()
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
public void setCacheSubnetGroupName(String cacheSubnetGroupName)
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
cacheSubnetGroupName
- A name for the cache subnet group. This value is stored as a lowercase
string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
public CreateCacheSubnetGroupRequest withCacheSubnetGroupName(String cacheSubnetGroupName)
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
Returns a reference to this object so that method calls can be chained together.
cacheSubnetGroupName
- A name for the cache subnet group. This value is stored as a lowercase
string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
public String getCacheSubnetGroupDescription()
public void setCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
cacheSubnetGroupDescription
- A description for the cache subnet group.public CreateCacheSubnetGroupRequest withCacheSubnetGroupDescription(String cacheSubnetGroupDescription)
Returns a reference to this object so that method calls can be chained together.
cacheSubnetGroupDescription
- A description for the cache subnet group.
public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- A list of VPC subnet IDs for the cache subnet group.public CreateCacheSubnetGroupRequest withSubnetIds(String... subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- A list of VPC subnet IDs for the cache subnet group.
public CreateCacheSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- A list of VPC subnet IDs for the cache subnet group.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |