/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.iot.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdatePackageVersionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the associated software package. *
*/ private String packageName; /** ** The name of the target package version. *
*/ private String versionName; /** ** The package version description. *
*/ private String description; /** ** 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. *
** 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. *
*/ private java.util.Map* The status that the package version should be assigned. For more information, see Package version lifecycle. *
*/ private String action; /** ** 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. *
*/ private String clientToken; /** ** The name of the associated software package. *
* * @param packageName * The name of the associated software package. */ public void setPackageName(String packageName) { this.packageName = packageName; } /** ** The name of the associated software package. *
* * @return The name of the associated software package. */ public String getPackageName() { return this.packageName; } /** ** The name of the associated software package. *
* * @param packageName * The name of the associated software package. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdatePackageVersionRequest withPackageName(String packageName) { setPackageName(packageName); return this; } /** ** The name of the target package version. *
* * @param versionName * The name of the target package version. */ public void setVersionName(String versionName) { this.versionName = versionName; } /** ** The name of the target package version. *
* * @return The name of the target package version. */ public String getVersionName() { return this.versionName; } /** ** The name of the target package version. *
* * @param versionName * The name of the target package version. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdatePackageVersionRequest withVersionName(String versionName) { setVersionName(versionName); return this; } /** ** The package version description. *
* * @param description * The package version description. */ public void setDescription(String description) { this.description = description; } /** ** The package version description. *
* * @return The package version description. */ public String getDescription() { return this.description; } /** ** The package version description. *
* * @param description * The package version description. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdatePackageVersionRequest withDescription(String description) { setDescription(description); return this; } /** ** 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. *
** 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. *
* * @return 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. ** 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 java.util.Map
* 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.
*
* 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(java.util.Map
* 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.
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdatePackageVersionRequest withAttributes(java.util.Map
* The status that the package version should be assigned. For more information, see Package version lifecycle.
*
* The status that the package version should be assigned. For more information, see Package version lifecycle.
*
* The status that the package version should be assigned. For more information, see Package version lifecycle.
*
* The status that the package version should be assigned. For more information, see Package version lifecycle.
*
* 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.
*
* 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.
*
* 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.
*