public class CopyOptionGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
sourceOptionGroupIdentifier
The identifier or ARN for the source option group.
|
private SdkInternalList<Tag> |
tags |
private java.lang.String |
targetOptionGroupDescription
The description for the copied option group.
|
private java.lang.String |
targetOptionGroupIdentifier
The identifier for the copied option group.
|
NOOP
Constructor and Description |
---|
CopyOptionGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CopyOptionGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSourceOptionGroupIdentifier()
The identifier or ARN for the source option group.
|
java.util.List<Tag> |
getTags() |
java.lang.String |
getTargetOptionGroupDescription()
The description for the copied option group.
|
java.lang.String |
getTargetOptionGroupIdentifier()
The identifier for the copied option group.
|
int |
hashCode() |
void |
setSourceOptionGroupIdentifier(java.lang.String sourceOptionGroupIdentifier)
The identifier or ARN for the source option group.
|
void |
setTags(java.util.Collection<Tag> tags) |
void |
setTargetOptionGroupDescription(java.lang.String targetOptionGroupDescription)
The description for the copied option group.
|
void |
setTargetOptionGroupIdentifier(java.lang.String targetOptionGroupIdentifier)
The identifier for the copied option group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CopyOptionGroupRequest |
withSourceOptionGroupIdentifier(java.lang.String sourceOptionGroupIdentifier)
The identifier or ARN for the source option group.
|
CopyOptionGroupRequest |
withTags(java.util.Collection<Tag> tags) |
CopyOptionGroupRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any).
|
CopyOptionGroupRequest |
withTargetOptionGroupDescription(java.lang.String targetOptionGroupDescription)
The description for the copied option group.
|
CopyOptionGroupRequest |
withTargetOptionGroupIdentifier(java.lang.String targetOptionGroupIdentifier)
The identifier for the copied option group.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.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:
my-option-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:og:special-options
.private java.lang.String targetOptionGroupIdentifier
The identifier for the copied option group.
Constraints:
Example: my-option-group
private java.lang.String targetOptionGroupDescription
The description for the copied option group.
private SdkInternalList<Tag> tags
public void setSourceOptionGroupIdentifier(java.lang.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:
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. For information
about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
my-option-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:og:special-options
.public java.lang.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:
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 CopyOptionGroupRequest withSourceOptionGroupIdentifier(java.lang.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:
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. For information
about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
my-option-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:og:special-options
.public void setTargetOptionGroupIdentifier(java.lang.String targetOptionGroupIdentifier)
The identifier for the copied option group.
Constraints:
Example: my-option-group
targetOptionGroupIdentifier
- The identifier for the copied option group.
Constraints:
Example: my-option-group
public java.lang.String getTargetOptionGroupIdentifier()
The identifier for the copied option group.
Constraints:
Example: my-option-group
Constraints:
Example: my-option-group
public CopyOptionGroupRequest withTargetOptionGroupIdentifier(java.lang.String targetOptionGroupIdentifier)
The identifier for the copied option group.
Constraints:
Example: my-option-group
targetOptionGroupIdentifier
- The identifier for the copied option group.
Constraints:
Example: my-option-group
public void setTargetOptionGroupDescription(java.lang.String targetOptionGroupDescription)
The description for the copied option group.
targetOptionGroupDescription
- The description for the copied option group.public java.lang.String getTargetOptionGroupDescription()
The description for the copied option group.
public CopyOptionGroupRequest withTargetOptionGroupDescription(java.lang.String targetOptionGroupDescription)
The description for the copied option group.
targetOptionGroupDescription
- The description for the copied option group.public java.util.List<Tag> getTags()
public void setTags(java.util.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(java.util.Collection<Tag> tags)
tags
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CopyOptionGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()