@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CopyDBParameterGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CopyDBParameterGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getSourceDBParameterGroupIdentifier()
The identifier or ARN for the source DB parameter group.
|
List<Tag> |
getTags()
The tags to be assigned to the copied DB parameter group.
|
String |
getTargetDBParameterGroupDescription()
A description for the copied DB parameter group.
|
String |
getTargetDBParameterGroupIdentifier()
The identifier for the copied DB parameter group.
|
int |
hashCode() |
void |
setSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group.
|
void |
setTags(Collection<Tag> tags)
The tags to be assigned to the copied DB parameter group.
|
void |
setTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
|
void |
setTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
|
String |
toString()
Returns a string representation of this object.
|
CopyDBParameterGroupRequest |
withSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group.
|
CopyDBParameterGroupRequest |
withTags(Collection<Tag> tags)
The tags to be assigned to the copied DB parameter group.
|
CopyDBParameterGroupRequest |
withTags(Tag... tags)
The tags to be assigned to the copied DB parameter group.
|
CopyDBParameterGroupRequest |
withTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
|
CopyDBParameterGroupRequest |
withTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB 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 setSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB parameter group.
Must specify a valid DB parameter group identifier, for example my-db-param-group
, or a valid ARN.
sourceDBParameterGroupIdentifier
- The identifier or ARN for the source DB parameter group. For information about creating an ARN, see
Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB parameter group.
Must specify a valid DB parameter group identifier, for example my-db-param-group
, or a valid
ARN.
public String getSourceDBParameterGroupIdentifier()
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB parameter group.
Must specify a valid DB parameter group identifier, for example my-db-param-group
, or a valid ARN.
Constraints:
Must specify a valid DB parameter group.
Must specify a valid DB parameter group identifier, for example my-db-param-group
, or a
valid ARN.
public CopyDBParameterGroupRequest withSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB parameter group.
Must specify a valid DB parameter group identifier, for example my-db-param-group
, or a valid ARN.
sourceDBParameterGroupIdentifier
- The identifier or ARN for the source DB parameter group. For information about creating an ARN, see
Constructing an Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB parameter group.
Must specify a valid DB parameter group identifier, for example my-db-param-group
, or a valid
ARN.
public void setTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB 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-db-parameter-group
targetDBParameterGroupIdentifier
- The identifier for the copied DB 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-db-parameter-group
public String getTargetDBParameterGroupIdentifier()
The identifier for the copied DB 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-db-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-db-parameter-group
public CopyDBParameterGroupRequest withTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB 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-db-parameter-group
targetDBParameterGroupIdentifier
- The identifier for the copied DB 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-db-parameter-group
public void setTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
targetDBParameterGroupDescription
- A description for the copied DB parameter group.public String getTargetDBParameterGroupDescription()
A description for the copied DB parameter group.
public CopyDBParameterGroupRequest withTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
targetDBParameterGroupDescription
- A description for the copied DB parameter group.public List<Tag> getTags()
The tags to be assigned to the copied DB parameter group.
public void setTags(Collection<Tag> tags)
The tags to be assigned to the copied DB parameter group.
tags
- The tags to be assigned to the copied DB parameter group.public CopyDBParameterGroupRequest withTags(Tag... tags)
The tags to be assigned to the copied DB 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 parameter group.public CopyDBParameterGroupRequest withTags(Collection<Tag> tags)
The tags to be assigned to the copied DB parameter group.
tags
- The tags to be assigned to the copied DB parameter group.public String toString()
toString
in class Object
Object.toString()
public CopyDBParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()