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, withRequestMetricCollectorpublic String getSourceOptionGroupIdentifier()
Constraints:
Example: my-option-group
Example:
arn:aws:rds:us-west-2:123456789012:og:special-options
Constraints:
Example: my-option-group
Example:
arn:aws:rds:us-west-2:123456789012:og:special-options
public void setSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
Constraints:
Example: my-option-group
Example:
arn:aws:rds:us-west-2:123456789012:og:special-options
sourceOptionGroupIdentifier - The identifier or ARN for the source Option Group. Constraints:
Example: my-option-group
Example:
arn:aws:rds:us-west-2:123456789012:og:special-options
public CopyOptionGroupRequest withSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
Constraints:
Example: my-option-group
Example:
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:
Example: my-option-group
Example:
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 ObjectObject.toString()Copyright © 2014. All rights reserved.