@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePackageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreatePackageRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreatePackageRequest | addTagsEntry(String key,
            String value)Add a single Tags entry | 
| CreatePackageRequest | clearTagsEntries()Removes all the entries added into Tags. | 
| CreatePackageRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getClientToken()
 A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. | 
| String | getDescription()
 A summary of the package being created. | 
| String | getPackageName()
 The name of the new software package. | 
| Map<String,String> | getTags()
 Metadata that can be used to manage the package. | 
| int | hashCode() | 
| void | setClientToken(String clientToken)
 A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. | 
| void | setDescription(String description)
 A summary of the package being created. | 
| void | setPackageName(String packageName)
 The name of the new software package. | 
| void | setTags(Map<String,String> tags)
 Metadata that can be used to manage the package. | 
| String | toString()Returns a string representation of this object. | 
| CreatePackageRequest | withClientToken(String clientToken)
 A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. | 
| CreatePackageRequest | withDescription(String description)
 A summary of the package being created. | 
| CreatePackageRequest | withPackageName(String packageName)
 The name of the new software package. | 
| CreatePackageRequest | withTags(Map<String,String> tags)
 Metadata that can be used to manage the package. | 
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 setPackageName(String packageName)
The name of the new software package.
packageName - The name of the new software package.public String getPackageName()
The name of the new software package.
public CreatePackageRequest withPackageName(String packageName)
The name of the new software package.
packageName - The name of the new software package.public void setDescription(String description)
A summary of the package being created. This can be used to outline the package's contents or purpose.
description - A summary of the package being created. This can be used to outline the package's contents or purpose.public String getDescription()
A summary of the package being created. This can be used to outline the package's contents or purpose.
public CreatePackageRequest withDescription(String description)
A summary of the package being created. This can be used to outline the package's contents or purpose.
description - A summary of the package being created. This can be used to outline the package's contents or purpose.public Map<String,String> getTags()
Metadata that can be used to manage the package.
public void setTags(Map<String,String> tags)
Metadata that can be used to manage the package.
tags - Metadata that can be used to manage the package.public CreatePackageRequest withTags(Map<String,String> tags)
Metadata that can be used to manage the package.
tags - Metadata that can be used to manage the package.public CreatePackageRequest addTagsEntry(String key, String value)
public CreatePackageRequest clearTagsEntries()
public void setClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
        reuse this client token if a new idempotent request is required.public String getClientToken()
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
public CreatePackageRequest withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
clientToken - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
        reuse this client token if a new idempotent request is required.public String toString()
toString in class ObjectObject.toString()public CreatePackageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()