public class CreateDBSubnetGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dBSubnetGroupDescription
The description for the DB subnet group.
|
private java.lang.String |
dBSubnetGroupName
The name for the DB subnet group.
|
private SdkInternalList<java.lang.String> |
subnetIds
The EC2 Subnet IDs for the DB subnet group.
|
private SdkInternalList<Tag> |
tags |
NOOP
Constructor and Description |
---|
CreateDBSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDBSubnetGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDBSubnetGroupDescription()
The description for the DB subnet group.
|
java.lang.String |
getDBSubnetGroupName()
The name for the DB subnet group.
|
java.util.List<java.lang.String> |
getSubnetIds()
The EC2 Subnet IDs for the DB subnet group.
|
java.util.List<Tag> |
getTags() |
int |
hashCode() |
void |
setDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB subnet group.
|
void |
setDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name for the DB subnet group.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 Subnet IDs for the DB subnet group.
|
void |
setTags(java.util.Collection<Tag> tags) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDBSubnetGroupRequest |
withDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB subnet group.
|
CreateDBSubnetGroupRequest |
withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name for the DB subnet group.
|
CreateDBSubnetGroupRequest |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 Subnet IDs for the DB subnet group.
|
CreateDBSubnetGroupRequest |
withSubnetIds(java.lang.String... subnetIds)
The EC2 Subnet IDs for the DB subnet group.
|
CreateDBSubnetGroupRequest |
withTags(java.util.Collection<Tag> tags) |
CreateDBSubnetGroupRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any).
|
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
private java.lang.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
private java.lang.String dBSubnetGroupDescription
The description for the DB subnet group.
private SdkInternalList<java.lang.String> subnetIds
The EC2 Subnet IDs for the DB subnet group.
private SdkInternalList<Tag> tags
public void setDBSubnetGroupName(java.lang.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
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
public java.lang.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
Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
public CreateDBSubnetGroupRequest withDBSubnetGroupName(java.lang.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
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
public void setDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB subnet group.
dBSubnetGroupDescription
- The description for the DB subnet group.public java.lang.String getDBSubnetGroupDescription()
The description for the DB subnet group.
public CreateDBSubnetGroupRequest withDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
The description for the DB subnet group.
dBSubnetGroupDescription
- The description for the DB subnet group.public java.util.List<java.lang.String> getSubnetIds()
The EC2 Subnet IDs for the DB subnet group.
public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 Subnet IDs for the DB subnet group.
subnetIds
- The EC2 Subnet IDs for the DB subnet group.public CreateDBSubnetGroupRequest withSubnetIds(java.lang.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(java.util.Collection<java.lang.String> subnetIds)
The EC2 Subnet IDs for the DB subnet group.
subnetIds
- The EC2 Subnet IDs for the DB subnet group.public java.util.List<Tag> getTags()
public void setTags(java.util.Collection<Tag> tags)
tags
- public CreateDBSubnetGroupRequest withTags(Tag... tags)
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
- public CreateDBSubnetGroupRequest withTags(java.util.Collection<Tag> tags)
tags
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateDBSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()