|
Did this page help you?Yes No Tell us about it... |
||||||
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
.
Creates a new Cache Security Group. Cache Security groups control access to one or more Cache Clusters.
Only use cache security groups when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). Inside of a VPC, use VPC security groups.
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()
The name for the Cache Security Group. |
String |
getDescription()
The description for the Cache Security Group. |
int |
hashCode()
|
void |
setCacheSecurityGroupName(String cacheSecurityGroupName)
The name for the Cache Security Group. |
void |
setDescription(String description)
The description for the Cache Security Group. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateCacheSecurityGroupRequest |
withCacheSecurityGroupName(String cacheSecurityGroupName)
The name for the Cache Security Group. |
CreateCacheSecurityGroupRequest |
withDescription(String description)
The description for the Cache Security 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 |
---|
public CreateCacheSecurityGroupRequest()
public CreateCacheSecurityGroupRequest(String cacheSecurityGroupName, String description)
cacheSecurityGroupName
- The 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 "Default".
Example: mysecuritygroup
description
- The description for the Cache Security Group.Method Detail |
---|
public String getCacheSecurityGroupName()
Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
public void setCacheSecurityGroupName(String cacheSecurityGroupName)
Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
cacheSecurityGroupName
- The 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 "Default".
Example:
mysecuritygroup
public CreateCacheSecurityGroupRequest withCacheSecurityGroupName(String cacheSecurityGroupName)
Constraints: Must contain no more than 255 alphanumeric characters. Must not be "Default".
Example:
mysecuritygroup
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroupName
- The 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 "Default".
Example:
mysecuritygroup
public String getDescription()
public void setDescription(String description)
description
- The 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
- The 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 |