@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateReplicationSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateReplicationSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateReplicationSubnetGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getReplicationSubnetGroupDescription()
The description for the subnet group.
|
String |
getReplicationSubnetGroupIdentifier()
The name for the replication subnet group.
|
List<String> |
getSubnetIds()
Two or more subnet IDs to be assigned to the subnet group.
|
List<Tag> |
getTags()
One or more tags to be assigned to the subnet group.
|
int |
hashCode() |
void |
setReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
The description for the subnet group.
|
void |
setReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
The name for the replication subnet group.
|
void |
setSubnetIds(Collection<String> subnetIds)
Two or more subnet IDs to be assigned to the subnet group.
|
void |
setTags(Collection<Tag> tags)
One or more tags to be assigned to the subnet group.
|
String |
toString()
Returns a string representation of this object.
|
CreateReplicationSubnetGroupRequest |
withReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
The description for the subnet group.
|
CreateReplicationSubnetGroupRequest |
withReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
The name for the replication subnet group.
|
CreateReplicationSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
Two or more subnet IDs to be assigned to the subnet group.
|
CreateReplicationSubnetGroupRequest |
withSubnetIds(String... subnetIds)
Two or more subnet IDs to be assigned to the subnet group.
|
CreateReplicationSubnetGroupRequest |
withTags(Collection<Tag> tags)
One or more tags to be assigned to the subnet group.
|
CreateReplicationSubnetGroupRequest |
withTags(Tag... tags)
One or more tags to be assigned to the subnet group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setReplicationSubnetGroupIdentifier(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 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(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(String replicationSubnetGroupDescription)
The description for the subnet group.
replicationSubnetGroupDescription
- The description for the subnet group.public String getReplicationSubnetGroupDescription()
The description for the subnet group.
public CreateReplicationSubnetGroupRequest withReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
The description for the subnet group.
replicationSubnetGroupDescription
- The description for the subnet group.public List<String> getSubnetIds()
Two or more subnet IDs to be assigned to the subnet group.
public void setSubnetIds(Collection<String> subnetIds)
Two or more subnet IDs to be assigned to the subnet group.
subnetIds
- Two or more subnet IDs to be assigned to the subnet group.public CreateReplicationSubnetGroupRequest withSubnetIds(String... subnetIds)
Two or more subnet IDs to be assigned to 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
- Two or more subnet IDs to be assigned to the subnet group.public CreateReplicationSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
Two or more subnet IDs to be assigned to the subnet group.
subnetIds
- Two or more subnet IDs to be assigned to the subnet group.public List<Tag> getTags()
One or more tags to be assigned to the subnet group.
public void setTags(Collection<Tag> tags)
One or more tags to be assigned to the subnet group.
tags
- One or more tags to be assigned to the subnet group.public CreateReplicationSubnetGroupRequest withTags(Tag... tags)
One or more tags 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
- One or more tags to be assigned to the subnet group.public CreateReplicationSubnetGroupRequest withTags(Collection<Tag> tags)
One or more tags to be assigned to the subnet group.
tags
- One or more tags to be assigned to the subnet group.public String toString()
toString
in class Object
Object.toString()
public CreateReplicationSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()