@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyDBSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 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.
|
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.
|
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, withSdkRequestTimeout
public void setDBSubnetGroupName(String dBSubnetGroupName)
The name for the DB 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 DB 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 DB 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 DB 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 DB 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 DB subnet group.
dBSubnetGroupDescription
- The description for the DB subnet group.public String getDBSubnetGroupDescription()
The description for the DB subnet group.
public ModifyDBSubnetGroupRequest withDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the DB subnet group.
dBSubnetGroupDescription
- The description for the DB subnet group.public List<String> getSubnetIds()
The EC2 subnet IDs for the DB subnet group.
public void setSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
subnetIds
- The EC2 subnet IDs for the DB subnet group.public ModifyDBSubnetGroupRequest withSubnetIds(String... subnetIds)
The EC2 subnet IDs for the DB 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 DB subnet group.public ModifyDBSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
subnetIds
- The EC2 subnet IDs for the DB subnet group.public String toString()
toString
in class Object
Object.toString()
public ModifyDBSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()