@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() |
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.
|
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, copyBaseTo, 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 ARN for Amazon RDS in the Amazon RDS User Guide.
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 ARN for Amazon RDS in the Amazon RDS User Guide.
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 ARN for Amazon RDS in the Amazon RDS User Guide.
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 ARN for Amazon RDS in the Amazon RDS User Guide.
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 ARN for Amazon RDS in the Amazon RDS User Guide.
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:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-option-group
targetOptionGroupIdentifier
- The identifier for the copied option group.
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-option-group
public String getTargetOptionGroupIdentifier()
The identifier for the copied option group.
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-option-group
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't 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:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-option-group
targetOptionGroupIdentifier
- The identifier for the copied option group.
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't 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()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.