public class CreateClusterSecurityGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateClusterSecurityGroup operation.
 Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide .
NOOP| Constructor and Description | 
|---|
| CreateClusterSecurityGroupRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateClusterSecurityGroupRequest | clone()Creates a shallow clone of this request. | 
| 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; useful for testing and
 debugging. | 
| 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. | 
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getClusterSecurityGroupName()
Constraints:
Example:
 examplesecuritygroup
Constraints:
Example:
         examplesecuritygroup
public void setClusterSecurityGroupName(String clusterSecurityGroupName)
Constraints:
Example:
 examplesecuritygroup
clusterSecurityGroupName - The name for the security group. Amazon Redshift stores the value as a
         lowercase string. Constraints:
Example:
         examplesecuritygroup
public CreateClusterSecurityGroupRequest withClusterSecurityGroupName(String clusterSecurityGroupName)
Constraints:
Example:
 examplesecuritygroup
 
Returns a reference to this object so that method calls can be chained together.
clusterSecurityGroupName - The name for the security group. Amazon Redshift stores the value as a
         lowercase string. Constraints:
Example:
         examplesecuritygroup
public String getDescription()
public void setDescription(String description)
description - A description for the security group.public CreateClusterSecurityGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - A description for the security group.public void setTags(Collection<Tag> tags)
tags - A list of tag instances.public CreateClusterSecurityGroupRequest withTags(Tag... tags)
 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.
 
Returns a reference to this object so that method calls can be chained together.
tags - A list of tag instances.public CreateClusterSecurityGroupRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags - A list of tag instances.public String toString()
toString in class ObjectObject.toString()public CreateClusterSecurityGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.