public class CreateReplicationSubnetGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
replicationSubnetGroupDescription
The description for the subnet group.
|
private java.lang.String |
replicationSubnetGroupIdentifier
The name for the replication subnet group.
|
private java.util.List<java.lang.String> |
subnetIds
The EC2 subnet IDs for the subnet group.
|
private java.util.List<Tag> |
tags
The tag to be assigned to the subnet group.
|
NOOP
Constructor and Description |
---|
CreateReplicationSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateReplicationSubnetGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getReplicationSubnetGroupDescription()
The description for the subnet group.
|
java.lang.String |
getReplicationSubnetGroupIdentifier()
The name for the replication subnet group.
|
java.util.List<java.lang.String> |
getSubnetIds()
The EC2 subnet IDs for the subnet group.
|
java.util.List<Tag> |
getTags()
The tag to be assigned to the subnet group.
|
int |
hashCode() |
void |
setReplicationSubnetGroupDescription(java.lang.String replicationSubnetGroupDescription)
The description for the subnet group.
|
void |
setReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
The name for the replication subnet group.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 subnet IDs for the subnet group.
|
void |
setTags(java.util.Collection<Tag> tags)
The tag to be assigned to the subnet group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateReplicationSubnetGroupRequest |
withReplicationSubnetGroupDescription(java.lang.String replicationSubnetGroupDescription)
The description for the subnet group.
|
CreateReplicationSubnetGroupRequest |
withReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
The name for the replication subnet group.
|
CreateReplicationSubnetGroupRequest |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 subnet IDs for the subnet group.
|
CreateReplicationSubnetGroupRequest |
withSubnetIds(java.lang.String... subnetIds)
The EC2 subnet IDs for the subnet group.
|
CreateReplicationSubnetGroupRequest |
withTags(java.util.Collection<Tag> tags)
The tag to be assigned to the subnet group.
|
CreateReplicationSubnetGroupRequest |
withTags(Tag... tags)
The tag to be assigned to the subnet group.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String replicationSubnetGroupIdentifier
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
private java.lang.String replicationSubnetGroupDescription
The description for the subnet group.
private java.util.List<java.lang.String> subnetIds
The EC2 subnet IDs for the subnet group.
private java.util.List<Tag> tags
The tag to be assigned to the subnet group.
public void setReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
replicationSubnetGroupIdentifier
- The name for the replication subnet group. This value is stored as
a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
public java.lang.String getReplicationSubnetGroupIdentifier()
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
public CreateReplicationSubnetGroupRequest withReplicationSubnetGroupIdentifier(java.lang.String replicationSubnetGroupIdentifier)
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
replicationSubnetGroupIdentifier
- The name for the replication subnet group. This value is stored as
a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
public void setReplicationSubnetGroupDescription(java.lang.String replicationSubnetGroupDescription)
The description for the subnet group.
replicationSubnetGroupDescription
- The description for the subnet group.public java.lang.String getReplicationSubnetGroupDescription()
The description for the subnet group.
public CreateReplicationSubnetGroupRequest withReplicationSubnetGroupDescription(java.lang.String replicationSubnetGroupDescription)
The description for the subnet group.
replicationSubnetGroupDescription
- The description for the subnet group.public java.util.List<java.lang.String> getSubnetIds()
The EC2 subnet IDs for the subnet group.
public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 subnet IDs for the subnet group.
subnetIds
- The EC2 subnet IDs for the subnet group.public CreateReplicationSubnetGroupRequest withSubnetIds(java.lang.String... subnetIds)
The EC2 subnet IDs for the subnet group.
NOTE: This method appends the values to the existing list (if
any). Use setSubnetIds(java.util.Collection)
or
withSubnetIds(java.util.Collection)
if you want to override the
existing values.
subnetIds
- The EC2 subnet IDs for the subnet group.public CreateReplicationSubnetGroupRequest withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
The EC2 subnet IDs for the subnet group.
subnetIds
- The EC2 subnet IDs for the subnet group.public java.util.List<Tag> getTags()
The tag to be assigned to the subnet group.
public void setTags(java.util.Collection<Tag> tags)
The tag to be assigned to the subnet group.
tags
- The tag to be assigned to the subnet group.public CreateReplicationSubnetGroupRequest withTags(Tag... tags)
The tag to be assigned to the subnet group.
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or
withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tag to be assigned to the subnet group.public CreateReplicationSubnetGroupRequest withTags(java.util.Collection<Tag> tags)
The tag to be assigned to the subnet group.
tags
- The tag to be assigned to 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 CreateReplicationSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()