Interface UpdateProductPageRequest.Builder
- All Superinterfaces:
ApiPortalRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProductPageRequest.Builder,,UpdateProductPageRequest> SdkBuilder<UpdateProductPageRequest.Builder,,UpdateProductPageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProductPageRequest
@Mutable
@NotThreadSafe
public static interface UpdateProductPageRequest.Builder
extends ApiPortalRequest.Builder, SdkPojo, CopyableBuilder<UpdateProductPageRequest.Builder,UpdateProductPageRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateProductPageRequest.BuilderdisplayContent(Consumer<DisplayContent.Builder> displayContent) The new title and body of the page.displayContent(DisplayContent displayContent) The new title and body of the page.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.productPageId(String productPageId) The identifier of the product page.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.
-
productPageId
The identifier of the product page.
- Parameters:
productPageId- The identifier of the product page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayContent
The new title and body of the page. Omit it to keep the current content.
- Parameters:
displayContent- The new title and body of the page. Omit it to keep the current content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayContent
default UpdateProductPageRequest.Builder displayContent(Consumer<DisplayContent.Builder> displayContent) The new title and body of the page. Omit it to keep the current content.
This is a convenience method that creates an instance of theDisplayContent.Builderavoiding the need to create one manually viaDisplayContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisplayContent(DisplayContent).- Parameters:
displayContent- a consumer that will call methods onDisplayContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateProductPageRequest.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
UpdateProductPageRequest.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.
-