Interface CreateProductRequest.Builder
- All Superinterfaces:
ApiPortalRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateProductRequest.Builder,,CreateProductRequest> SdkBuilder<CreateProductRequest.Builder,,CreateProductRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProductRequest
@Mutable
@NotThreadSafe
public static interface CreateProductRequest.Builder
extends ApiPortalRequest.Builder, SdkPojo, CopyableBuilder<CreateProductRequest.Builder,CreateProductRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateProductRequest.BuilderapiSelectionConfiguration(Consumer<ApiSelectionConfiguration.Builder> apiSelectionConfiguration) How Managed APIs are selected for the product.apiSelectionConfiguration(ApiSelectionConfiguration apiSelectionConfiguration) How Managed APIs are selected for the product.description(String description) A description of the product, up to 1024 characters.displayName(String displayName) The name of the product, from 1 to 255 characters.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sets the value of the Tags property for this object.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
-
displayName
The name of the product, from 1 to 255 characters.
- Parameters:
displayName- The name of the product, from 1 to 255 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the product, up to 1024 characters.
- Parameters:
description- A description of the product, up to 1024 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiSelectionConfiguration
CreateProductRequest.Builder apiSelectionConfiguration(ApiSelectionConfiguration apiSelectionConfiguration) How Managed APIs are selected for the product. The selection mode can't be changed after the product is created.
- Parameters:
apiSelectionConfiguration- How Managed APIs are selected for the product. The selection mode can't be changed after the product is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiSelectionConfiguration
default CreateProductRequest.Builder apiSelectionConfiguration(Consumer<ApiSelectionConfiguration.Builder> apiSelectionConfiguration) How Managed APIs are selected for the product. The selection mode can't be changed after the product is created.
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
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.
-