public class CreateClusterSubnetGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clusterSubnetGroupName
The name for the subnet group.
|
private java.lang.String |
description
A description for the subnet group.
|
private SdkInternalList<java.lang.String> |
subnetIds
An array of VPC subnet IDs.
|
private SdkInternalList<Tag> |
tags
A list of tag instances.
|
NOOP
Constructor and Description |
---|
CreateClusterSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClusterSubnetGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClusterSubnetGroupName()
The name for the subnet group.
|
java.lang.String |
getDescription()
A description for the subnet group.
|
java.util.List<java.lang.String> |
getSubnetIds()
An array of VPC subnet IDs.
|
java.util.List<Tag> |
getTags()
A list of tag instances.
|
int |
hashCode() |
void |
setClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name for the subnet group.
|
void |
setDescription(java.lang.String description)
A description for the subnet group.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
An array of VPC subnet IDs.
|
void |
setTags(java.util.Collection<Tag> tags)
A list of tag instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateClusterSubnetGroupRequest |
withClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name for the subnet group.
|
CreateClusterSubnetGroupRequest |
withDescription(java.lang.String description)
A description for the subnet group.
|
CreateClusterSubnetGroupRequest |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
An array of VPC subnet IDs.
|
CreateClusterSubnetGroupRequest |
withSubnetIds(java.lang.String... subnetIds)
An array of VPC subnet IDs.
|
CreateClusterSubnetGroupRequest |
withTags(java.util.Collection<Tag> tags)
A list of tag instances.
|
CreateClusterSubnetGroupRequest |
withTags(Tag... tags)
A list of tag instances.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String clusterSubnetGroupName
The name for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
Example: examplesubnetgroup
private java.lang.String description
A description for the subnet group.
private SdkInternalList<java.lang.String> subnetIds
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
private SdkInternalList<Tag> tags
A list of tag instances.
public void setClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
Example: examplesubnetgroup
clusterSubnetGroupName
- The name for the subnet group. Amazon Redshift stores the value as
a lowercase string.
Constraints:
Example: examplesubnetgroup
public java.lang.String getClusterSubnetGroupName()
The name for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
Example: examplesubnetgroup
Constraints:
Example: examplesubnetgroup
public CreateClusterSubnetGroupRequest withClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
Example: examplesubnetgroup
clusterSubnetGroupName
- The name for the subnet group. Amazon Redshift stores the value as
a lowercase string.
Constraints:
Example: examplesubnetgroup
public void setDescription(java.lang.String description)
A description for the subnet group.
description
- A description for the subnet group.public java.lang.String getDescription()
A description for the subnet group.
public CreateClusterSubnetGroupRequest withDescription(java.lang.String description)
A description for the subnet group.
description
- A description for the subnet group.public java.util.List<java.lang.String> getSubnetIds()
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
public void setSubnetIds(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.List<Tag> getTags()
A list of tag instances.
public void setTags(java.util.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(java.util.Collection<Tag> tags)
A list of tag instances.
tags
- A list of tag instances.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateClusterSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()