Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class CreateClusterSecurityGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.CreateClusterSecurityGroupRequest
All Implemented Interfaces:
Serializable

public class CreateClusterSecurityGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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 Management Guide .

See Also:
AmazonRedshift.createClusterSecurityGroup(CreateClusterSecurityGroupRequest), Serialized Form

Constructor Summary
CreateClusterSecurityGroupRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClusterSecurityGroupName()
          The name for the security group.
 String getDescription()
          A description for the security group.
 int hashCode()
           
 void setClusterSecurityGroupName(String clusterSecurityGroupName)
          The name for the security group.
 void setDescription(String description)
          A description for the security group.
 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.
 
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

CreateClusterSecurityGroupRequest

public CreateClusterSecurityGroupRequest()
Method Detail

getClusterSecurityGroupName

public String getClusterSecurityGroupName()
The name for the security group. Amazon Redshift stores the value as a lowercase string.

Constraints:

Example: examplesecuritygroup

Returns:
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 AWS account.

Example: examplesecuritygroup


setClusterSecurityGroupName

public void setClusterSecurityGroupName(String clusterSecurityGroupName)
The name for the security group. Amazon Redshift stores the value as a lowercase string.

Constraints:

Example: examplesecuritygroup

Parameters:
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 AWS account.

Example: examplesecuritygroup


withClusterSecurityGroupName

public CreateClusterSecurityGroupRequest withClusterSecurityGroupName(String clusterSecurityGroupName)
The name for the security group. Amazon Redshift stores the value as a lowercase string.

Constraints:

Example: examplesecuritygroup

Returns a reference to this object so that method calls can be chained together.

Parameters:
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 AWS account.

Example: examplesecuritygroup

Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
A description for the security group.

Returns:
A description for the security group.

setDescription

public void setDescription(String description)
A description for the security group.

Parameters:
description - A description for the security group.

withDescription

public CreateClusterSecurityGroupRequest withDescription(String description)
A description for the security group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - A description for the security group.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.