Interface UpdateProvisionedProductRequest.Builder

    • Method Detail

      • acceptLanguage

        UpdateProvisionedProductRequest.Builder acceptLanguage​(String acceptLanguage)

        The language code.

        • jp - Japanese

        • zh - Chinese

        Parameters:
        acceptLanguage - The language code.

        • jp - Japanese

        • zh - Chinese

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

        UpdateProvisionedProductRequest.Builder provisionedProductName​(String provisionedProductName)

        The name of the provisioned product. You cannot specify both ProvisionedProductName and ProvisionedProductId.

        Parameters:
        provisionedProductName - The name of the provisioned product. You cannot specify both ProvisionedProductName and ProvisionedProductId.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provisionedProductId

        UpdateProvisionedProductRequest.Builder provisionedProductId​(String provisionedProductId)

        The identifier of the provisioned product. You must provide the name or ID, but not both.

        Parameters:
        provisionedProductId - The identifier of the provisioned product. You must provide the name or ID, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • productId

        UpdateProvisionedProductRequest.Builder productId​(String productId)

        The identifier of the product. You must provide the name or ID, but not both.

        Parameters:
        productId - The identifier of the product. You must provide the name or ID, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • productName

        UpdateProvisionedProductRequest.Builder productName​(String productName)

        The name of the product. You must provide the name or ID, but not both.

        Parameters:
        productName - The name of the product. You must provide the name or ID, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provisioningArtifactId

        UpdateProvisionedProductRequest.Builder provisioningArtifactId​(String provisioningArtifactId)

        The identifier of the provisioning artifact.

        Parameters:
        provisioningArtifactId - The identifier of the provisioning artifact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provisioningArtifactName

        UpdateProvisionedProductRequest.Builder provisioningArtifactName​(String provisioningArtifactName)

        The name of the provisioning artifact. You must provide the name or ID, but not both.

        Parameters:
        provisioningArtifactName - The name of the provisioning artifact. You must provide the name or ID, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pathId

        UpdateProvisionedProductRequest.Builder pathId​(String pathId)

        The path identifier. This value is optional if the product has a default path, and required if the product has more than one path. You must provide the name or ID, but not both.

        Parameters:
        pathId - The path identifier. This value is optional if the product has a default path, and required if the product has more than one path. You must provide the name or ID, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pathName

        UpdateProvisionedProductRequest.Builder pathName​(String pathName)

        The name of the path. You must provide the name or ID, but not both.

        Parameters:
        pathName - The name of the path. You must provide the name or ID, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provisioningPreferences

        UpdateProvisionedProductRequest.Builder provisioningPreferences​(UpdateProvisioningPreferences provisioningPreferences)

        An object that contains information about the provisioning preferences for a stack set.

        Parameters:
        provisioningPreferences - An object that contains information about the provisioning preferences for a stack set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        UpdateProvisionedProductRequest.Builder tags​(Collection<Tag> tags)

        One or more tags. Requires the product to have RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates.

        Parameters:
        tags - One or more tags. Requires the product to have RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        UpdateProvisionedProductRequest.Builder tags​(Tag... tags)

        One or more tags. Requires the product to have RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates.

        Parameters:
        tags - One or more tags. Requires the product to have RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        UpdateProvisionedProductRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        One or more tags. Requires the product to have RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • updateToken

        UpdateProvisionedProductRequest.Builder updateToken​(String updateToken)

        The idempotency token that uniquely identifies the provisioning update request.

        Parameters:
        updateToken - The idempotency token that uniquely identifies the provisioning update request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.