Interface UpdatePackageVersionRequest.Builder

    • Method Detail

      • packageName

        UpdatePackageVersionRequest.Builder packageName​(String packageName)

        The name of the associated software package.

        Parameters:
        packageName - The name of the associated software package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionName

        UpdatePackageVersionRequest.Builder versionName​(String versionName)

        The name of the target package version.

        Parameters:
        versionName - The name of the target package version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdatePackageVersionRequest.Builder description​(String description)

        The package version description.

        Parameters:
        description - The package version description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        UpdatePackageVersionRequest.Builder attributes​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        UpdatePackageVersionRequest.Builder clientToken​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.