Interface ListProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProfilesResponse.Builder,,ListProfilesResponse> RolesAnywhereResponse.Builder,SdkBuilder<ListProfilesResponse.Builder,,ListProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProfilesResponse
public static interface ListProfilesResponse.Builder
extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<ListProfilesResponse.Builder,ListProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates where the output should continue from, if a previous request did not show all results.profiles(Collection<ProfileDetail> profiles) A list of profiles.profiles(Consumer<ProfileDetail.Builder>... profiles) A list of profiles.profiles(ProfileDetail... profiles) A list of profiles.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.
-
profiles
A list of profiles.
- Parameters:
profiles- A list of profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
A list of profiles.
- Parameters:
profiles- A list of profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
A list of profiles.
This is a convenience method that creates an instance of theProfileDetail.Builderavoiding the need to create one manually viaProfileDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofiles(List<ProfileDetail>).- Parameters:
profiles- a consumer that will call methods onProfileDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-