@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateClusterSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClusterSubnetGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
List<Tag> |
getTags()
A list of tag instances.
|
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.
|
void |
setTags(Collection<Tag> tags)
A list of tag instances.
|
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.
|
CreateClusterSubnetGroupRequest |
withTags(Collection<Tag> tags)
A list of tag instances.
|
CreateClusterSubnetGroupRequest |
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, withSdkRequestTimeout
public void setClusterSubnetGroupName(String clusterSubnetGroupName)
The name for the subnet 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 subnet groups that are created by your AWS account.
Example: examplesubnetgroup
clusterSubnetGroupName
- The name for the subnet 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 subnet groups that are created by your AWS account.
Example: examplesubnetgroup
public String getClusterSubnetGroupName()
The name for the subnet 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 subnet groups that are created by your AWS account.
Example: examplesubnetgroup
Constraints:
Must contain no more than 255 alphanumeric characters or hyphens.
Must not be "Default".
Must be unique for all subnet groups that are created by your AWS account.
Example: examplesubnetgroup
public CreateClusterSubnetGroupRequest withClusterSubnetGroupName(String clusterSubnetGroupName)
The name for the subnet 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 subnet groups that are created by your AWS account.
Example: examplesubnetgroup
clusterSubnetGroupName
- The name for the subnet 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 subnet groups that are created by your AWS account.
Example: examplesubnetgroup
public void setDescription(String description)
A description for the subnet group.
description
- A description for the subnet group.public String getDescription()
A description for the subnet group.
public CreateClusterSubnetGroupRequest withDescription(String description)
A description for the subnet group.
description
- A description for the subnet group.public List<String> getSubnetIds()
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
public void setSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.public CreateClusterSubnetGroupRequest withSubnetIds(String... subnetIds)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
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)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.public void setTags(Collection<Tag> tags)
A list of tag instances.
tags
- A list of tag instances.public CreateClusterSubnetGroupRequest 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 CreateClusterSubnetGroupRequest withTags(Collection<Tag> tags)
A list of tag instances.
tags
- A list of tag instances.public String toString()
toString
in class Object
Object.toString()
public CreateClusterSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.