java.lang.Object
com.amazonaws.services.databasemigrationservice.model.Subnet
All Implemented Interfaces:
Serializable, Cloneable

public class Subnet extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • Subnet

      public Subnet()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Subnet clone()
      Overrides:
      clone in class Object