@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDBSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input to CreateDBSubnetGroup.
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 subnet group.
|
String |
getDBSubnetGroupName()
The name for the subnet group.
|
List<String> |
getSubnetIds()
The Amazon EC2 subnet IDs for the subnet group.
|
List<Tag> |
getTags()
The tags to be assigned to the subnet group.
|
int |
hashCode() |
void |
setDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the subnet group.
|
void |
setDBSubnetGroupName(String dBSubnetGroupName)
The name for the subnet group.
|
void |
setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the subnet group.
|
void |
setTags(Collection<Tag> tags)
The tags to be assigned to the subnet group.
|
String |
toString()
Returns a string representation of this object.
|
CreateDBSubnetGroupRequest |
withDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the subnet group.
|
CreateDBSubnetGroupRequest |
withDBSubnetGroupName(String dBSubnetGroupName)
The name for the subnet group.
|
CreateDBSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the subnet group.
|
CreateDBSubnetGroupRequest |
withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the subnet group.
|
CreateDBSubnetGroupRequest |
withTags(Collection<Tag> tags)
The tags to be assigned to the subnet group.
|
CreateDBSubnetGroupRequest |
withTags(Tag... tags)
The tags to be assigned to the 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 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 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 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 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 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 subnet group.
dBSubnetGroupDescription
- The description for the subnet group.public String getDBSubnetGroupDescription()
The description for the subnet group.
public CreateDBSubnetGroupRequest withDBSubnetGroupDescription(String dBSubnetGroupDescription)
The description for the subnet group.
dBSubnetGroupDescription
- The description for the subnet group.public List<String> getSubnetIds()
The Amazon EC2 subnet IDs for the subnet group.
public void setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the subnet group.
subnetIds
- The Amazon EC2 subnet IDs for the subnet group.public CreateDBSubnetGroupRequest withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the 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 Amazon EC2 subnet IDs for the subnet group.public CreateDBSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the subnet group.
subnetIds
- The Amazon EC2 subnet IDs for the subnet group.public List<Tag> getTags()
The tags to be assigned to the subnet group.
public void setTags(Collection<Tag> tags)
The tags to be assigned to the subnet group.
tags
- The tags to be assigned to the subnet group.public CreateDBSubnetGroupRequest withTags(Tag... tags)
The tags to be assigned to the 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 subnet group.public CreateDBSubnetGroupRequest withTags(Collection<Tag> tags)
The tags to be assigned to the subnet group.
tags
- The tags to be assigned to the subnet group.public String toString()
toString
in class Object
Object.toString()
public CreateDBSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()