Interface ListProfilesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProfilesResponse.Builder,ListProfilesResponse>,SdkBuilder<ListProfilesResponse.Builder,ListProfilesResponse>,SdkPojo,SdkResponse.Builder,TransferResponse.Builder
- Enclosing class:
- ListProfilesResponse
public static interface ListProfilesResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListProfilesResponse.Builder,ListProfilesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProfilesResponse.BuildernextToken(String nextToken)Returns a token that you can use to callListProfilesagain and receive additional results, if there are any.ListProfilesResponse.Builderprofiles(Collection<ListedProfile> profiles)Returns an array, where each item contains the details of a profile.ListProfilesResponse.Builderprofiles(Consumer<ListedProfile.Builder>... profiles)Returns an array, where each item contains the details of a profile.ListProfilesResponse.Builderprofiles(ListedProfile... profiles)Returns an array, where each item contains the details of a profile.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
nextToken
ListProfilesResponse.Builder nextToken(String nextToken)
Returns a token that you can use to call
ListProfilesagain and receive additional results, if there are any.- Parameters:
nextToken- Returns a token that you can use to callListProfilesagain and receive additional results, if there are any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
ListProfilesResponse.Builder profiles(Collection<ListedProfile> profiles)
Returns an array, where each item contains the details of a profile.
- Parameters:
profiles- Returns an array, where each item contains the details of a profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
ListProfilesResponse.Builder profiles(ListedProfile... profiles)
Returns an array, where each item contains the details of a profile.
- Parameters:
profiles- Returns an array, where each item contains the details of a profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
ListProfilesResponse.Builder profiles(Consumer<ListedProfile.Builder>... profiles)
Returns an array, where each item contains the details of a profile.
This is a convenience method that creates an instance of theListedProfile.Builderavoiding the need to create one manually viaListedProfile.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 onListedProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#profiles(java.util.Collection)
-
-