Class Subnet
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.Subnet
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Subnet extends Object implements Serializable, Cloneable
- 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()The Availability Zone of the subnet.StringgetSubnetIdentifier()The subnet identifier.StringgetSubnetStatus()The status of the subnet.inthashCode()voidsetSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)The Availability Zone of the subnet.voidsetSubnetIdentifier(String subnetIdentifier)The subnet identifier.voidsetSubnetStatus(String subnetStatus)The status of the subnet.StringtoString()Returns a string representation of this object; useful for testing and debugging.SubnetwithSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)The Availability Zone of the subnet.SubnetwithSubnetIdentifier(String subnetIdentifier)The subnet identifier.SubnetwithSubnetStatus(String subnetStatus)The status of the subnet.
-
-
-
Method Detail
-
setSubnetIdentifier
public void setSubnetIdentifier(String subnetIdentifier)
The subnet identifier.
- Parameters:
subnetIdentifier- The subnet identifier.
-
getSubnetIdentifier
public String getSubnetIdentifier()
The subnet identifier.
- Returns:
- The subnet identifier.
-
withSubnetIdentifier
public Subnet withSubnetIdentifier(String subnetIdentifier)
The subnet identifier.
- Parameters:
subnetIdentifier- The subnet identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetAvailabilityZone
public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.
- Parameters:
subnetAvailabilityZone- The Availability Zone of the subnet.
-
getSubnetAvailabilityZone
public AvailabilityZone getSubnetAvailabilityZone()
The Availability Zone of the subnet.
- Returns:
- The Availability Zone of the subnet.
-
withSubnetAvailabilityZone
public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.
- Parameters:
subnetAvailabilityZone- The Availability Zone of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetStatus
public void setSubnetStatus(String subnetStatus)
The status of the subnet.
- Parameters:
subnetStatus- The status of the subnet.
-
getSubnetStatus
public String getSubnetStatus()
The status of the subnet.
- Returns:
- The status of the subnet.
-
withSubnetStatus
public Subnet withSubnetStatus(String subnetStatus)
The status of the subnet.
- Parameters:
subnetStatus- 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()
-
-