Interface GetLibraryItemResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLibraryItemResponse.Builder,GetLibraryItemResponse>,QAppsResponse.Builder,SdkBuilder<GetLibraryItemResponse.Builder,GetLibraryItemResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetLibraryItemResponse
public static interface GetLibraryItemResponse.Builder extends QAppsResponse.Builder, SdkPojo, CopyableBuilder<GetLibraryItemResponse.Builder,GetLibraryItemResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetLibraryItemResponse.BuilderappId(String appId)The unique identifier of the Q App associated with the library item.GetLibraryItemResponse.BuilderappVersion(Integer appVersion)The version of the Q App associated with the library item.GetLibraryItemResponse.Buildercategories(Collection<Category> categories)The categories associated with the library item for discovery.GetLibraryItemResponse.Buildercategories(Consumer<Category.Builder>... categories)The categories associated with the library item for discovery.GetLibraryItemResponse.Buildercategories(Category... categories)The categories associated with the library item for discovery.GetLibraryItemResponse.BuildercreatedAt(Instant createdAt)The date and time the library item was created.GetLibraryItemResponse.BuildercreatedBy(String createdBy)The user who created the library item.GetLibraryItemResponse.BuilderisRatedByUser(Boolean isRatedByUser)Whether the current user has rated the library item.GetLibraryItemResponse.BuilderisVerified(Boolean isVerified)Indicates whether the library item has been verified.GetLibraryItemResponse.BuilderlibraryItemId(String libraryItemId)The unique identifier of the library item.GetLibraryItemResponse.BuilderratingCount(Integer ratingCount)The number of ratings the library item has received from users.GetLibraryItemResponse.Builderstatus(String status)The status of the library item, such as "Published".GetLibraryItemResponse.BuilderupdatedAt(Instant updatedAt)The date and time the library item was last updated.GetLibraryItemResponse.BuilderupdatedBy(String updatedBy)The user who last updated the library item.GetLibraryItemResponse.BuilderuserCount(Integer userCount)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
libraryItemId
GetLibraryItemResponse.Builder libraryItemId(String 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
GetLibraryItemResponse.Builder appId(String 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
GetLibraryItemResponse.Builder appVersion(Integer 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
GetLibraryItemResponse.Builder categories(Collection<Category> 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
GetLibraryItemResponse.Builder categories(Category... 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
GetLibraryItemResponse.Builder categories(Consumer<Category.Builder>... categories)
The categories associated with the library item for discovery.
This is a convenience method that creates an instance of theCategory.Builderavoiding the need to create one manually viaCategory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#categories(List.) - 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:
#categories(java.util.Collection)
-
status
GetLibraryItemResponse.Builder status(String 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
GetLibraryItemResponse.Builder createdAt(Instant 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
GetLibraryItemResponse.Builder createdBy(String 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
GetLibraryItemResponse.Builder updatedAt(Instant 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
GetLibraryItemResponse.Builder updatedBy(String 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
GetLibraryItemResponse.Builder ratingCount(Integer 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
GetLibraryItemResponse.Builder isRatedByUser(Boolean 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
GetLibraryItemResponse.Builder userCount(Integer 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
GetLibraryItemResponse.Builder isVerified(Boolean 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.
-
-