Class RbacRoleListPageResponse.Builder
-
- All Implemented Interfaces:
public final class RbacRoleListPageResponse.BuilderA builder for RbacRoleListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final RbacRoleListPageResponse.Builder data(List<RbacRole> data)
-
data
final RbacRoleListPageResponse.Builder data(JsonField<List<RbacRole>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<RbacRole>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasMore
final RbacRoleListPageResponse.Builder hasMore(Boolean hasMore)
Indicates whether there are more results beyond this page.
-
hasMore
final RbacRoleListPageResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final RbacRoleListPageResponse.Builder nextPage(String nextPage)
Opaque cursor for the next page. Pass as the
pageparameter on the next request.
-
nextPage
final RbacRoleListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final RbacRoleListPageResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RbacRoleListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addData
final RbacRoleListPageResponse.Builder addData(RbacRole data)
Adds a single RbacRole to Builder.data.
-
putAdditionalProperty
final RbacRoleListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RbacRoleListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RbacRoleListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RbacRoleListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RbacRoleListPageResponse build()
Returns an immutable instance of RbacRoleListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore() .nextPage()
-
-
-
-