Class CreateReplicationSubnetGroupRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The description for the subnet group.The name for the replication subnet group.The EC2 subnet IDs for the subnet group.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.toString()
Returns a string representation of this object; useful for testing and debugging.withReplicationSubnetGroupDescription
(String replicationSubnetGroupDescription) The description for the subnet group.withReplicationSubnetGroupIdentifier
(String replicationSubnetGroupIdentifier) The name for the replication subnet group.withSubnetIds
(String... subnetIds) The EC2 subnet IDs for the subnet group.withSubnetIds
(Collection<String> subnetIds) The EC2 subnet IDs for the subnet group.The tag to be assigned to the subnet group.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
-
Constructor Details
-
CreateReplicationSubnetGroupRequest
public CreateReplicationSubnetGroupRequest()
-
-
Method Details
-
setReplicationSubnetGroupIdentifier
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
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
The description for the subnet group.
- Parameters:
replicationSubnetGroupDescription
- The description for the subnet group.
-
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
The EC2 subnet IDs for the subnet group.
- Returns:
- The EC2 subnet IDs for the subnet group.
-
setSubnetIds
The EC2 subnet IDs for the subnet group.
- Parameters:
subnetIds
- The EC2 subnet IDs for the subnet group.
-
withSubnetIds
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
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
The tag to be assigned to the subnet group.
- Returns:
- The tag to be assigned to the subnet group.
-
setTags
The tag to be assigned to the subnet group.
- Parameters:
tags
- The tag to be assigned to the subnet group.
-
withTags
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-