Interface BatchUpdateCategoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateCategoryRequest.Builder,
,BatchUpdateCategoryRequest> QAppsRequest.Builder
,SdkBuilder<BatchUpdateCategoryRequest.Builder,
,BatchUpdateCategoryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchUpdateCategoryRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateCategoryRequest.Builder
extends QAppsRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateCategoryRequest.Builder,BatchUpdateCategoryRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncategories
(Collection<CategoryInput> categories) The list of categories to be updated with their new values.categories
(Consumer<CategoryInput.Builder>... categories) The list of categories to be updated with their new values.categories
(CategoryInput... categories) The list of categories to be updated with their new values.instanceId
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qapps.model.QAppsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
The list of categories to be updated with their new values.
- Parameters:
categories
- The list of categories to be updated with their new values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The list of categories to be updated with their new values.
- Parameters:
categories
- The list of categories to be updated with their new values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The list of categories to be updated with their new values.
This is a convenience method that creates an instance of theCategoryInput.Builder
avoiding the need to create one manually viaCategoryInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocategories(List<CategoryInput>)
.- Parameters:
categories
- a consumer that will call methods onCategoryInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateCategoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateCategoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-