Class ModifyDBSubnetGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.ModifyDBSubnetGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ModifyDBSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyDBSubnetGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... subnetIds)
The EC2 subnet IDs for the DB subnet group.ModifyDBSubnetGroupRequest
withSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the DB subnet group.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setDBSubnetGroupName
public void setDBSubnetGroupName(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
- Parameters:
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
-
getDBSubnetGroupName
public 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
- Returns:
- 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
-
withDBSubnetGroupName
public ModifyDBSubnetGroupRequest withDBSubnetGroupName(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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBSubnetGroupDescription
public void setDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the DB subnet group.
- Parameters:
dBSubnetGroupDescription
- The description for the DB subnet group.
-
getDBSubnetGroupDescription
public String getDBSubnetGroupDescription()
The description for the DB subnet group.
- Returns:
- The description for the DB subnet group.
-
withDBSubnetGroupDescription
public ModifyDBSubnetGroupRequest withDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the DB subnet group.
- Parameters:
dBSubnetGroupDescription
- The description for the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnetIds
public List<String> getSubnetIds()
The EC2 subnet IDs for the DB subnet group.
- Returns:
- The EC2 subnet IDs for the DB subnet group.
-
setSubnetIds
public void setSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
- Parameters:
subnetIds
- The EC2 subnet IDs for the DB subnet group.
-
withSubnetIds
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)
orwithSubnetIds(java.util.Collection)
if you want to override the existing values.- Parameters:
subnetIds
- The EC2 subnet IDs for the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnetIds
public ModifyDBSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the DB subnet group.
- Parameters:
subnetIds
- The EC2 subnet IDs for the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyDBSubnetGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-