@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyDBSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input to ModifyDBSubnetGroup.
NOOP| Constructor and Description | 
|---|
ModifyDBSubnetGroupRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
ModifyDBSubnetGroupRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getDBSubnetGroupDescription()
 The description for the subnet group. 
 | 
String | 
getDBSubnetGroupName()
 The name for the subnet group. 
 | 
List<String> | 
getSubnetIds()
 The Amazon EC2 subnet IDs for the subnet group. 
 | 
int | 
hashCode()  | 
void | 
setDBSubnetGroupDescription(String dBSubnetGroupDescription)
 The description for the subnet group. 
 | 
void | 
setDBSubnetGroupName(String dBSubnetGroupName)
 The name for the subnet group. 
 | 
void | 
setSubnetIds(Collection<String> subnetIds)
 The Amazon EC2 subnet IDs for the subnet group. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
ModifyDBSubnetGroupRequest | 
withDBSubnetGroupDescription(String dBSubnetGroupDescription)
 The description for the subnet group. 
 | 
ModifyDBSubnetGroupRequest | 
withDBSubnetGroupName(String dBSubnetGroupName)
 The name for the subnet group. 
 | 
ModifyDBSubnetGroupRequest | 
withSubnetIds(Collection<String> subnetIds)
 The Amazon EC2 subnet IDs for the subnet group. 
 | 
ModifyDBSubnetGroupRequest | 
withSubnetIds(String... subnetIds)
 The Amazon 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 setDBSubnetGroupName(String dBSubnetGroupName)
The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.
 Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
 
 Example: mySubnetgroup
 
dBSubnetGroupName - The name for the subnet group. This value is stored as a lowercase string. You can't modify the default
        subnet group. 
        
        Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
        
        Example: mySubnetgroup
public String getDBSubnetGroupName()
The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.
 Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
 
 Example: mySubnetgroup
 
         Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
         
         Example: mySubnetgroup
public ModifyDBSubnetGroupRequest withDBSubnetGroupName(String dBSubnetGroupName)
The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.
 Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
 
 Example: mySubnetgroup
 
dBSubnetGroupName - The name for the subnet group. This value is stored as a lowercase string. You can't modify the default
        subnet group. 
        
        Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
        
        Example: mySubnetgroup
public void setDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the subnet group.
dBSubnetGroupDescription - The description for the subnet group.public String getDBSubnetGroupDescription()
The description for the subnet group.
public ModifyDBSubnetGroupRequest withDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the subnet group.
dBSubnetGroupDescription - The description for the subnet group.public List<String> getSubnetIds()
The Amazon EC2 subnet IDs for the subnet group.
public void setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the subnet group.
subnetIds - The Amazon EC2 subnet IDs for the subnet group.public ModifyDBSubnetGroupRequest withSubnetIds(String... subnetIds)
The Amazon 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 Amazon EC2 subnet IDs for the subnet group.public ModifyDBSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the subnet group.
subnetIds - The Amazon EC2 subnet IDs for the subnet group.public String toString()
toString in class ObjectObject.toString()public ModifyDBSubnetGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()