public class CreateDBSubnetGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateDBSubnetGroup operation.
Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region.
| コンストラクタと説明 |
|---|
CreateDBSubnetGroupRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
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.
|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getDBSubnetGroupName()
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mySubnetgroup
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mySubnetgroup
public void setDBSubnetGroupName(java.lang.String dBSubnetGroupName)
Constraints: Must contain no more than 255 alphanumeric characters 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 or hyphens. Must not be "Default".
Example:
mySubnetgroup
public CreateDBSubnetGroupRequest withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mySubnetgroup
Returns a reference to this object so that method calls can be chained together.
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 or hyphens. Must not be "Default".
Example:
mySubnetgroup
public java.lang.String getDBSubnetGroupDescription()
public void setDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
dBSubnetGroupDescription - The description for the DB Subnet Group.public CreateDBSubnetGroupRequest withDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
Returns a reference to this object so that method calls can be chained together.
dBSubnetGroupDescription - The description for the DB Subnet Group.public java.util.List<java.lang.String> getSubnetIds()
public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
subnetIds - The EC2 Subnet IDs for the DB Subnet Group.public CreateDBSubnetGroupRequest withSubnetIds(java.lang.String... subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds - The EC2 Subnet IDs for the DB Subnet Group.public CreateDBSubnetGroupRequest withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
Returns a reference to this object so that method calls can be chained together.
subnetIds - The EC2 Subnet IDs for the DB Subnet Group.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object