@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subnet extends Object implements Serializable, Cloneable
This data type is used as a response element for the DescribeDBSubnetGroups
operation.
Constructor and Description |
---|
Subnet() |
Modifier and Type | Method and Description |
---|---|
Subnet |
clone() |
boolean |
equals(Object obj) |
AvailabilityZone |
getSubnetAvailabilityZone() |
String |
getSubnetIdentifier()
The identifier of the subnet.
|
Outpost |
getSubnetOutpost()
If the subnet is associated with an Outpost, this value specifies the Outpost.
|
String |
getSubnetStatus()
The status of the subnet.
|
int |
hashCode() |
void |
setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) |
void |
setSubnetIdentifier(String subnetIdentifier)
The identifier of the subnet.
|
void |
setSubnetOutpost(Outpost subnetOutpost)
If the subnet is associated with an Outpost, this value specifies the Outpost.
|
void |
setSubnetStatus(String subnetStatus)
The status of the subnet.
|
String |
toString()
Returns a string representation of this object.
|
Subnet |
withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) |
Subnet |
withSubnetIdentifier(String subnetIdentifier)
The identifier of the subnet.
|
Subnet |
withSubnetOutpost(Outpost subnetOutpost)
If the subnet is associated with an Outpost, this value specifies the Outpost.
|
Subnet |
withSubnetStatus(String subnetStatus)
The status of the subnet.
|
public void setSubnetIdentifier(String subnetIdentifier)
The identifier of the subnet.
subnetIdentifier
- The identifier of the subnet.public String getSubnetIdentifier()
The identifier of the subnet.
public Subnet withSubnetIdentifier(String subnetIdentifier)
The identifier of the subnet.
subnetIdentifier
- The identifier of the subnet.public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
subnetAvailabilityZone
- public AvailabilityZone getSubnetAvailabilityZone()
public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
subnetAvailabilityZone
- public void setSubnetOutpost(Outpost subnetOutpost)
If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
subnetOutpost
- If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
public Outpost getSubnetOutpost()
If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
public Subnet withSubnetOutpost(Outpost subnetOutpost)
If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
subnetOutpost
- If the subnet is associated with an Outpost, this value specifies the Outpost.
For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.
public void setSubnetStatus(String subnetStatus)
The status of the subnet.
subnetStatus
- The status of the subnet.public String getSubnetStatus()
The status of the subnet.
public Subnet withSubnetStatus(String subnetStatus)
The status of the subnet.
subnetStatus
- The status of the subnet.public String toString()
toString
in class Object
Object.toString()