public class CreateClusterSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable
CreateClusterSubnetGroup operation
.
Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Management Guide .
NOOP
Constructor and Description |
---|
CreateClusterSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClusterSubnetGroupName()
The name for the subnet group.
|
String |
getDescription()
A description for the subnet group.
|
List<String> |
getSubnetIds()
An array of VPC subnet IDs.
|
int |
hashCode() |
void |
setClusterSubnetGroupName(String clusterSubnetGroupName)
The name for the subnet group.
|
void |
setDescription(String description)
A description for the subnet group.
|
void |
setSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateClusterSubnetGroupRequest |
withClusterSubnetGroupName(String clusterSubnetGroupName)
The name for the subnet group.
|
CreateClusterSubnetGroupRequest |
withDescription(String description)
A description for the subnet group.
|
CreateClusterSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs.
|
CreateClusterSubnetGroupRequest |
withSubnetIds(String... subnetIds)
An array of VPC subnet IDs.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getClusterSubnetGroupName()
Constraints:
Example:
examplesubnetgroup
Constraints:
Example:
examplesubnetgroup
public void setClusterSubnetGroupName(String clusterSubnetGroupName)
Constraints:
Example:
examplesubnetgroup
clusterSubnetGroupName
- The name for the subnet group. Amazon Redshift stores the value as a
lowercase string. Constraints:
Example:
examplesubnetgroup
public CreateClusterSubnetGroupRequest withClusterSubnetGroupName(String clusterSubnetGroupName)
Constraints:
Example:
examplesubnetgroup
Returns a reference to this object so that method calls can be chained together.
clusterSubnetGroupName
- The name for the subnet group. Amazon Redshift stores the value as a
lowercase string. Constraints:
Example:
examplesubnetgroup
public String getDescription()
public void setDescription(String description)
description
- A description for the subnet group.public CreateClusterSubnetGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description for the subnet group.public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
a single request.public CreateClusterSubnetGroupRequest withSubnetIds(String... subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
a single request.public CreateClusterSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
a single request.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.