public class ModifyDBSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable
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.
| Constructor and Description |
|---|
ModifyDBSubnetGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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)
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()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.