Interface ListProfilesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,B2BiResponse.Builder,Buildable,CopyableBuilder<ListProfilesResponse.Builder,ListProfilesResponse>,SdkBuilder<ListProfilesResponse.Builder,ListProfilesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListProfilesResponse
public static interface ListProfilesResponse.Builder extends B2BiResponse.Builder, SdkPojo, CopyableBuilder<ListProfilesResponse.Builder,ListProfilesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProfilesResponse.BuildernextToken(String nextToken)When additional results are obtained from the command, aNextTokenparameter is returned in the output.ListProfilesResponse.Builderprofiles(Collection<ProfileSummary> profiles)Returns an array ofProfileSummaryobjects.ListProfilesResponse.Builderprofiles(Consumer<ProfileSummary.Builder>... profiles)Returns an array ofProfileSummaryobjects.ListProfilesResponse.Builderprofiles(ProfileSummary... profiles)Returns an array ofProfileSummaryobjects.-
Methods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
profiles
ListProfilesResponse.Builder profiles(Collection<ProfileSummary> profiles)
Returns an array of
ProfileSummaryobjects.- Parameters:
profiles- Returns an array ofProfileSummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
ListProfilesResponse.Builder profiles(ProfileSummary... profiles)
Returns an array of
ProfileSummaryobjects.- Parameters:
profiles- Returns an array ofProfileSummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
ListProfilesResponse.Builder profiles(Consumer<ProfileSummary.Builder>... profiles)
Returns an array of
This is a convenience method that creates an instance of theProfileSummaryobjects.ProfileSummary.Builderavoiding the need to create one manually viaProfileSummary.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 onProfileSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#profiles(java.util.Collection)
-
nextToken
ListProfilesResponse.Builder nextToken(String nextToken)
When additional results are obtained from the command, a
NextTokenparameter is returned in the output. You can then pass theNextTokenparameter in a subsequent command to continue listing additional resources.- Parameters:
nextToken- When additional results are obtained from the command, aNextTokenparameter is returned in the output. You can then pass theNextTokenparameter in a subsequent command to continue listing additional resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-