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 ReplicationSubnetGroup
clone()
boolean
equals(Object obj)
String
getReplicationSubnetGroupDescription()
The description of the replication subnet group.String
getReplicationSubnetGroupIdentifier()
The identifier of the replication instance subnet group.String
getSubnetGroupStatus()
The status of the subnet group.List<Subnet>
getSubnets()
The subnets that are in the subnet group.String
getVpcId()
The ID of the VPC.int
hashCode()
void
setReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
The description of the replication subnet group.void
setReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
The identifier of the replication instance subnet group.void
setSubnetGroupStatus(String subnetGroupStatus)
The status of the subnet group.void
setSubnets(Collection<Subnet> subnets)
The subnets that are in the subnet group.void
setVpcId(String vpcId)
The ID of the VPC.String
toString()
Returns a string representation of this object; useful for testing and debugging.ReplicationSubnetGroup
withReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
The description of the replication subnet group.ReplicationSubnetGroup
withReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
The identifier of the replication instance subnet group.ReplicationSubnetGroup
withSubnetGroupStatus(String subnetGroupStatus)
The status of the subnet group.ReplicationSubnetGroup
withSubnets(Subnet... subnets)
The subnets that are in the subnet group.ReplicationSubnetGroup
withSubnets(Collection<Subnet> subnets)
The subnets that are in the subnet group.ReplicationSubnetGroup
withVpcId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReplicationSubnetGroup clone()
-
-