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 theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #subjects(List) .subjects - a consumer that will call methods on List.Builder #subjects(List) Copyright © 2022. All rights reserved.