@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyOptionGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CopyOptionGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CopyOptionGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getSourceOptionGroupIdentifier()
The identifier or ARN for the source option group.
|
List<Tag> |
getTags() |
String |
getTargetOptionGroupDescription()
The description for the copied option group.
|
String |
getTargetOptionGroupIdentifier()
The identifier for the copied option group.
|
int |
hashCode() |
void |
setSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
The identifier or ARN for the source option group.
|
void |
setTags(Collection<Tag> tags) |
void |
setTargetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
|
void |
setTargetOptionGroupIdentifier(String targetOptionGroupIdentifier)
The identifier for the copied option group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CopyOptionGroupRequest |
withSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
The identifier or ARN for the source option group.
|
CopyOptionGroupRequest |
withTags(Collection<Tag> tags) |
CopyOptionGroupRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
CopyOptionGroupRequest |
withTargetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
|
CopyOptionGroupRequest |
withTargetOptionGroupIdentifier(String targetOptionGroupIdentifier)
The identifier for the copied option 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 setSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
Must specify a valid option group.
If the source option group is in the same AWS Region as the copy, specify a valid option group identifier, for
example my-option-group
, or a valid ARN.
If the source option group is in a different AWS Region than the copy, specify a valid option group ARN, for
example arn:aws:rds:us-west-2:123456789012:og:special-options
.
sourceOptionGroupIdentifier
- The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
Must specify a valid option group.
If the source option group is in the same AWS Region as the copy, specify a valid option group identifier,
for example my-option-group
, or a valid ARN.
If the source option group is in a different AWS Region than the copy, specify a valid option group ARN,
for example arn:aws:rds:us-west-2:123456789012:og:special-options
.
public String getSourceOptionGroupIdentifier()
The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
Must specify a valid option group.
If the source option group is in the same AWS Region as the copy, specify a valid option group identifier, for
example my-option-group
, or a valid ARN.
If the source option group is in a different AWS Region than the copy, specify a valid option group ARN, for
example arn:aws:rds:us-west-2:123456789012:og:special-options
.
Constraints:
Must specify a valid option group.
If the source option group is in the same AWS Region as the copy, specify a valid option group
identifier, for example my-option-group
, or a valid ARN.
If the source option group is in a different AWS Region than the copy, specify a valid option group ARN,
for example arn:aws:rds:us-west-2:123456789012:og:special-options
.
public CopyOptionGroupRequest withSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
Must specify a valid option group.
If the source option group is in the same AWS Region as the copy, specify a valid option group identifier, for
example my-option-group
, or a valid ARN.
If the source option group is in a different AWS Region than the copy, specify a valid option group ARN, for
example arn:aws:rds:us-west-2:123456789012:og:special-options
.
sourceOptionGroupIdentifier
- The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
Must specify a valid option group.
If the source option group is in the same AWS Region as the copy, specify a valid option group identifier,
for example my-option-group
, or a valid ARN.
If the source option group is in a different AWS Region than the copy, specify a valid option group ARN,
for example arn:aws:rds:us-west-2:123456789012:og:special-options
.
public void setTargetOptionGroupIdentifier(String targetOptionGroupIdentifier)
The identifier for the copied option 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-option-group
targetOptionGroupIdentifier
- The identifier for the copied option 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-option-group
public String getTargetOptionGroupIdentifier()
The identifier for the copied option 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-option-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-option-group
public CopyOptionGroupRequest withTargetOptionGroupIdentifier(String targetOptionGroupIdentifier)
The identifier for the copied option 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-option-group
targetOptionGroupIdentifier
- The identifier for the copied option 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-option-group
public void setTargetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
targetOptionGroupDescription
- The description for the copied option group.public String getTargetOptionGroupDescription()
The description for the copied option group.
public CopyOptionGroupRequest withTargetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
targetOptionGroupDescription
- The description for the copied option group.public void setTags(Collection<Tag> tags)
tags
- public CopyOptionGroupRequest withTags(Tag... tags)
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
- public CopyOptionGroupRequest withTags(Collection<Tag> tags)
tags
- public String toString()
toString
in class Object
Object.toString()
public CopyOptionGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.