Interface ListProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProfilesResponse.Builder,
,ListProfilesResponse> RolesAnywhereResponse.Builder
,SdkBuilder<ListProfilesResponse.Builder,
,ListProfilesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProfilesResponse
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaProfileDetail.builder()
.When the
Consumer
completes,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:
-