Class CreateDBSubnetGroupRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The description for the DB subnet group.The name for the DB subnet group.The EC2 Subnet IDs for the DB subnet group.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) toString()
Returns a string representation of this object; useful for testing and debugging.withDBSubnetGroupDescription
(String dBSubnetGroupDescription) The description for the DB subnet group.withDBSubnetGroupName
(String dBSubnetGroupName) The name for the DB subnet group.withSubnetIds
(String... subnetIds) The EC2 Subnet IDs for the DB subnet group.withSubnetIds
(Collection<String> subnetIds) The EC2 Subnet IDs for the DB subnet group.NOTE: This method appends the values to the existing list (if any).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
-
Constructor Details
-
CreateDBSubnetGroupRequest
public CreateDBSubnetGroupRequest()
-
-
Method Details
-
setDBSubnetGroupName
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
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
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
The description for the DB subnet group.
- Parameters:
dBSubnetGroupDescription
- The description for the DB subnet group.
-
getDBSubnetGroupDescription
The description for the DB subnet group.
- Returns:
- The description for the DB subnet group.
-
withDBSubnetGroupDescription
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
The EC2 Subnet IDs for the DB subnet group.
- Returns:
- The EC2 Subnet IDs for the DB subnet group.
-
setSubnetIds
The EC2 Subnet IDs for the DB subnet group.
- Parameters:
subnetIds
- The EC2 Subnet IDs for the DB subnet group.
-
withSubnetIds
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
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.
-
getTags
- Returns:
-
setTags
- Parameters:
tags
-
-
withTags
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
- Parameters:
tags
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-