public class CreateClusterSecurityGroupRequest extends AmazonWebServiceRequest implements Serializable
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 .
Constructor and Description |
---|
CreateClusterSecurityGroupRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.