|
||||||||||
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.CreateCacheSecurityGroupRequest
public class CreateCacheSecurityGroupRequest
Container for the parameters to the CreateCacheSecurityGroup operation
.
The CreateCacheSecurityGroup operation creates a new cache security group. Use a cache security group to control access to one or more cache clusters.
Cache security groups are only used when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup .
AmazonElastiCache.createCacheSecurityGroup(CreateCacheSecurityGroupRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateCacheSecurityGroupRequest()
Default constructor for a new CreateCacheSecurityGroupRequest object. |
|
CreateCacheSecurityGroupRequest(String cacheSecurityGroupName,
String description)
Constructs a new CreateCacheSecurityGroupRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCacheSecurityGroupName()
A name for the cache security group. |
String |
getDescription()
A description for the cache security group. |
int |
hashCode()
|
void |
setCacheSecurityGroupName(String cacheSecurityGroupName)
A name for the cache security group. |
void |
setDescription(String description)
A description for the cache security group. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateCacheSecurityGroupRequest |
withCacheSecurityGroupName(String cacheSecurityGroupName)
A name for the cache security group. |
CreateCacheSecurityGroupRequest |
withDescription(String description)
A description for the cache security 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 CreateCacheSecurityGroupRequest()
public CreateCacheSecurityGroupRequest(String cacheSecurityGroupName, String description)
cacheSecurityGroupName
- A name for the cache security group.
This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Must not be the word "Default".
Example: mysecuritygroup
description
- A description for the cache security group.Method Detail |
---|
public String getCacheSecurityGroupName()
Constraints: Must contain no more than 255 alphanumeric characters. Must not be the word "Default".
Example:
mysecuritygroup
Constraints: Must contain no more than 255 alphanumeric characters. Must not be the word "Default".
Example:
mysecuritygroup
public void setCacheSecurityGroupName(String cacheSecurityGroupName)
Constraints: Must contain no more than 255 alphanumeric characters. Must not be the word "Default".
Example:
mysecuritygroup
cacheSecurityGroupName
- A name for the cache security group. This value is stored as a
lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Must not be the word "Default".
Example:
mysecuritygroup
public CreateCacheSecurityGroupRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
Constraints: Must contain no more than 255 alphanumeric characters. Must not be the word "Default".
Example:
mysecuritygroup
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroupName
- A name for the cache security group. This value is stored as a
lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Must not be the word "Default".
Example:
mysecuritygroup
public String getDescription()
public void setDescription(String description)
description
- A description for the cache security group.public CreateCacheSecurityGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description for the cache security 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 |