public class ModifyClusterSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable
ModifyClusterSubnetGroup operation
.
Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.
NOOP
Constructor and Description |
---|
ModifyClusterSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClusterSubnetGroupName()
The name of the subnet group to be modified.
|
String |
getDescription()
A text description of the subnet group to be modified.
|
List<String> |
getSubnetIds()
An array of VPC subnet IDs.
|
int |
hashCode() |
void |
setClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the subnet group to be modified.
|
void |
setDescription(String description)
A text description of the subnet group to be modified.
|
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.
|
ModifyClusterSubnetGroupRequest |
withClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the subnet group to be modified.
|
ModifyClusterSubnetGroupRequest |
withDescription(String description)
A text description of the subnet group to be modified.
|
ModifyClusterSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs.
|
ModifyClusterSubnetGroupRequest |
withSubnetIds(String... subnetIds)
An array of VPC subnet IDs.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getClusterSubnetGroupName()
public void setClusterSubnetGroupName(String clusterSubnetGroupName)
clusterSubnetGroupName
- The name of the subnet group to be modified.public ModifyClusterSubnetGroupRequest withClusterSubnetGroupName(String clusterSubnetGroupName)
Returns a reference to this object so that method calls can be chained together.
clusterSubnetGroupName
- The name of the subnet group to be modified.public String getDescription()
public void setDescription(String description)
description
- A text description of the subnet group to be modified.public ModifyClusterSubnetGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A text description of the subnet group to be modified.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 ModifyClusterSubnetGroupRequest 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 ModifyClusterSubnetGroupRequest 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.