@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRdsDbSubnetGroup extends Object implements Serializable, Cloneable, StructuredPojo
Information about the subnet group for the database instance.
| Constructor and Description |
|---|
AwsRdsDbSubnetGroup() |
| Modifier and Type | Method and Description |
|---|---|
AwsRdsDbSubnetGroup |
clone() |
boolean |
equals(Object obj) |
String |
getDbSubnetGroupArn()
The ARN of the subnet group.
|
String |
getDbSubnetGroupDescription()
The description of the subnet group.
|
String |
getDbSubnetGroupName()
The name of the subnet group.
|
String |
getSubnetGroupStatus()
The status of the subnet group.
|
List<AwsRdsDbSubnetGroupSubnet> |
getSubnets()
A list of subnets in the subnet group.
|
String |
getVpcId()
The VPC ID of the subnet group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDbSubnetGroupArn(String dbSubnetGroupArn)
The ARN of the subnet group.
|
void |
setDbSubnetGroupDescription(String dbSubnetGroupDescription)
The description of the subnet group.
|
void |
setDbSubnetGroupName(String dbSubnetGroupName)
The name of the subnet group.
|
void |
setSubnetGroupStatus(String subnetGroupStatus)
The status of the subnet group.
|
void |
setSubnets(Collection<AwsRdsDbSubnetGroupSubnet> subnets)
A list of subnets in the subnet group.
|
void |
setVpcId(String vpcId)
The VPC ID of the subnet group.
|
String |
toString()
Returns a string representation of this object.
|
AwsRdsDbSubnetGroup |
withDbSubnetGroupArn(String dbSubnetGroupArn)
The ARN of the subnet group.
|
AwsRdsDbSubnetGroup |
withDbSubnetGroupDescription(String dbSubnetGroupDescription)
The description of the subnet group.
|
AwsRdsDbSubnetGroup |
withDbSubnetGroupName(String dbSubnetGroupName)
The name of the subnet group.
|
AwsRdsDbSubnetGroup |
withSubnetGroupStatus(String subnetGroupStatus)
The status of the subnet group.
|
AwsRdsDbSubnetGroup |
withSubnets(AwsRdsDbSubnetGroupSubnet... subnets)
A list of subnets in the subnet group.
|
AwsRdsDbSubnetGroup |
withSubnets(Collection<AwsRdsDbSubnetGroupSubnet> subnets)
A list of subnets in the subnet group.
|
AwsRdsDbSubnetGroup |
withVpcId(String vpcId)
The VPC ID of the subnet group.
|
public void setDbSubnetGroupName(String dbSubnetGroupName)
The name of the subnet group.
dbSubnetGroupName - The name of the subnet group.public String getDbSubnetGroupName()
The name of the subnet group.
public AwsRdsDbSubnetGroup withDbSubnetGroupName(String dbSubnetGroupName)
The name of the subnet group.
dbSubnetGroupName - The name of the subnet group.public void setDbSubnetGroupDescription(String dbSubnetGroupDescription)
The description of the subnet group.
dbSubnetGroupDescription - The description of the subnet group.public String getDbSubnetGroupDescription()
The description of the subnet group.
public AwsRdsDbSubnetGroup withDbSubnetGroupDescription(String dbSubnetGroupDescription)
The description of the subnet group.
dbSubnetGroupDescription - The description of the subnet group.public void setVpcId(String vpcId)
The VPC ID of the subnet group.
vpcId - The VPC ID of the subnet group.public String getVpcId()
The VPC ID of the subnet group.
public AwsRdsDbSubnetGroup withVpcId(String vpcId)
The VPC ID of the subnet group.
vpcId - The VPC ID of the subnet group.public void setSubnetGroupStatus(String subnetGroupStatus)
The status of the subnet group.
subnetGroupStatus - The status of the subnet group.public String getSubnetGroupStatus()
The status of the subnet group.
public AwsRdsDbSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)
The status of the subnet group.
subnetGroupStatus - The status of the subnet group.public List<AwsRdsDbSubnetGroupSubnet> getSubnets()
A list of subnets in the subnet group.
public void setSubnets(Collection<AwsRdsDbSubnetGroupSubnet> subnets)
A list of subnets in the subnet group.
subnets - A list of subnets in the subnet group.public AwsRdsDbSubnetGroup withSubnets(AwsRdsDbSubnetGroupSubnet... subnets)
A list of subnets in the subnet group.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection) or withSubnets(java.util.Collection) if you want to override
the existing values.
subnets - A list of subnets in the subnet group.public AwsRdsDbSubnetGroup withSubnets(Collection<AwsRdsDbSubnetGroupSubnet> subnets)
A list of subnets in the subnet group.
subnets - A list of subnets in the subnet group.public void setDbSubnetGroupArn(String dbSubnetGroupArn)
The ARN of the subnet group.
dbSubnetGroupArn - The ARN of the subnet group.public String getDbSubnetGroupArn()
The ARN of the subnet group.
public AwsRdsDbSubnetGroup withDbSubnetGroupArn(String dbSubnetGroupArn)
The ARN of the subnet group.
dbSubnetGroupArn - The ARN of the subnet group.public String toString()
toString in class ObjectObject.toString()public AwsRdsDbSubnetGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.