Interface ListSubjectsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSubjectsResponse.Builder,,ListSubjectsResponse> RolesAnywhereResponse.Builder,SdkBuilder<ListSubjectsResponse.Builder,,ListSubjectsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSubjectsResponse
public static interface ListSubjectsResponse.Builder
extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<ListSubjectsResponse.Builder,ListSubjectsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates where the output should continue from, if a previous request did not show all results.subjects(Collection<SubjectSummary> subjects) A list of subjects.subjects(Consumer<SubjectSummary.Builder>... subjects) A list of subjects.subjects(SubjectSummary... subjects) A list of subjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.
- Parameters:
nextToken- A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjects
A list of subjects.
- Parameters:
subjects- A list of subjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjects
A list of subjects.
- Parameters:
subjects- A list of subjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjects
A list of subjects.
This is a convenience method that creates an instance of theSubjectSummary.Builderavoiding the need to create one manually viaSubjectSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubjects(List<SubjectSummary>).- Parameters:
subjects- a consumer that will call methods onSubjectSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-