Package com.amazonaws.services.rds.model
Class Subnet
- java.lang.Object
-
- com.amazonaws.services.rds.model.Subnet
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Subnet extends Object implements Serializable, Cloneable
This data type is used as a response element in the DescribeDBSubnetGroups action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Subnet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subnetclone()booleanequals(Object obj)AvailabilityZonegetSubnetAvailabilityZone()StringgetSubnetIdentifier()Specifies the identifier of the subnet.StringgetSubnetStatus()Specifies the status of the subnet.inthashCode()voidsetSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)voidsetSubnetIdentifier(String subnetIdentifier)Specifies the identifier of the subnet.voidsetSubnetStatus(String subnetStatus)Specifies the status of the subnet.StringtoString()Returns a string representation of this object; useful for testing and debugging.SubnetwithSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)SubnetwithSubnetIdentifier(String subnetIdentifier)Specifies the identifier of the subnet.SubnetwithSubnetStatus(String subnetStatus)Specifies the status of the subnet.
-
-
-
Method Detail
-
setSubnetIdentifier
public void setSubnetIdentifier(String subnetIdentifier)
Specifies the identifier of the subnet.
- Parameters:
subnetIdentifier- Specifies the identifier of the subnet.
-
getSubnetIdentifier
public String getSubnetIdentifier()
Specifies the identifier of the subnet.
- Returns:
- Specifies the identifier of the subnet.
-
withSubnetIdentifier
public Subnet withSubnetIdentifier(String subnetIdentifier)
Specifies the identifier of the subnet.
- Parameters:
subnetIdentifier- Specifies the identifier of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetAvailabilityZone
public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
- Parameters:
subnetAvailabilityZone-
-
getSubnetAvailabilityZone
public AvailabilityZone getSubnetAvailabilityZone()
- Returns:
-
withSubnetAvailabilityZone
public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
- Parameters:
subnetAvailabilityZone-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetStatus
public void setSubnetStatus(String subnetStatus)
Specifies the status of the subnet.
- Parameters:
subnetStatus- Specifies the status of the subnet.
-
getSubnetStatus
public String getSubnetStatus()
Specifies the status of the subnet.
- Returns:
- Specifies the status of the subnet.
-
withSubnetStatus
public Subnet withSubnetStatus(String subnetStatus)
Specifies the status of the subnet.
- Parameters:
subnetStatus- Specifies the status of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-