Interface GetLibraryItemResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLibraryItemResponse.Builder,
,GetLibraryItemResponse> QAppsResponse.Builder
,SdkBuilder<GetLibraryItemResponse.Builder,
,GetLibraryItemResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetLibraryItemResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the Q App associated with the library item.appVersion
(Integer appVersion) The version of the Q App associated with the library item.categories
(Collection<Category> categories) The categories associated with the library item for discovery.categories
(Consumer<Category.Builder>... categories) The categories associated with the library item for discovery.categories
(Category... categories) The categories associated with the library item for discovery.The date and time the library item was created.The user who created the library item.isRatedByUser
(Boolean isRatedByUser) Whether the current user has rated the library item.isVerified
(Boolean isVerified) Indicates whether the library item has been verified.libraryItemId
(String libraryItemId) The unique identifier of the library item.ratingCount
(Integer ratingCount) The number of ratings the library item has received from users.The status of the library item, such as "Published".The date and time the library item was last updated.The user who last updated the library item.The number of users who have associated the Q App with their account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qapps.model.QAppsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
libraryItemId
The unique identifier of the library item.
- Parameters:
libraryItemId
- The unique identifier of the library item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appId
The unique identifier of the Q App associated with the library item.
- Parameters:
appId
- The unique identifier of the Q App associated with the library item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appVersion
The version of the Q App associated with the library item.
- Parameters:
appVersion
- The version of the Q App associated with the library item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The categories associated with the library item for discovery.
- Parameters:
categories
- The categories associated with the library item for discovery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The categories associated with the library item for discovery.
- Parameters:
categories
- The categories associated with the library item for discovery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The categories associated with the library item for discovery.
This is a convenience method that creates an instance of theCategory.Builder
avoiding the need to create one manually viaCategory.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocategories(List<Category>)
.- Parameters:
categories
- a consumer that will call methods onCategory.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the library item, such as "Published".
- Parameters:
status
- The status of the library item, such as "Published".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time the library item was created.
- Parameters:
createdAt
- The date and time the library item was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The user who created the library item.
- Parameters:
createdBy
- The user who created the library item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the library item was last updated.
- Parameters:
updatedAt
- The date and time the library item was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The user who last updated the library item.
- Parameters:
updatedBy
- The user who last updated the library item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ratingCount
The number of ratings the library item has received from users.
- Parameters:
ratingCount
- The number of ratings the library item has received from users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRatedByUser
Whether the current user has rated the library item.
- Parameters:
isRatedByUser
- Whether the current user has rated the library item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userCount
The number of users who have associated the Q App with their account.
- Parameters:
userCount
- The number of users who have associated the Q App with their account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isVerified
Indicates whether the library item has been verified.
- Parameters:
isVerified
- Indicates whether the library item has been verified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-