@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyDBClusterParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input to CopyDBClusterParameterGroup.
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 cluster parameter group.
|
List<Tag> |
getTags()
The tags that are to be assigned to the parameter group.
|
String |
getTargetDBClusterParameterGroupDescription()
A description for the copied cluster parameter group.
|
String |
getTargetDBClusterParameterGroupIdentifier()
The identifier for the copied cluster parameter group.
|
int |
hashCode() |
void |
setSourceDBClusterParameterGroupIdentifier(String sourceDBClusterParameterGroupIdentifier)
The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.
|
void |
setTags(Collection<Tag> tags)
The tags that are to be assigned to the parameter group.
|
void |
setTargetDBClusterParameterGroupDescription(String targetDBClusterParameterGroupDescription)
A description for the copied cluster parameter group.
|
void |
setTargetDBClusterParameterGroupIdentifier(String targetDBClusterParameterGroupIdentifier)
The identifier for the copied 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 cluster parameter group.
|
CopyDBClusterParameterGroupRequest |
withTags(Collection<Tag> tags)
The tags that are to be assigned to the parameter group.
|
CopyDBClusterParameterGroupRequest |
withTags(Tag... tags)
The tags that are to be assigned to the parameter group.
|
CopyDBClusterParameterGroupRequest |
withTargetDBClusterParameterGroupDescription(String targetDBClusterParameterGroupDescription)
A description for the copied cluster parameter group.
|
CopyDBClusterParameterGroupRequest |
withTargetDBClusterParameterGroupIdentifier(String targetDBClusterParameterGroupIdentifier)
The identifier for the copied 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 cluster parameter group.
Constraints:
Must specify a valid cluster parameter group.
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid
parameter group identifier; for example, my-db-cluster-param-group
, or a valid ARN.
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster
parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group
.
sourceDBClusterParameterGroupIdentifier
- The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.
Constraints:
Must specify a valid cluster parameter group.
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a
valid parameter group identifier; for example, my-db-cluster-param-group
, or a valid ARN.
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid
cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group
.
public String getSourceDBClusterParameterGroupIdentifier()
The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.
Constraints:
Must specify a valid cluster parameter group.
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid
parameter group identifier; for example, my-db-cluster-param-group
, or a valid ARN.
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster
parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group
.
Constraints:
Must specify a valid cluster parameter group.
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a
valid parameter group identifier; for example, my-db-cluster-param-group
, or a valid ARN.
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid
cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group
.
public CopyDBClusterParameterGroupRequest withSourceDBClusterParameterGroupIdentifier(String sourceDBClusterParameterGroupIdentifier)
The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.
Constraints:
Must specify a valid cluster parameter group.
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid
parameter group identifier; for example, my-db-cluster-param-group
, or a valid ARN.
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster
parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group
.
sourceDBClusterParameterGroupIdentifier
- The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.
Constraints:
Must specify a valid cluster parameter group.
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a
valid parameter group identifier; for example, my-db-cluster-param-group
, or a valid ARN.
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid
cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group
.
public void setTargetDBClusterParameterGroupIdentifier(String targetDBClusterParameterGroupIdentifier)
The identifier for the copied cluster parameter group.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 to 255 letters, numbers, or hyphens.
The 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 cluster parameter group.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 to 255 letters, numbers, or hyphens.
The 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 cluster parameter group.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 to 255 letters, numbers, or hyphens.
The 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.
The 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 cluster parameter group.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 to 255 letters, numbers, or hyphens.
The 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 cluster parameter group.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 to 255 letters, numbers, or hyphens.
The 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 cluster parameter group.
targetDBClusterParameterGroupDescription
- A description for the copied cluster parameter group.public String getTargetDBClusterParameterGroupDescription()
A description for the copied cluster parameter group.
public CopyDBClusterParameterGroupRequest withTargetDBClusterParameterGroupDescription(String targetDBClusterParameterGroupDescription)
A description for the copied cluster parameter group.
targetDBClusterParameterGroupDescription
- A description for the copied cluster parameter group.public List<Tag> getTags()
The tags that are to be assigned to the parameter group.
public void setTags(Collection<Tag> tags)
The tags that are to be assigned to the parameter group.
tags
- The tags that are to be assigned to the parameter group.public CopyDBClusterParameterGroupRequest withTags(Tag... tags)
The tags that are to be assigned to the 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 that are to be assigned to the parameter group.public CopyDBClusterParameterGroupRequest withTags(Collection<Tag> tags)
The tags that are to be assigned to the parameter group.
tags
- The tags that are to be assigned to the parameter group.public String toString()
toString
in class Object
Object.toString()
public CopyDBClusterParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()