Interface PutAssetRequest.Builder

  • Method Details

    • assetTypeId

      PutAssetRequest.Builder assetTypeId(String assetTypeId)

      The identifier of the asset type for the asset.

      Parameters:
      assetTypeId - The identifier of the asset type for the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identifier

      PutAssetRequest.Builder identifier(String identifier)

      The unique identifier of the asset. If an asset with this identifier already exists, it is updated.

      Parameters:
      identifier - The unique identifier of the asset. If an asset with this identifier already exists, it is updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the asset.

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

      PutAssetRequest.Builder description(String description)

      The description of the asset.

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

      The forms to set on the asset, keyed by form name. Each entry specifies the form type and its JSON content.

      Parameters:
      forms - The forms to set on the asset, keyed by form name. Each entry specifies the form type and its JSON content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      PutAssetRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      PutAssetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.