public static interface ListSubjectsResponse.Builder extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<ListSubjectsResponse.Builder,ListSubjectsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListSubjectsResponse.Builder |
nextToken(String nextToken)
A token that indicates where the output should continue from, if a previous operation did not show all
results.
|
ListSubjectsResponse.Builder |
subjects(Collection<SubjectSummary> subjects)
A list of subjects.
|
ListSubjectsResponse.Builder |
subjects(Consumer<SubjectSummary.Builder>... subjects)
A list of subjects.
|
ListSubjectsResponse.Builder |
subjects(SubjectSummary... subjects)
A list of subjects.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListSubjectsResponse.Builder nextToken(String nextToken)
A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.
nextToken - A token that indicates where the output should continue from, if a previous operation did not show all
results. To get the next results, call the operation again with this value.ListSubjectsResponse.Builder subjects(Collection<SubjectSummary> subjects)
A list of subjects.
subjects - A list of subjects.ListSubjectsResponse.Builder subjects(SubjectSummary... subjects)
A list of subjects.
subjects - A list of subjects.ListSubjectsResponse.Builder subjects(Consumer<SubjectSummary.Builder>... subjects)
A list of subjects.
This is a convenience method that creates an instance of theSubjectSummary.Builder avoiding the need to
create one manually via SubjectSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #subjects(List.
subjects - a consumer that will call methods on
SubjectSummary.Builder#subjects(java.util.Collection) Copyright © 2023. All rights reserved.