public class ReplicationSubnetGroup
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
replicationSubnetGroupDescription
The description of the replication subnet group.
|
private java.lang.String |
replicationSubnetGroupIdentifier
The identifier of the replication instance subnet group.
|
private java.lang.String |
subnetGroupStatus
The status of the subnet group.
|
private java.util.List<Subnet> |
subnets
The subnets that are in the subnet group.
|
private java.lang.String |
vpcId
The ID of the VPC.
|
Constructor and Description |
---|
ReplicationSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
ReplicationSubnetGroup |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getReplicationSubnetGroupDescription()
The description of the replication subnet group.
|
java.lang.String |
getReplicationSubnetGroupIdentifier()
The identifier of the replication instance subnet group.
|
java.lang.String |
getSubnetGroupStatus()
The status of the subnet group.
|
java.util.List<Subnet> |
getSubnets()
The subnets that are in the subnet group.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setReplicationSubnetGroupDescription(java.lang.String replicationSubnetGroupDescription)
The description of the replication subnet group.
|
void |
setReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
The identifier of the replication instance subnet group.
|
void |
setSubnetGroupStatus(java.lang.String subnetGroupStatus)
The status of the subnet group.
|
void |
setSubnets(java.util.Collection<Subnet> subnets)
The subnets that are in the subnet group.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicationSubnetGroup |
withReplicationSubnetGroupDescription(java.lang.String replicationSubnetGroupDescription)
The description of the replication subnet group.
|
ReplicationSubnetGroup |
withReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
The identifier of the replication instance subnet group.
|
ReplicationSubnetGroup |
withSubnetGroupStatus(java.lang.String subnetGroupStatus)
The status of the subnet group.
|
ReplicationSubnetGroup |
withSubnets(java.util.Collection<Subnet> subnets)
The subnets that are in the subnet group.
|
ReplicationSubnetGroup |
withSubnets(Subnet... subnets)
The subnets that are in the subnet group.
|
ReplicationSubnetGroup |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
private java.lang.String replicationSubnetGroupIdentifier
The identifier of the replication instance subnet group.
private java.lang.String replicationSubnetGroupDescription
The description of the replication subnet group.
private java.lang.String vpcId
The ID of the VPC.
private java.lang.String subnetGroupStatus
The status of the subnet group.
private java.util.List<Subnet> subnets
The subnets that are in the subnet group.
public void setReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
The identifier of the replication instance subnet group.
replicationSubnetGroupIdentifier
- The identifier of the replication instance subnet group.public java.lang.String getReplicationSubnetGroupIdentifier()
The identifier of the replication instance subnet group.
public ReplicationSubnetGroup withReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
The identifier of the replication instance subnet group.
replicationSubnetGroupIdentifier
- The identifier of the replication instance subnet group.public void setReplicationSubnetGroupDescription(java.lang.String replicationSubnetGroupDescription)
The description of the replication subnet group.
replicationSubnetGroupDescription
- The description of the replication subnet group.public java.lang.String getReplicationSubnetGroupDescription()
The description of the replication subnet group.
public ReplicationSubnetGroup withReplicationSubnetGroupDescription(java.lang.String replicationSubnetGroupDescription)
The description of the replication subnet group.
replicationSubnetGroupDescription
- The description of the replication subnet group.public void setVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public java.lang.String getVpcId()
The ID of the VPC.
public ReplicationSubnetGroup withVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setSubnetGroupStatus(java.lang.String subnetGroupStatus)
The status of the subnet group.
subnetGroupStatus
- The status of the subnet group.public java.lang.String getSubnetGroupStatus()
The status of the subnet group.
public ReplicationSubnetGroup withSubnetGroupStatus(java.lang.String subnetGroupStatus)
The status of the subnet group.
subnetGroupStatus
- The status of the subnet group.public java.util.List<Subnet> getSubnets()
The subnets that are in the subnet group.
public void setSubnets(java.util.Collection<Subnet> subnets)
The subnets that are in the subnet group.
subnets
- The subnets that are in the subnet group.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.
subnets
- The subnets that are in the subnet group.public ReplicationSubnetGroup withSubnets(java.util.Collection<Subnet> subnets)
The subnets that are in the subnet group.
subnets
- The subnets that are in the subnet group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ReplicationSubnetGroup clone()
clone
in class java.lang.Object