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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProfilesResponse.BuildernextToken(String nextToken)A token that indicates where the output should continue from, if a previous request did not show all results.ListProfilesResponse.Builderprofiles(Collection<ProfileDetail> profiles)A list of profiles.ListProfilesResponse.Builderprofiles(Consumer<ProfileDetail.Builder>... profiles)A list of profiles.ListProfilesResponse.Builderprofiles(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListProfilesResponse.Builder nextToken(String 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
ListProfilesResponse.Builder profiles(Collection<ProfileDetail> 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
ListProfilesResponse.Builder profiles(ProfileDetail... 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
ListProfilesResponse.Builder profiles(Consumer<ProfileDetail.Builder>... 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 to#profiles(List.) - 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:
#profiles(java.util.Collection)
-
-