public class ModifyDBSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ModifyDBSubnetGroup operation.
Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region.
NOOP| Constructor and Description |
|---|
ModifyDBSubnetGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifyDBSubnetGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDBSubnetGroupDescription()
The description for the DB subnet group.
|
String |
getDBSubnetGroupName()
The name for the DB subnet group.
|
List<String> |
getSubnetIds()
The EC2 subnet IDs for the DB subnet group.
|
int |
hashCode() |
void |
setDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the DB subnet group.
|
void |
setDBSubnetGroupName(String dBSubnetGroupName)
The name for the DB subnet group.
|
void |
setSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyDBSubnetGroupRequest |
withDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the DB subnet group.
|
ModifyDBSubnetGroupRequest |
withDBSubnetGroupName(String dBSubnetGroupName)
The name for the DB subnet group.
|
ModifyDBSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
|
ModifyDBSubnetGroupRequest |
withSubnetIds(String... subnetIds)
The EC2 subnet IDs for the DB subnet group.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getDBSubnetGroupName()
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mySubnetgroup
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mySubnetgroup
public void setDBSubnetGroupName(String dBSubnetGroupName)
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mySubnetgroup
dBSubnetGroupName - The name for the DB subnet group. This value is stored as a lowercase
string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mySubnetgroup
public ModifyDBSubnetGroupRequest withDBSubnetGroupName(String dBSubnetGroupName)
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mySubnetgroup
Returns a reference to this object so that method calls can be chained together.
dBSubnetGroupName - The name for the DB subnet group. This value is stored as a lowercase
string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mySubnetgroup
public String getDBSubnetGroupDescription()
public void setDBSubnetGroupDescription(String dBSubnetGroupDescription)
dBSubnetGroupDescription - The description for the DB subnet group.public ModifyDBSubnetGroupRequest withDBSubnetGroupDescription(String dBSubnetGroupDescription)
Returns a reference to this object so that method calls can be chained together.
dBSubnetGroupDescription - The description for the DB subnet group.public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds - The EC2 subnet IDs for the DB subnet group.public ModifyDBSubnetGroupRequest withSubnetIds(String... subnetIds)
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.
Returns a reference to this object so that method calls can be chained together.
subnetIds - The EC2 subnet IDs for the DB subnet group.public ModifyDBSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds - The EC2 subnet IDs for the DB subnet group.public String toString()
toString in class ObjectObject.toString()public ModifyDBSubnetGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.