@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePackageVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
CreatePackageVersionRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreatePackageVersionRequest | 
addAttributesEntry(String key,
                  String value)
Add a single Attributes entry 
 | 
CreatePackageVersionRequest | 
addTagsEntry(String key,
            String value)
Add a single Tags entry 
 | 
CreatePackageVersionRequest | 
clearAttributesEntries()
Removes all the entries added into Attributes. 
 | 
CreatePackageVersionRequest | 
clearTagsEntries()
Removes all the entries added into Tags. 
 | 
CreatePackageVersionRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
Map<String,String> | 
getAttributes()
 Metadata that can be used to define a package version’s configuration. 
 | 
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 version being created. 
 | 
String | 
getPackageName()
 The name of the associated package. 
 | 
Map<String,String> | 
getTags()
 Metadata that can be used to manage the package version. 
 | 
String | 
getVersionName()
 The name of the new package version. 
 | 
int | 
hashCode()  | 
void | 
setAttributes(Map<String,String> attributes)
 Metadata that can be used to define a package version’s configuration. 
 | 
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 version being created. 
 | 
void | 
setPackageName(String packageName)
 The name of the associated package. 
 | 
void | 
setTags(Map<String,String> tags)
 Metadata that can be used to manage the package version. 
 | 
void | 
setVersionName(String versionName)
 The name of the new package version. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreatePackageVersionRequest | 
withAttributes(Map<String,String> attributes)
 Metadata that can be used to define a package version’s configuration. 
 | 
CreatePackageVersionRequest | 
withClientToken(String clientToken)
 A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. 
 | 
CreatePackageVersionRequest | 
withDescription(String description)
 A summary of the package version being created. 
 | 
CreatePackageVersionRequest | 
withPackageName(String packageName)
 The name of the associated package. 
 | 
CreatePackageVersionRequest | 
withTags(Map<String,String> tags)
 Metadata that can be used to manage the package version. 
 | 
CreatePackageVersionRequest | 
withVersionName(String versionName)
 The name of the new package version. 
 | 
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 associated package.
packageName - The name of the associated package.public String getPackageName()
The name of the associated package.
public CreatePackageVersionRequest withPackageName(String packageName)
The name of the associated package.
packageName - The name of the associated package.public void setVersionName(String versionName)
The name of the new package version.
versionName - The name of the new package version.public String getVersionName()
The name of the new package version.
public CreatePackageVersionRequest withVersionName(String versionName)
The name of the new package version.
versionName - The name of the new package version.public void setDescription(String description)
A summary of the package version being created. This can be used to outline the package's contents or purpose.
description - A summary of the package version being created. This can be used to outline the package's contents or
        purpose.public String getDescription()
A summary of the package version being created. This can be used to outline the package's contents or purpose.
public CreatePackageVersionRequest withDescription(String description)
A summary of the package version being created. This can be used to outline the package's contents or purpose.
description - A summary of the package version being created. This can be used to outline the package's contents or
        purpose.public Map<String,String> getAttributes()
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
The combined size of all the attributes on a package version is limited to 3KB.
public void setAttributes(Map<String,String> attributes)
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
attributes - Metadata that can be used to define a package version’s configuration. For example, the S3 file location,
        configuration options that are being sent to the device or fleet.
        The combined size of all the attributes on a package version is limited to 3KB.
public CreatePackageVersionRequest withAttributes(Map<String,String> attributes)
Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
The combined size of all the attributes on a package version is limited to 3KB.
attributes - Metadata that can be used to define a package version’s configuration. For example, the S3 file location,
        configuration options that are being sent to the device or fleet.
        The combined size of all the attributes on a package version is limited to 3KB.
public CreatePackageVersionRequest addAttributesEntry(String key, String value)
public CreatePackageVersionRequest clearAttributesEntries()
public Map<String,String> getTags()
Metadata that can be used to manage the package version.
public void setTags(Map<String,String> tags)
Metadata that can be used to manage the package version.
tags - Metadata that can be used to manage the package version.public CreatePackageVersionRequest withTags(Map<String,String> tags)
Metadata that can be used to manage the package version.
tags - Metadata that can be used to manage the package version.public CreatePackageVersionRequest addTagsEntry(String key, String value)
public CreatePackageVersionRequest 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 CreatePackageVersionRequest 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 CreatePackageVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()