Interface UpdateProductRequest.Builder

    • Method Detail

      • acceptLanguage

        UpdateProductRequest.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.
      • id

        UpdateProductRequest.Builder id​(String id)

        The product identifier.

        Parameters:
        id - The product identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateProductRequest.Builder name​(String name)

        The updated product name.

        Parameters:
        name - The updated product name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • owner

        UpdateProductRequest.Builder owner​(String owner)

        The updated owner of the product.

        Parameters:
        owner - The updated owner of the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateProductRequest.Builder description​(String description)

        The updated description of the product.

        Parameters:
        description - The updated description of the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • distributor

        UpdateProductRequest.Builder distributor​(String distributor)

        The updated distributor of the product.

        Parameters:
        distributor - The updated distributor of the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportDescription

        UpdateProductRequest.Builder supportDescription​(String supportDescription)

        The updated support description for the product.

        Parameters:
        supportDescription - The updated support description for the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportEmail

        UpdateProductRequest.Builder supportEmail​(String supportEmail)

        The updated support email for the product.

        Parameters:
        supportEmail - The updated support email for the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportUrl

        UpdateProductRequest.Builder supportUrl​(String supportUrl)

        The updated support URL for the product.

        Parameters:
        supportUrl - The updated support URL for the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addTags

        UpdateProductRequest.Builder addTags​(Collection<Tag> addTags)

        The tags to add to the product.

        Parameters:
        addTags - The tags to add to the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addTags

        UpdateProductRequest.Builder addTags​(Tag... addTags)

        The tags to add to the product.

        Parameters:
        addTags - The tags to add to the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addTags

        UpdateProductRequest.Builder addTags​(Consumer<Tag.Builder>... addTags)

        The tags to add to the product.

        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 #addTags(List).

        Parameters:
        addTags - 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:
        #addTags(java.util.Collection)
      • removeTags

        UpdateProductRequest.Builder removeTags​(Collection<String> removeTags)

        The tags to remove from the product.

        Parameters:
        removeTags - The tags to remove from the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeTags

        UpdateProductRequest.Builder removeTags​(String... removeTags)

        The tags to remove from the product.

        Parameters:
        removeTags - The tags to remove from the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceConnection

        UpdateProductRequest.Builder sourceConnection​(SourceConnection sourceConnection)

        Specifies connection details for the updated product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The SourceConnection parameter consists of the following sub-fields.

        • Type

        • ConnectionParamters

        Parameters:
        sourceConnection - Specifies connection details for the updated product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The SourceConnection parameter consists of the following sub-fields.

        • Type

        • ConnectionParamters

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