Interface UpdateProductRequest.Builder
- All Superinterfaces:
ApiPortalRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProductRequest.Builder,,UpdateProductRequest> SdkBuilder<UpdateProductRequest.Builder,,UpdateProductRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProductRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateProductRequest.BuilderapiSelectionConfiguration(Consumer<ApiSelectionConfiguration.Builder> apiSelectionConfiguration) The new API selection settings.apiSelectionConfiguration(ApiSelectionConfiguration apiSelectionConfiguration) The new API selection settings.description(String description) The new description of the product.displayName(String displayName) The new name of the product.default UpdateProductRequest.BuilderdisplayOrder(Consumer<DisplayOrder.Builder> displayOrder) The new page order.displayOrder(DisplayOrder displayOrder) The new page order.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the product.Methods inherited from interface software.amazon.awssdk.services.apiportal.model.ApiPortalRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
productId
The identifier of the product.
- Parameters:
productId- The identifier of the product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The new name of the product. Omit it to keep the current name.
- Parameters:
displayName- The new name of the product. Omit it to keep the current name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description of the product. Omit it to keep the current description.
- Parameters:
description- The new description of the product. Omit it to keep the current description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayOrder
The new page order. Omit it to keep the current order.
- Parameters:
displayOrder- The new page order. Omit it to keep the current order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayOrder
The new page order. Omit it to keep the current order.
This is a convenience method that creates an instance of theDisplayOrder.Builderavoiding the need to create one manually viaDisplayOrder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisplayOrder(DisplayOrder).- Parameters:
displayOrder- a consumer that will call methods onDisplayOrder.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiSelectionConfiguration
UpdateProductRequest.Builder apiSelectionConfiguration(ApiSelectionConfiguration apiSelectionConfiguration) The new API selection settings. The selection mode must match the mode the product was created with. Omit it to keep the current settings.
- Parameters:
apiSelectionConfiguration- The new API selection settings. The selection mode must match the mode the product was created with. Omit it to keep the current settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiSelectionConfiguration
default UpdateProductRequest.Builder apiSelectionConfiguration(Consumer<ApiSelectionConfiguration.Builder> apiSelectionConfiguration) The new API selection settings. The selection mode must match the mode the product was created with. Omit it to keep the current settings.
This is a convenience method that creates an instance of theApiSelectionConfiguration.Builderavoiding the need to create one manually viaApiSelectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiSelectionConfiguration(ApiSelectionConfiguration).- Parameters:
apiSelectionConfiguration- a consumer that will call methods onApiSelectionConfiguration.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.
-