|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.CreateDBSubnetGroupRequest
public class CreateDBSubnetGroupRequest
Container for the parameters to the 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.
AmazonRDS.createDBSubnetGroup(CreateDBSubnetGroupRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateDBSubnetGroupRequest()
|
Method Summary | |
---|---|
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()
A list of tags. |
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)
A list of tags. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
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)
A list of tags. |
CreateDBSubnetGroupRequest |
withTags(Tag... tags)
A list of tags. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateDBSubnetGroupRequest()
Method Detail |
---|
public 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(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(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 String getDBSubnetGroupDescription()
public void setDBSubnetGroupDescription(String dBSubnetGroupDescription)
dBSubnetGroupDescription
- The description for the DB subnet group.public CreateDBSubnetGroupRequest withDBSubnetGroupDescription(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 List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- The EC2 Subnet IDs for the DB subnet group.public CreateDBSubnetGroupRequest withSubnetIds(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(Collection<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 List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- A list of tags.public CreateDBSubnetGroupRequest withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.
public CreateDBSubnetGroupRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |