@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterSecurityGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
CreateClusterSecurityGroupRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateClusterSecurityGroupRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getClusterSecurityGroupName()
 The name for the security group. 
 | 
String | 
getDescription()
 A description for the security group. 
 | 
List<Tag> | 
getTags()
 A list of tag instances. 
 | 
int | 
hashCode()  | 
void | 
setClusterSecurityGroupName(String clusterSecurityGroupName)
 The name for the security group. 
 | 
void | 
setDescription(String description)
 A description for the security group. 
 | 
void | 
setTags(Collection<Tag> tags)
 A list of tag instances. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateClusterSecurityGroupRequest | 
withClusterSecurityGroupName(String clusterSecurityGroupName)
 The name for the security group. 
 | 
CreateClusterSecurityGroupRequest | 
withDescription(String description)
 A description for the security group. 
 | 
CreateClusterSecurityGroupRequest | 
withTags(Collection<Tag> tags)
 A list of tag instances. 
 | 
CreateClusterSecurityGroupRequest | 
withTags(Tag... tags)
 A list of tag instances. 
 | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClusterSecurityGroupName(String clusterSecurityGroupName)
The name for the security group. Amazon Redshift stores the value as a lowercase string.
Constraints:
Must contain no more than 255 alphanumeric characters or hyphens.
Must not be "Default".
Must be unique for all security groups that are created by your account.
 Example: examplesecuritygroup
 
clusterSecurityGroupName - The name for the security group. Amazon Redshift stores the value as a lowercase string.
        Constraints:
Must contain no more than 255 alphanumeric characters or hyphens.
Must not be "Default".
Must be unique for all security groups that are created by your account.
        Example: examplesecuritygroup
public String getClusterSecurityGroupName()
The name for the security group. Amazon Redshift stores the value as a lowercase string.
Constraints:
Must contain no more than 255 alphanumeric characters or hyphens.
Must not be "Default".
Must be unique for all security groups that are created by your account.
 Example: examplesecuritygroup
 
Constraints:
Must contain no more than 255 alphanumeric characters or hyphens.
Must not be "Default".
Must be unique for all security groups that are created by your account.
         Example: examplesecuritygroup
public CreateClusterSecurityGroupRequest withClusterSecurityGroupName(String clusterSecurityGroupName)
The name for the security group. Amazon Redshift stores the value as a lowercase string.
Constraints:
Must contain no more than 255 alphanumeric characters or hyphens.
Must not be "Default".
Must be unique for all security groups that are created by your account.
 Example: examplesecuritygroup
 
clusterSecurityGroupName - The name for the security group. Amazon Redshift stores the value as a lowercase string.
        Constraints:
Must contain no more than 255 alphanumeric characters or hyphens.
Must not be "Default".
Must be unique for all security groups that are created by your account.
        Example: examplesecuritygroup
public void setDescription(String description)
A description for the security group.
description - A description for the security group.public String getDescription()
A description for the security group.
public CreateClusterSecurityGroupRequest withDescription(String description)
A description for the security group.
description - A description for the security group.public void setTags(Collection<Tag> tags)
A list of tag instances.
tags - A list of tag instances.public CreateClusterSecurityGroupRequest withTags(Tag... tags)
A list of tag instances.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - A list of tag instances.public CreateClusterSecurityGroupRequest withTags(Collection<Tag> tags)
A list of tag instances.
tags - A list of tag instances.public String toString()
toString in class ObjectObject.toString()public CreateClusterSecurityGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()