Interface CreateProductRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateProductRequest.Builder,CreateProductRequest>, SdkBuilder<CreateProductRequest.Builder,CreateProductRequest>, SdkPojo, SdkRequest.Builder, ServiceCatalogRequest.Builder
Enclosing class:
CreateProductRequest

public static interface CreateProductRequest.Builder extends ServiceCatalogRequest.Builder, SdkPojo, CopyableBuilder<CreateProductRequest.Builder,CreateProductRequest>
  • Method Details

    • acceptLanguage

      CreateProductRequest.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.
    • name

      The name of the product.

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

      The owner of the product.

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

      CreateProductRequest.Builder description(String description)

      The description of the product.

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

      CreateProductRequest.Builder distributor(String distributor)

      The distributor of the product.

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

      CreateProductRequest.Builder supportDescription(String supportDescription)

      The support information about the product.

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

      CreateProductRequest.Builder supportEmail(String supportEmail)

      The contact email for product support.

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

      CreateProductRequest.Builder supportUrl(String supportUrl)

      The contact URL for product support.

      ^https?:\/\// / is the pattern used to validate SupportUrl.

      Parameters:
      supportUrl - The contact URL for product support.

      ^https?:\/\// / is the pattern used to validate SupportUrl.

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

      CreateProductRequest.Builder productType(String productType)

      The type of product.

      Parameters:
      productType - The type of product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • productType

      CreateProductRequest.Builder productType(ProductType productType)

      The type of product.

      Parameters:
      productType - The type of product.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      One or more tags.

      Parameters:
      tags - One or more tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      One or more tags.

      Parameters:
      tags - One or more tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      One or more tags.

      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<Tag>).

      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:
    • provisioningArtifactParameters

      CreateProductRequest.Builder provisioningArtifactParameters(ProvisioningArtifactProperties provisioningArtifactParameters)

      The configuration of the provisioning artifact.

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

      default CreateProductRequest.Builder provisioningArtifactParameters(Consumer<ProvisioningArtifactProperties.Builder> provisioningArtifactParameters)

      The configuration of the provisioning artifact.

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

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

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

      CreateProductRequest.Builder idempotencyToken(String idempotencyToken)

      A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

      Parameters:
      idempotencyToken - A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceConnection

      CreateProductRequest.Builder sourceConnection(SourceConnection sourceConnection)

      Specifies connection details for the created 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 created 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.
    • sourceConnection

      default CreateProductRequest.Builder sourceConnection(Consumer<SourceConnection.Builder> sourceConnection)

      Specifies connection details for the created 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

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

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

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

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