@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePackageVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePackageVersionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePackageVersionRequest |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
UpdatePackageVersionRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
UpdatePackageVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAction()
The status that the package version should be assigned.
|
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()
The package version description.
|
String |
getPackageName()
The name of the associated software package.
|
String |
getVersionName()
The name of the target package version.
|
int |
hashCode() |
void |
setAction(String action)
The status that the package version should be assigned.
|
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)
The package version description.
|
void |
setPackageName(String packageName)
The name of the associated software package.
|
void |
setVersionName(String versionName)
The name of the target package version.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePackageVersionRequest |
withAction(PackageVersionAction action)
The status that the package version should be assigned.
|
UpdatePackageVersionRequest |
withAction(String action)
The status that the package version should be assigned.
|
UpdatePackageVersionRequest |
withAttributes(Map<String,String> attributes)
Metadata that can be used to define a package version’s configuration.
|
UpdatePackageVersionRequest |
withClientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
|
UpdatePackageVersionRequest |
withDescription(String description)
The package version description.
|
UpdatePackageVersionRequest |
withPackageName(String packageName)
The name of the associated software package.
|
UpdatePackageVersionRequest |
withVersionName(String versionName)
The name of the target 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, withSdkRequestTimeout
public void setPackageName(String packageName)
The name of the associated software package.
packageName
- The name of the associated software package.public String getPackageName()
The name of the associated software package.
public UpdatePackageVersionRequest withPackageName(String packageName)
The name of the associated software package.
packageName
- The name of the associated software package.public void setVersionName(String versionName)
The name of the target package version.
versionName
- The name of the target package version.public String getVersionName()
The name of the target package version.
public UpdatePackageVersionRequest withVersionName(String versionName)
The name of the target package version.
versionName
- The name of the target package version.public void setDescription(String description)
The package version description.
description
- The package version description.public String getDescription()
The package version description.
public UpdatePackageVersionRequest withDescription(String description)
The package version description.
description
- The package version description.public Map<String,String> getAttributes()
Metadata that can be used to define a package version’s configuration. For example, the Amazon S3 file location, configuration options that are being sent to the device or fleet.
Note: Attributes can be updated only when the package version is in a draft state.
The combined size of all the attributes on a package version is limited to 3KB.
Note: Attributes can be updated only when the package version is in a draft state.
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 Amazon S3 file location, configuration options that are being sent to the device or fleet.
Note: Attributes can be updated only when the package version is in a draft state.
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 Amazon S3 file
location, configuration options that are being sent to the device or fleet.
Note: Attributes can be updated only when the package version is in a draft state.
The combined size of all the attributes on a package version is limited to 3KB.
public UpdatePackageVersionRequest withAttributes(Map<String,String> attributes)
Metadata that can be used to define a package version’s configuration. For example, the Amazon S3 file location, configuration options that are being sent to the device or fleet.
Note: Attributes can be updated only when the package version is in a draft state.
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 Amazon S3 file
location, configuration options that are being sent to the device or fleet.
Note: Attributes can be updated only when the package version is in a draft state.
The combined size of all the attributes on a package version is limited to 3KB.
public UpdatePackageVersionRequest addAttributesEntry(String key, String value)
public UpdatePackageVersionRequest clearAttributesEntries()
public void setAction(String action)
The status that the package version should be assigned. For more information, see Package version lifecycle.
action
- The status that the package version should be assigned. For more information, see Package version lifecycle.PackageVersionAction
public String getAction()
The status that the package version should be assigned. For more information, see Package version lifecycle.
PackageVersionAction
public UpdatePackageVersionRequest withAction(String action)
The status that the package version should be assigned. For more information, see Package version lifecycle.
action
- The status that the package version should be assigned. For more information, see Package version lifecycle.PackageVersionAction
public UpdatePackageVersionRequest withAction(PackageVersionAction action)
The status that the package version should be assigned. For more information, see Package version lifecycle.
action
- The status that the package version should be assigned. For more information, see Package version lifecycle.PackageVersionAction
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 UpdatePackageVersionRequest 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 Object
Object.toString()
public UpdatePackageVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()