Interface UpdateProductApiPageRequest.Builder
- All Superinterfaces:
ApiPortalRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProductApiPageRequest.Builder,,UpdateProductApiPageRequest> SdkBuilder<UpdateProductApiPageRequest.Builder,,UpdateProductApiPageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProductApiPageRequest
@Mutable
@NotThreadSafe
public static interface UpdateProductApiPageRequest.Builder
extends ApiPortalRequest.Builder, SdkPojo, CopyableBuilder<UpdateProductApiPageRequest.Builder,UpdateProductApiPageRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondisplayContent(Consumer<ApiPageDisplayContent.Builder> displayContent) Sets the value of the DisplayContent property for this object.displayContent(ApiPageDisplayContent displayContent) Sets the value of the DisplayContent property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.productApiPageId(String productApiPageId) The identifier of the API page.The identifier of the product.tryItState(String tryItState) The new Try-It setting.tryItState(TryItState tryItState) The new Try-It setting.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.
-
productApiPageId
The identifier of the API page.
- Parameters:
productApiPageId- The identifier of the API page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayContent
Sets the value of the DisplayContent property for this object.- Parameters:
displayContent- The new value for the DisplayContent property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayContent
default UpdateProductApiPageRequest.Builder displayContent(Consumer<ApiPageDisplayContent.Builder> displayContent) Sets the value of the DisplayContent property for this object. This is a convenience method that creates an instance of theApiPageDisplayContent.Builderavoiding the need to create one manually viaApiPageDisplayContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisplayContent(ApiPageDisplayContent).- Parameters:
displayContent- a consumer that will call methods onApiPageDisplayContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tryItState
The new Try-It setting. Omit it to keep the current setting. To enable it, the page's API URL must use HTTPS on a domain that supports Try-It.
- Parameters:
tryItState- The new Try-It setting. Omit it to keep the current setting. To enable it, the page's API URL must use HTTPS on a domain that supports Try-It.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tryItState
The new Try-It setting. Omit it to keep the current setting. To enable it, the page's API URL must use HTTPS on a domain that supports Try-It.
- Parameters:
tryItState- The new Try-It setting. Omit it to keep the current setting. To enable it, the page's API URL must use HTTPS on a domain that supports Try-It.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateProductApiPageRequest.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
UpdateProductApiPageRequest.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.
-