public class ModifyClusterSubnetGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clusterSubnetGroupName
The name of the subnet group to be modified.
|
private java.lang.String |
description
A text description of the subnet group to be modified.
|
private SdkInternalList<java.lang.String> |
subnetIds
An array of VPC subnet IDs.
|
NOOP
Constructor and Description |
---|
ModifyClusterSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyClusterSubnetGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClusterSubnetGroupName()
The name of the subnet group to be modified.
|
java.lang.String |
getDescription()
A text description of the subnet group to be modified.
|
java.util.List<java.lang.String> |
getSubnetIds()
An array of VPC subnet IDs.
|
int |
hashCode() |
void |
setClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name of the subnet group to be modified.
|
void |
setDescription(java.lang.String description)
A text description of the subnet group to be modified.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
An array of VPC subnet IDs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyClusterSubnetGroupRequest |
withClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name of the subnet group to be modified.
|
ModifyClusterSubnetGroupRequest |
withDescription(java.lang.String description)
A text description of the subnet group to be modified.
|
ModifyClusterSubnetGroupRequest |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
An array of VPC subnet IDs.
|
ModifyClusterSubnetGroupRequest |
withSubnetIds(java.lang.String... subnetIds)
An array of VPC subnet IDs.
|
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 of the subnet group to be modified.
private java.lang.String description
A text description of the subnet group to be modified.
private SdkInternalList<java.lang.String> subnetIds
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
public void setClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name of the subnet group to be modified.
clusterSubnetGroupName
- The name of the subnet group to be modified.public java.lang.String getClusterSubnetGroupName()
The name of the subnet group to be modified.
public ModifyClusterSubnetGroupRequest withClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name of the subnet group to be modified.
clusterSubnetGroupName
- The name of the subnet group to be modified.public void setDescription(java.lang.String description)
A text description of the subnet group to be modified.
description
- A text description of the subnet group to be modified.public java.lang.String getDescription()
A text description of the subnet group to be modified.
public ModifyClusterSubnetGroupRequest withDescription(java.lang.String description)
A text description of the subnet group to be modified.
description
- A text description of the subnet group to be modified.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 ModifyClusterSubnetGroupRequest 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 ModifyClusterSubnetGroupRequest 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.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 ModifyClusterSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()