@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()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getSourceOptionGroupIdentifier()
 The identifier 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 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 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, 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, withSdkRequestTimeoutpublic void setSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
The identifier for the source option group.
Constraints:
Must specify a valid option group.
sourceOptionGroupIdentifier - The identifier for the source option group.
        Constraints:
Must specify a valid option group.
public String getSourceOptionGroupIdentifier()
The identifier for the source option group.
Constraints:
Must specify a valid option group.
Constraints:
Must specify a valid option group.
public CopyOptionGroupRequest withSourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
The identifier for the source option group.
Constraints:
Must specify a valid option group.
sourceOptionGroupIdentifier - The identifier for the source option group.
        Constraints:
Must specify a valid option group.
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 ObjectObject.toString()public CopyOptionGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()