Interface UpdateLibraryItemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLibraryItemRequest.Builder,
,UpdateLibraryItemRequest> QAppsRequest.Builder
,SdkBuilder<UpdateLibraryItemRequest.Builder,
,UpdateLibraryItemRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLibraryItemRequest
@Mutable
@NotThreadSafe
public static interface UpdateLibraryItemRequest.Builder
extends QAppsRequest.Builder, SdkPojo, CopyableBuilder<UpdateLibraryItemRequest.Builder,UpdateLibraryItemRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncategories
(String... categories) The new categories to associate with the library item.categories
(Collection<String> categories) The new categories to associate with the library item.instanceId
(String instanceId) The unique identifier of the Amazon Q Business application environment instance.libraryItemId
(String libraryItemId) The unique identifier of the library item to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The new status to set for the library item, such as "Published" or "Hidden".status
(LibraryItemStatus status) The new status to set for the library item, such as "Published" or "Hidden".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.
-
libraryItemId
The unique identifier of the library item to update.
- Parameters:
libraryItemId
- The unique identifier of the library item to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The new status to set for the library item, such as "Published" or "Hidden".
- Parameters:
status
- The new status to set for the library item, such as "Published" or "Hidden".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The new status to set for the library item, such as "Published" or "Hidden".
- Parameters:
status
- The new status to set for the library item, such as "Published" or "Hidden".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
categories
The new categories to associate with the library item.
- Parameters:
categories
- The new categories to associate with the library item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The new categories to associate with the library item.
- Parameters:
categories
- The new categories to associate with the library item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateLibraryItemRequest.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
UpdateLibraryItemRequest.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.
-