Interface BatchCreateCategoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchCreateCategoryRequest.Builder,,BatchCreateCategoryRequest> QAppsRequest.Builder,SdkBuilder<BatchCreateCategoryRequest.Builder,,BatchCreateCategoryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchCreateCategoryRequest
public static interface BatchCreateCategoryRequest.Builder
extends QAppsRequest.Builder, SdkPojo, CopyableBuilder<BatchCreateCategoryRequest.Builder,BatchCreateCategoryRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncategories(Collection<BatchCreateCategoryInputCategory> categories) The list of category objects to be createdcategories(Consumer<BatchCreateCategoryInputCategory.Builder>... categories) The list of category objects to be createdcategories(BatchCreateCategoryInputCategory... categories) The list of category objects to be createdinstanceId(String instanceId) The unique identifier of the Amazon Q Business application environment instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.services.qapps.model.QAppsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceId
The unique identifier of the Amazon Q Business application environment instance.
- Parameters:
instanceId- The unique identifier of the Amazon Q Business application environment instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
BatchCreateCategoryRequest.Builder categories(Collection<BatchCreateCategoryInputCategory> categories) The list of category objects to be created
- Parameters:
categories- The list of category objects to be created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The list of category objects to be created
- Parameters:
categories- The list of category objects to be created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
BatchCreateCategoryRequest.Builder categories(Consumer<BatchCreateCategoryInputCategory.Builder>... categories) The list of category objects to be created
This is a convenience method that creates an instance of theBatchCreateCategoryInputCategory.Builderavoiding the need to create one manually viaBatchCreateCategoryInputCategory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocategories(List<BatchCreateCategoryInputCategory>).- Parameters:
categories- a consumer that will call methods onBatchCreateCategoryInputCategory.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchCreateCategoryRequest.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
BatchCreateCategoryRequest.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.
-