public class CopyOptionGroupRequest extends AmazonWebServiceRequest implements Serializable
CopyOptionGroup operation
.
Copies the specified option group.
NOOP
Constructor and Description |
---|
CopyOptionGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSourceOptionGroupIdentifier()
The identifier or ARN for the source option group.
|
List<Tag> |
getTags()
A list of tags.
|
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)
A list of 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)
A list of tags.
|
CopyOptionGroupRequest |
withTags(Tag... tags)
A list of tags.
|
CopyOptionGroupRequest |
withTargetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
|
CopyOptionGroupRequest |
withTargetOptionGroupIdentifier(String targetOptionGroupIdentifier)
The identifier for the copied option group.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getSourceOptionGroupIdentifier()
Constraints:
my-option-group
, or a valid
ARN.arn:aws:rds:us-west-2:123456789012:og:special-options
.Constraints:
my-option-group
, or a valid
ARN.arn:aws:rds:us-west-2:123456789012:og:special-options
.public void setSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
Constraints:
my-option-group
, or a valid
ARN.arn:aws:rds:us-west-2:123456789012:og:special-options
.sourceOptionGroupIdentifier
- The identifier or ARN for the source option group. Constraints:
my-option-group
, or a valid
ARN.arn:aws:rds:us-west-2:123456789012:og:special-options
.public CopyOptionGroupRequest withSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
Constraints:
my-option-group
, or a valid
ARN.arn:aws:rds:us-west-2:123456789012:og:special-options
.Returns a reference to this object so that method calls can be chained together.
sourceOptionGroupIdentifier
- The identifier or ARN for the source option group. Constraints:
my-option-group
, or a valid
ARN.arn:aws:rds:us-west-2:123456789012:og:special-options
.public String getTargetOptionGroupIdentifier()
Constraints:
Example:
my-option-group
Constraints:
Example:
my-option-group
public void setTargetOptionGroupIdentifier(String targetOptionGroupIdentifier)
Constraints:
Example:
my-option-group
targetOptionGroupIdentifier
- The identifier for the copied option group. Constraints:
Example:
my-option-group
public CopyOptionGroupRequest withTargetOptionGroupIdentifier(String targetOptionGroupIdentifier)
Constraints:
Example:
my-option-group
Returns a reference to this object so that method calls can be chained together.
targetOptionGroupIdentifier
- The identifier for the copied option group. Constraints:
Example:
my-option-group
public String getTargetOptionGroupDescription()
public void setTargetOptionGroupDescription(String targetOptionGroupDescription)
targetOptionGroupDescription
- The description for the copied option group.public CopyOptionGroupRequest withTargetOptionGroupDescription(String targetOptionGroupDescription)
Returns a reference to this object so that method calls can be chained together.
targetOptionGroupDescription
- The description for the copied option group.public void setTags(Collection<Tag> tags)
tags
- A list of tags.public CopyOptionGroupRequest withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public CopyOptionGroupRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.