@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyDBClusterParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CopyDBClusterParameterGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CopyDBClusterParameterGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getSourceDBClusterParameterGroupIdentifier()
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group.
|
List<Tag> |
getTags()
The tags to be assigned to the copied DB cluster parameter group.
|
String |
getTargetDBClusterParameterGroupDescription()
A description for the copied DB cluster parameter group.
|
String |
getTargetDBClusterParameterGroupIdentifier()
The identifier for the copied DB cluster parameter group.
|
int |
hashCode() |
void |
setSourceDBClusterParameterGroupIdentifier(String sourceDBClusterParameterGroupIdentifier)
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group.
|
void |
setTags(Collection<Tag> tags)
The tags to be assigned to the copied DB cluster parameter group.
|
void |
setTargetDBClusterParameterGroupDescription(String targetDBClusterParameterGroupDescription)
A description for the copied DB cluster parameter group.
|
void |
setTargetDBClusterParameterGroupIdentifier(String targetDBClusterParameterGroupIdentifier)
The identifier for the copied DB cluster parameter group.
|
String |
toString()
Returns a string representation of this object.
|
CopyDBClusterParameterGroupRequest |
withSourceDBClusterParameterGroupIdentifier(String sourceDBClusterParameterGroupIdentifier)
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group.
|
CopyDBClusterParameterGroupRequest |
withTags(Collection<Tag> tags)
The tags to be assigned to the copied DB cluster parameter group.
|
CopyDBClusterParameterGroupRequest |
withTags(Tag... tags)
The tags to be assigned to the copied DB cluster parameter group.
|
CopyDBClusterParameterGroupRequest |
withTargetDBClusterParameterGroupDescription(String targetDBClusterParameterGroupDescription)
A description for the copied DB cluster parameter group.
|
CopyDBClusterParameterGroupRequest |
withTargetDBClusterParameterGroupIdentifier(String targetDBClusterParameterGroupIdentifier)
The identifier for the copied DB cluster parameter 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 setSourceDBClusterParameterGroupIdentifier(String sourceDBClusterParameterGroupIdentifier)
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB cluster parameter group.
If the source DB cluster parameter group is in the same Amazon Region as the copy, specify a valid DB parameter
group identifier, for example my-db-cluster-param-group
, or a valid ARN.
If the source DB parameter group is in a different Amazon Region than the copy, specify a valid DB cluster
parameter group ARN, for example arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1
.
sourceDBClusterParameterGroupIdentifier
- The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information
about creating an ARN, see
Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB cluster parameter group.
If the source DB cluster parameter group is in the same Amazon Region as the copy, specify a valid DB
parameter group identifier, for example my-db-cluster-param-group
, or a valid ARN.
If the source DB parameter group is in a different Amazon Region than the copy, specify a valid DB cluster
parameter group ARN, for example
arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1
.
public String getSourceDBClusterParameterGroupIdentifier()
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB cluster parameter group.
If the source DB cluster parameter group is in the same Amazon Region as the copy, specify a valid DB parameter
group identifier, for example my-db-cluster-param-group
, or a valid ARN.
If the source DB parameter group is in a different Amazon Region than the copy, specify a valid DB cluster
parameter group ARN, for example arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1
.
Constraints:
Must specify a valid DB cluster parameter group.
If the source DB cluster parameter group is in the same Amazon Region as the copy, specify a valid DB
parameter group identifier, for example my-db-cluster-param-group
, or a valid ARN.
If the source DB parameter group is in a different Amazon Region than the copy, specify a valid DB
cluster parameter group ARN, for example
arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1
.
public CopyDBClusterParameterGroupRequest withSourceDBClusterParameterGroupIdentifier(String sourceDBClusterParameterGroupIdentifier)
The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB cluster parameter group.
If the source DB cluster parameter group is in the same Amazon Region as the copy, specify a valid DB parameter
group identifier, for example my-db-cluster-param-group
, or a valid ARN.
If the source DB parameter group is in a different Amazon Region than the copy, specify a valid DB cluster
parameter group ARN, for example arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1
.
sourceDBClusterParameterGroupIdentifier
- The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information
about creating an ARN, see
Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB cluster parameter group.
If the source DB cluster parameter group is in the same Amazon Region as the copy, specify a valid DB
parameter group identifier, for example my-db-cluster-param-group
, or a valid ARN.
If the source DB parameter group is in a different Amazon Region than the copy, specify a valid DB cluster
parameter group ARN, for example
arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1
.
public void setTargetDBClusterParameterGroupIdentifier(String targetDBClusterParameterGroupIdentifier)
The identifier for the copied DB cluster parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster-param-group1
targetDBClusterParameterGroupIdentifier
- The identifier for the copied DB cluster parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster-param-group1
public String getTargetDBClusterParameterGroupIdentifier()
The identifier for the copied DB cluster parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster-param-group1
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster-param-group1
public CopyDBClusterParameterGroupRequest withTargetDBClusterParameterGroupIdentifier(String targetDBClusterParameterGroupIdentifier)
The identifier for the copied DB cluster parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster-param-group1
targetDBClusterParameterGroupIdentifier
- The identifier for the copied DB cluster parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster-param-group1
public void setTargetDBClusterParameterGroupDescription(String targetDBClusterParameterGroupDescription)
A description for the copied DB cluster parameter group.
targetDBClusterParameterGroupDescription
- A description for the copied DB cluster parameter group.public String getTargetDBClusterParameterGroupDescription()
A description for the copied DB cluster parameter group.
public CopyDBClusterParameterGroupRequest withTargetDBClusterParameterGroupDescription(String targetDBClusterParameterGroupDescription)
A description for the copied DB cluster parameter group.
targetDBClusterParameterGroupDescription
- A description for the copied DB cluster parameter group.public List<Tag> getTags()
The tags to be assigned to the copied DB cluster parameter group.
public void setTags(Collection<Tag> tags)
The tags to be assigned to the copied DB cluster parameter group.
tags
- The tags to be assigned to the copied DB cluster parameter group.public CopyDBClusterParameterGroupRequest withTags(Tag... tags)
The tags to be assigned to the copied DB cluster parameter 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 tags to be assigned to the copied DB cluster parameter group.public CopyDBClusterParameterGroupRequest withTags(Collection<Tag> tags)
The tags to be assigned to the copied DB cluster parameter group.
tags
- The tags to be assigned to the copied DB cluster parameter group.public String toString()
toString
in class Object
Object.toString()
public CopyDBClusterParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()