Interface CreateProductRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProductRequest.Builder,,CreateProductRequest> SdkBuilder<CreateProductRequest.Builder,,CreateProductRequest> SdkPojo,SdkRequest.Builder,ServiceCatalogRequest.Builder
- Enclosing class:
CreateProductRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) The language code.description(String description) The description of the product.distributor(String distributor) The distributor of the product.idempotencyToken(String idempotencyToken) A unique identifier that you provide to ensure idempotency.The name of the product.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The owner of the product.productType(String productType) The type of product.productType(ProductType productType) The type of product.default CreateProductRequest.BuilderprovisioningArtifactParameters(Consumer<ProvisioningArtifactProperties.Builder> provisioningArtifactParameters) The configuration of the provisioning artifact.provisioningArtifactParameters(ProvisioningArtifactProperties provisioningArtifactParameters) The configuration of the provisioning artifact.default CreateProductRequest.BuildersourceConnection(Consumer<SourceConnection.Builder> sourceConnection) Specifies connection details for the created product and syncs the product to the connection source artifact.sourceConnection(SourceConnection sourceConnection) Specifies connection details for the created product and syncs the product to the connection source artifact.supportDescription(String supportDescription) The support information about the product.supportEmail(String supportEmail) The contact email for product support.supportUrl(String supportUrl) The contact URL for product support.tags(Collection<Tag> tags) One or more tags.tags(Consumer<Tag.Builder>... tags) One or more tags.One or more tags.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogRequest.Builder
build
-
Method Details
-
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
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
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
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
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
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
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
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.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 theProvisioningArtifactProperties.Builderavoiding the need to create one manually viaProvisioningArtifactProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovisioningArtifactParameters(ProvisioningArtifactProperties).- Parameters:
provisioningArtifactParameters- a consumer that will call methods onProvisioningArtifactProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
SourceConnectionparameter 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. TheSourceConnectionparameter 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
SourceConnectionparameter consists of the following sub-fields.-
Type -
ConnectionParamters
SourceConnection.Builderavoiding the need to create one manually viaSourceConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConnection(SourceConnection).- Parameters:
sourceConnection- a consumer that will call methods onSourceConnection.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProductRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-