Class CreateReplicationSubnetGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.databasemigrationservice.model.CreateReplicationSubnetGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateReplicationSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateReplicationSubnetGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateReplicationSubnetGroupRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getReplicationSubnetGroupDescription()
The description for the subnet group.String
getReplicationSubnetGroupIdentifier()
The name for the replication subnet group.List<String>
getSubnetIds()
The EC2 subnet IDs for the subnet group.List<Tag>
getTags()
The tag 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)
The EC2 subnet IDs for the subnet group.void
setTags(Collection<Tag> tags)
The tag to be assigned to the subnet group.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateReplicationSubnetGroupRequest
withReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
The description for the subnet group.CreateReplicationSubnetGroupRequest
withReplicationSubnetGroupIdentifier(String replicationSubnetGroupIdentifier)
The name for the replication subnet group.CreateReplicationSubnetGroupRequest
withSubnetIds(String... subnetIds)
The EC2 subnet IDs for the subnet group.CreateReplicationSubnetGroupRequest
withSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the subnet group.CreateReplicationSubnetGroupRequest
withTags(Tag... tags)
The tag to be assigned to the subnet group.CreateReplicationSubnetGroupRequest
withTags(Collection<Tag> tags)
The tag to be assigned to the subnet group.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setReplicationSubnetGroupIdentifier
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
- Parameters:
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
-
getReplicationSubnetGroupIdentifier
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
- Returns:
- 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
-
withReplicationSubnetGroupIdentifier
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReplicationSubnetGroupDescription
public void setReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
The description for the subnet group.
- Parameters:
replicationSubnetGroupDescription
- The description for the subnet group.
-
getReplicationSubnetGroupDescription
public String getReplicationSubnetGroupDescription()
The description for the subnet group.
- Returns:
- The description for the subnet group.
-
withReplicationSubnetGroupDescription
public CreateReplicationSubnetGroupRequest withReplicationSubnetGroupDescription(String replicationSubnetGroupDescription)
The description for the subnet group.
- Parameters:
replicationSubnetGroupDescription
- The description for the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnetIds
public List<String> getSubnetIds()
The EC2 subnet IDs for the subnet group.
- Returns:
- The EC2 subnet IDs for the subnet group.
-
setSubnetIds
public void setSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the subnet group.
- Parameters:
subnetIds
- The EC2 subnet IDs for the subnet group.
-
withSubnetIds
public CreateReplicationSubnetGroupRequest withSubnetIds(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)
orwithSubnetIds(java.util.Collection)
if you want to override the existing values.- Parameters:
subnetIds
- The EC2 subnet IDs for the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnetIds
public CreateReplicationSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
The EC2 subnet IDs for the subnet group.
- Parameters:
subnetIds
- The EC2 subnet IDs for the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
public List<Tag> getTags()
The tag to be assigned to the subnet group.
- Returns:
- The tag to be assigned to the subnet group.
-
setTags
public void setTags(Collection<Tag> tags)
The tag to be assigned to the subnet group.
- Parameters:
tags
- The tag to be assigned to the subnet group.
-
withTags
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)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- The tag to be assigned to the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
public CreateReplicationSubnetGroupRequest withTags(Collection<Tag> tags)
The tag to be assigned to the subnet group.
- Parameters:
tags
- The tag to be assigned to 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 CreateReplicationSubnetGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-