@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationSubnetGroup extends Object implements Serializable, Cloneable, StructuredPojo
Describes a subnet group in response to a request by the DescribeReplicationSubnetGroups
operation.
Constructor and Description |
---|
ReplicationSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
ReplicationSubnetGroup |
clone() |
boolean |
equals(Object obj) |
String |
getReplicationSubnetGroupDescription()
A description for 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
A description for 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.
|
ReplicationSubnetGroup |
withReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
A description for 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(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(String vpcId)
The ID of the VPC.
|
public void setReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
The identifier of the replication instance subnet group.
replicationSubnetGroupIdentifier
- The identifier of the replication instance subnet group.public String getReplicationSubnetGroupIdentifier()
The identifier of the replication instance subnet group.
public ReplicationSubnetGroup withReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
The identifier of the replication instance subnet group.
replicationSubnetGroupIdentifier
- The identifier of the replication instance subnet group.public void setReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
A description for the replication subnet group.
replicationSubnetGroupDescription
- A description for the replication subnet group.public String getReplicationSubnetGroupDescription()
A description for the replication subnet group.
public ReplicationSubnetGroup withReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
A description for the replication subnet group.
replicationSubnetGroupDescription
- A description for the replication subnet group.public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public ReplicationSubnetGroup withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setSubnetGroupStatus(String subnetGroupStatus)
The status of the subnet group.
subnetGroupStatus
- The status of the subnet group.public String getSubnetGroupStatus()
The status of the subnet group.
public ReplicationSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)
The status of the subnet group.
subnetGroupStatus
- The status of the subnet group.public List<Subnet> getSubnets()
The subnets that are in the subnet group.
public void setSubnets(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(Collection<Subnet> subnets)
The subnets that are in the subnet group.
subnets
- The subnets that are in the subnet group.public String toString()
toString
in class Object
Object.toString()
public ReplicationSubnetGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.