Class CopyOptionGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.CopyOptionGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CopyOptionGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CopyOptionGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyOptionGroupRequest
clone()
Creates a shallow clone of this request.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(Tag... tags)
NOTE: This method appends the values to the existing list (if any).CopyOptionGroupRequest
withTags(Collection<Tag> tags)
CopyOptionGroupRequest
withTargetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.CopyOptionGroupRequest
withTargetOptionGroupIdentifier(String targetOptionGroupIdentifier)
The identifier for the copied option group.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setSourceOptionGroupIdentifier
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 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 region than the copy,
specify a valid option group ARN, for example
arn:aws:rds:us-west-2:123456789012:og:special-options
.
- Parameters:
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 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 region than the
copy, specify a valid option group ARN, for example
arn:aws:rds:us-west-2:123456789012:og:special-options
.
-
getSourceOptionGroupIdentifier
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 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 region than the copy,
specify a valid option group ARN, for example
arn:aws:rds:us-west-2:123456789012:og:special-options
.
- Returns:
- 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 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 region than the
copy, specify a valid option group ARN, for example
arn:aws:rds:us-west-2:123456789012:og:special-options
.
-
withSourceOptionGroupIdentifier
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 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 region than the copy,
specify a valid option group ARN, for example
arn:aws:rds:us-west-2:123456789012:og:special-options
.
- Parameters:
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 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 region than the
copy, specify a valid option group ARN, for example
arn:aws:rds:us-west-2:123456789012:og:special-options
.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetOptionGroupIdentifier
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 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-option-group
- Parameters:
targetOptionGroupIdentifier
- The identifier for the copied option group.Constraints:
- Cannot be null, empty, or blank
- Must contain from 1 to 255 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-option-group
-
getTargetOptionGroupIdentifier
public String getTargetOptionGroupIdentifier()
The identifier for the copied option group.
Constraints:
- Cannot be null, empty, or blank
- Must contain from 1 to 255 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-option-group
- Returns:
- The identifier for the copied option group.
Constraints:
- Cannot be null, empty, or blank
- Must contain from 1 to 255 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-option-group
-
withTargetOptionGroupIdentifier
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 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-option-group
- Parameters:
targetOptionGroupIdentifier
- The identifier for the copied option group.Constraints:
- Cannot be null, empty, or blank
- Must contain from 1 to 255 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-option-group
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetOptionGroupDescription
public void setTargetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
- Parameters:
targetOptionGroupDescription
- The description for the copied option group.
-
getTargetOptionGroupDescription
public String getTargetOptionGroupDescription()
The description for the copied option group.
- Returns:
- The description for the copied option group.
-
withTargetOptionGroupDescription
public CopyOptionGroupRequest withTargetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
- Parameters:
targetOptionGroupDescription
- The description for the copied option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTags
public void setTags(Collection<Tag> tags)
- Parameters:
tags
-
-
withTags
public CopyOptionGroupRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
public CopyOptionGroupRequest withTags(Collection<Tag> tags)
- Parameters:
tags
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CopyOptionGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-