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 Subnet
clone()
boolean
equals(Object obj)
AvailabilityZone
getSubnetAvailabilityZone()
The Availability Zone of the subnet.String
getSubnetIdentifier()
The subnet identifier.String
getSubnetStatus()
The status of the subnet.int
hashCode()
void
setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.void
setSubnetIdentifier(String subnetIdentifier)
The subnet identifier.void
setSubnetStatus(String subnetStatus)
The status of the subnet.String
toString()
Returns a string representation of this object; useful for testing and debugging.Subnet
withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.Subnet
withSubnetIdentifier(String subnetIdentifier)
The subnet identifier.Subnet
withSubnetStatus(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-