Interface UpdateProductRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProductRequest.Builder,,UpdateProductRequest> SdkBuilder<UpdateProductRequest.Builder,,UpdateProductRequest> SdkPojo,SdkRequest.Builder,ServiceCatalogRequest.Builder
- Enclosing class:
UpdateProductRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) The language code.addTags(Collection<Tag> addTags) The tags to add to the product.addTags(Consumer<Tag.Builder>... addTags) The tags to add to the product.The tags to add to the product.description(String description) The updated description of the product.distributor(String distributor) The updated distributor of the product.The product identifier.The updated product name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The updated owner of the product.removeTags(String... removeTags) The tags to remove from the product.removeTags(Collection<String> removeTags) The tags to remove from the product.default UpdateProductRequest.BuildersourceConnection(Consumer<SourceConnection.Builder> sourceConnection) Specifies connection details for the updated product and syncs the product to the connection source artifact.sourceConnection(SourceConnection sourceConnection) Specifies connection details for the updated product and syncs the product to the connection source artifact.supportDescription(String supportDescription) The updated support description for the product.supportEmail(String supportEmail) The updated support email for the product.supportUrl(String supportUrl) The updated support URL for the product.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.
-
-
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
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
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
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
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
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
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
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
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
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
The tags to add to the product.
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 toaddTags(List<Tag>).- Parameters:
addTags- 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:
-
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
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
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
SourceConnectionparameter 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. 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 UpdateProductRequest.Builder sourceConnection(Consumer<SourceConnection.Builder> 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
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
UpdateProductRequest.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
UpdateProductRequest.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.
-