public class Subnet extends Object implements Serializable
This data type is used as a response element in the DescribeDBSubnetGroups action.
Constructor and Description |
---|
Subnet() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AvailabilityZone |
getSubnetAvailabilityZone()
Contains Availability Zone information.
|
String |
getSubnetIdentifier()
Specifies the identifier of the subnet.
|
String |
getSubnetStatus()
Specifies the status of the subnet.
|
int |
hashCode() |
void |
setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Contains Availability Zone information.
|
void |
setSubnetIdentifier(String subnetIdentifier)
Specifies the identifier of the subnet.
|
void |
setSubnetStatus(String subnetStatus)
Specifies the status of the subnet.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Subnet |
withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Contains Availability Zone information.
|
Subnet |
withSubnetIdentifier(String subnetIdentifier)
Specifies the identifier of the subnet.
|
Subnet |
withSubnetStatus(String subnetStatus)
Specifies the status of the subnet.
|
public String getSubnetIdentifier()
public void setSubnetIdentifier(String subnetIdentifier)
subnetIdentifier
- Specifies the identifier of the subnet.public Subnet withSubnetIdentifier(String subnetIdentifier)
Returns a reference to this object so that method calls can be chained together.
subnetIdentifier
- Specifies the identifier of the subnet.public AvailabilityZone getSubnetAvailabilityZone()
This data type is used as an element in the following data type:
This data type is used as an element in the following data type:
public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
This data type is used as an element in the following data type:
subnetAvailabilityZone
- Contains Availability Zone information. This data type is used as an element in the following data type:
public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
This data type is used as an element in the following data type:
Returns a reference to this object so that method calls can be chained together.
subnetAvailabilityZone
- Contains Availability Zone information. This data type is used as an element in the following data type:
public String getSubnetStatus()
public void setSubnetStatus(String subnetStatus)
subnetStatus
- Specifies the status of the subnet.public Subnet withSubnetStatus(String subnetStatus)
Returns a reference to this object so that method calls can be chained together.
subnetStatus
- Specifies the status of the subnet.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.