@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
UpdateSubnetGroupRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
UpdateSubnetGroupRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getDescription()
 A description of the subnet group 
 | 
String | 
getSubnetGroupName()
 The name of the subnet group 
 | 
List<String> | 
getSubnetIds()
 The EC2 subnet IDs for the subnet group. 
 | 
int | 
hashCode()  | 
void | 
setDescription(String description)
 A description of the subnet group 
 | 
void | 
setSubnetGroupName(String subnetGroupName)
 The name of the subnet group 
 | 
void | 
setSubnetIds(Collection<String> subnetIds)
 The EC2 subnet IDs for the subnet group. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
UpdateSubnetGroupRequest | 
withDescription(String description)
 A description of the subnet group 
 | 
UpdateSubnetGroupRequest | 
withSubnetGroupName(String subnetGroupName)
 The name of the subnet group 
 | 
UpdateSubnetGroupRequest | 
withSubnetIds(Collection<String> subnetIds)
 The EC2 subnet IDs for the subnet group. 
 | 
UpdateSubnetGroupRequest | 
withSubnetIds(String... subnetIds)
 The EC2 subnet IDs for the subnet group. 
 | 
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, withSdkRequestTimeoutpublic void setSubnetGroupName(String subnetGroupName)
The name of the subnet group
subnetGroupName - The name of the subnet grouppublic String getSubnetGroupName()
The name of the subnet group
public UpdateSubnetGroupRequest withSubnetGroupName(String subnetGroupName)
The name of the subnet group
subnetGroupName - The name of the subnet grouppublic void setDescription(String description)
A description of the subnet group
description - A description of the subnet grouppublic String getDescription()
A description of the subnet group
public UpdateSubnetGroupRequest withDescription(String description)
A description of the subnet group
description - A description of the subnet grouppublic List<String> getSubnetIds()
The EC2 subnet IDs for the subnet group.
public void setSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the subnet group.
subnetIds - The EC2 subnet IDs for the subnet group.public UpdateSubnetGroupRequest withSubnetIds(String... subnetIds)
The EC2 subnet IDs for the subnet group.
 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 - The EC2 subnet IDs for the subnet group.public UpdateSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the subnet group.
subnetIds - The EC2 subnet IDs for the subnet group.public String toString()
toString in class ObjectObject.toString()public UpdateSubnetGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()