@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDBSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDBSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDBSubnetGroupRequest |
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.
|
List<Tag> |
getTags()
The tags to be assigned to the new 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.
|
void |
setTags(Collection<Tag> tags)
The tags to be assigned to the new DB subnet group.
|
String |
toString()
Returns a string representation of this object.
|
CreateDBSubnetGroupRequest |
withDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the DB subnet group.
|
CreateDBSubnetGroupRequest |
withDBSubnetGroupName(String dBSubnetGroupName)
The name for the DB subnet group.
|
CreateDBSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
The EC2 Subnet IDs for the DB subnet group.
|
CreateDBSubnetGroupRequest |
withSubnetIds(String... subnetIds)
The EC2 Subnet IDs for the DB subnet group.
|
CreateDBSubnetGroupRequest |
withTags(Collection<Tag> tags)
The tags to be assigned to the new DB subnet group.
|
CreateDBSubnetGroupRequest |
withTags(Tag... tags)
The tags to be assigned to the new 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.
Constraints: Must contain no more than 255 letters, numbers, 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 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
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 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
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 letters, numbers, 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 letters, numbers, periods, underscores, spaces, or hyphens. 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 CreateDBSubnetGroupRequest 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 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)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The EC2 Subnet IDs for the DB subnet group.public CreateDBSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
The EC2 Subnet IDs for the DB subnet group.
subnetIds
- The EC2 Subnet IDs for the DB subnet group.public List<Tag> getTags()
The tags to be assigned to the new DB subnet group.
public void setTags(Collection<Tag> tags)
The tags to be assigned to the new DB subnet group.
tags
- The tags to be assigned to the new DB subnet group.public CreateDBSubnetGroupRequest withTags(Tag... tags)
The tags to be assigned to the new DB subnet group.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags to be assigned to the new DB subnet group.public CreateDBSubnetGroupRequest withTags(Collection<Tag> tags)
The tags to be assigned to the new DB subnet group.
tags
- The tags to be assigned to the new DB subnet group.public String toString()
toString
in class Object
Object.toString()
public CreateDBSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()