public class ModifyDBSubnetGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dBSubnetGroupDescription
The description for the DB subnet group.
|
private java.lang.String |
dBSubnetGroupName
The name for the DB subnet group.
|
private SdkInternalList<java.lang.String> |
subnetIds
The EC2 subnet IDs for the DB subnet group.
|
NOOP
Constructor and Description |
---|
ModifyDBSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyDBSubnetGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDBSubnetGroupDescription()
The description for the DB subnet group.
|
java.lang.String |
getDBSubnetGroupName()
The name for the DB subnet group.
|
java.util.List<java.lang.String> |
getSubnetIds()
The EC2 subnet IDs for the DB subnet group.
|
int |
hashCode() |
void |
setDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB subnet group.
|
void |
setDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name for the DB subnet group.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyDBSubnetGroupRequest |
withDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB subnet group.
|
ModifyDBSubnetGroupRequest |
withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name for the DB subnet group.
|
ModifyDBSubnetGroupRequest |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
|
ModifyDBSubnetGroupRequest |
withSubnetIds(java.lang.String... subnetIds)
The EC2 subnet IDs for the DB subnet group.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String 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, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
private java.lang.String dBSubnetGroupDescription
The description for the DB subnet group.
private SdkInternalList<java.lang.String> subnetIds
The EC2 subnet IDs for the DB subnet group.
public void setDBSubnetGroupName(java.lang.String 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, periods, underscores, spaces, 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, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
public java.lang.String getDBSubnetGroupName()
The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
public ModifyDBSubnetGroupRequest withDBSubnetGroupName(java.lang.String 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, periods, underscores, spaces, 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, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
public void setDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB subnet group.
dBSubnetGroupDescription
- The description for the DB subnet group.public java.lang.String getDBSubnetGroupDescription()
The description for the DB subnet group.
public ModifyDBSubnetGroupRequest withDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB subnet group.
dBSubnetGroupDescription
- The description for the DB subnet group.public java.util.List<java.lang.String> getSubnetIds()
The EC2 subnet IDs for the DB subnet group.
public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
subnetIds
- The EC2 subnet IDs for the DB subnet group.public ModifyDBSubnetGroupRequest withSubnetIds(java.lang.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(java.util.Collection<java.lang.String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
subnetIds
- The EC2 subnet IDs for the DB subnet group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ModifyDBSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()