Class ReplicationSubnetGroup

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

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

    • ReplicationSubnetGroup

      public ReplicationSubnetGroup()
  • Method Details

    • setReplicationSubnetGroupIdentifier

      public void setReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)

      The identifier of the replication instance subnet group.

      Parameters:
      replicationSubnetGroupIdentifier - The identifier of the replication instance subnet group.
    • getReplicationSubnetGroupIdentifier

      public String getReplicationSubnetGroupIdentifier()

      The identifier of the replication instance subnet group.

      Returns:
      The identifier of the replication instance subnet group.
    • withReplicationSubnetGroupIdentifier

      public ReplicationSubnetGroup withReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)

      The identifier of the replication instance subnet group.

      Parameters:
      replicationSubnetGroupIdentifier - The identifier of the replication instance subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReplicationSubnetGroupDescription

      public void setReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)

      The description of the replication subnet group.

      Parameters:
      replicationSubnetGroupDescription - The description of the replication subnet group.
    • getReplicationSubnetGroupDescription

      public String getReplicationSubnetGroupDescription()

      The description of the replication subnet group.

      Returns:
      The description of the replication subnet group.
    • withReplicationSubnetGroupDescription

      public ReplicationSubnetGroup withReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)

      The description of the replication subnet group.

      Parameters:
      replicationSubnetGroupDescription - The description of the replication subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVpcId

      public void setVpcId(String vpcId)

      The ID of the VPC.

      Parameters:
      vpcId - The ID of the VPC.
    • getVpcId

      public String getVpcId()

      The ID of the VPC.

      Returns:
      The ID of the VPC.
    • withVpcId

      public ReplicationSubnetGroup withVpcId(String vpcId)

      The ID of the VPC.

      Parameters:
      vpcId - The ID of the VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSubnetGroupStatus

      public void setSubnetGroupStatus(String subnetGroupStatus)

      The status of the subnet group.

      Parameters:
      subnetGroupStatus - The status of the subnet group.
    • getSubnetGroupStatus

      public String getSubnetGroupStatus()

      The status of the subnet group.

      Returns:
      The status of the subnet group.
    • withSubnetGroupStatus

      public ReplicationSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)

      The status of the subnet group.

      Parameters:
      subnetGroupStatus - The status of the subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getSubnets

      public List<Subnet> getSubnets()

      The subnets that are in the subnet group.

      Returns:
      The subnets that are in the subnet group.
    • setSubnets

      public void setSubnets(Collection<Subnet> subnets)

      The subnets that are in the subnet group.

      Parameters:
      subnets - The subnets that are in the subnet group.
    • withSubnets

      public ReplicationSubnetGroup withSubnets(Subnet... subnets)

      The subnets that are in the subnet group.

      NOTE: This method appends the values to the existing list (if any). Use setSubnets(java.util.Collection) or withSubnets(java.util.Collection) if you want to override the existing values.

      Parameters:
      subnets - The subnets that are in the subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withSubnets

      public ReplicationSubnetGroup withSubnets(Collection<Subnet> subnets)

      The subnets that are in the subnet group.

      Parameters:
      subnets - The subnets that are in the subnet group.
      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 ReplicationSubnetGroup clone()
      Overrides:
      clone in class Object