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 Subnet
clone()
boolean
equals(Object obj)
AvailabilityZone
getSubnetAvailabilityZone()
String
getSubnetIdentifier()
Specifies the identifier of the subnet.String
getSubnetStatus()
Specifies the status of the subnet.int
hashCode()
void
setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
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)
Subnet
withSubnetIdentifier(String subnetIdentifier)
Specifies the identifier of the subnet.Subnet
withSubnetStatus(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-