Interface CreateAssetRequest.Builder

  • Method Details

    • clientToken

      CreateAssetRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

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

      CreateAssetRequest.Builder description(String description)

      Asset description.

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

      CreateAssetRequest.Builder domainIdentifier(String domainIdentifier)

      Amazon DataZone domain where the asset is created.

      Parameters:
      domainIdentifier - Amazon DataZone domain where the asset is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalIdentifier

      CreateAssetRequest.Builder externalIdentifier(String externalIdentifier)

      The external identifier of the asset.

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

      Metadata forms attached to the asset.

      Parameters:
      formsInput - Metadata forms attached to the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formsInput

      CreateAssetRequest.Builder formsInput(FormInput... formsInput)

      Metadata forms attached to the asset.

      Parameters:
      formsInput - Metadata forms attached to the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formsInput

      Metadata forms attached to the asset.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to formsInput(List<FormInput>).

      Parameters:
      formsInput - a consumer that will call methods on FormInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • glossaryTerms

      CreateAssetRequest.Builder glossaryTerms(Collection<String> glossaryTerms)

      Glossary terms attached to the asset.

      Parameters:
      glossaryTerms - Glossary terms attached to the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • glossaryTerms

      CreateAssetRequest.Builder glossaryTerms(String... glossaryTerms)

      Glossary terms attached to the asset.

      Parameters:
      glossaryTerms - Glossary terms attached to the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Asset name.

      Parameters:
      name - Asset name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owningProjectIdentifier

      CreateAssetRequest.Builder owningProjectIdentifier(String owningProjectIdentifier)

      The unique identifier of the project that owns this asset.

      Parameters:
      owningProjectIdentifier - The unique identifier of the project that owns this asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictionConfiguration

      CreateAssetRequest.Builder predictionConfiguration(PredictionConfiguration predictionConfiguration)

      The configuration of the automatically generated business-friendly metadata for the asset.

      Parameters:
      predictionConfiguration - The configuration of the automatically generated business-friendly metadata for the asset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictionConfiguration

      default CreateAssetRequest.Builder predictionConfiguration(Consumer<PredictionConfiguration.Builder> predictionConfiguration)

      The configuration of the automatically generated business-friendly metadata for the asset.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to predictionConfiguration(PredictionConfiguration).

      Parameters:
      predictionConfiguration - a consumer that will call methods on PredictionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • typeIdentifier

      CreateAssetRequest.Builder typeIdentifier(String typeIdentifier)

      The unique identifier of this asset's type.

      Parameters:
      typeIdentifier - The unique identifier of this asset's type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • typeRevision

      CreateAssetRequest.Builder typeRevision(String typeRevision)

      The revision of this asset's type.

      Parameters:
      typeRevision - The revision of this asset's type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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