|
Did this page help you?Yes No Tell us about it... |
||||||
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. |
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. |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
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 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 |