Class CreateDBSubnetGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.CreateDBSubnetGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateDBSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateDBSubnetGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDBSubnetGroupRequest
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.List<Tag>
getTags()
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.void
setTags(Collection<Tag> tags)
String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateDBSubnetGroupRequest
withDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the DB subnet group.CreateDBSubnetGroupRequest
withDBSubnetGroupName(String dBSubnetGroupName)
The name for the DB subnet group.CreateDBSubnetGroupRequest
withSubnetIds(String... subnetIds)
The EC2 Subnet IDs for the DB subnet group.CreateDBSubnetGroupRequest
withSubnetIds(Collection<String> subnetIds)
The EC2 Subnet IDs for the DB subnet group.CreateDBSubnetGroupRequest
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).CreateDBSubnetGroupRequest
withTags(Collection<Tag> tags)
-
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 CreateDBSubnetGroupRequest 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 CreateDBSubnetGroupRequest 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 CreateDBSubnetGroupRequest 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 CreateDBSubnetGroupRequest 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.
-
setTags
public void setTags(Collection<Tag> tags)
- Parameters:
tags
-
-
withTags
public CreateDBSubnetGroupRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
public CreateDBSubnetGroupRequest withTags(Collection<Tag> tags)
- Parameters:
tags
-- 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 CreateDBSubnetGroupRequest 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()
-
-