Interface UpdatePackageRequest.Builder

    • Method Detail

      • packageName

        UpdatePackageRequest.Builder packageName​(String packageName)

        The name of the target software package.

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

        UpdatePackageRequest.Builder description​(String description)

        The package description.

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

        UpdatePackageRequest.Builder defaultVersionName​(String defaultVersionName)

        The name of the default package version.

        Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

        Parameters:
        defaultVersionName - The name of the default package version.

        Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

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

        UpdatePackageRequest.Builder unsetDefaultVersion​(Boolean unsetDefaultVersion)

        Indicates whether you want to remove the named default package version from the software package. Set as true to remove the default package version.

        Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

        Parameters:
        unsetDefaultVersion - Indicates whether you want to remove the named default package version from the software package. Set as true to remove the default package version.

        Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

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

        UpdatePackageRequest.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.