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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplicationSubnetGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationSubnetGroupclone()booleanequals(Object obj)StringgetReplicationSubnetGroupDescription()The description of the replication subnet group.StringgetReplicationSubnetGroupIdentifier()The identifier of the replication instance subnet group.StringgetSubnetGroupStatus()The status of the subnet group.List<Subnet>getSubnets()The subnets that are in the subnet group.StringgetVpcId()The ID of the VPC.inthashCode()voidsetReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)The description of the replication subnet group.voidsetReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)The identifier of the replication instance subnet group.voidsetSubnetGroupStatus(String subnetGroupStatus)The status of the subnet group.voidsetSubnets(Collection<Subnet> subnets)The subnets that are in the subnet group.voidsetVpcId(String vpcId)The ID of the VPC.StringtoString()Returns a string representation of this object; useful for testing and debugging.ReplicationSubnetGroupwithReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)The description of the replication subnet group.ReplicationSubnetGroupwithReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)The identifier of the replication instance subnet group.ReplicationSubnetGroupwithSubnetGroupStatus(String subnetGroupStatus)The status of the subnet group.ReplicationSubnetGroupwithSubnets(Subnet... subnets)The subnets that are in the subnet group.ReplicationSubnetGroupwithSubnets(Collection<Subnet> subnets)The subnets that are in the subnet group.ReplicationSubnetGroupwithVpcId(String vpcId)The ID of the VPC.
-
-
-
Method Detail
-
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)orwithSubnets(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReplicationSubnetGroup clone()
-
-