Interface ListProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudExtensionsResponse.Builder,CopyableBuilder<ListProfilesResponse.Builder,,ListProfilesResponse> SdkBuilder<ListProfilesResponse.Builder,,ListProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProfilesResponse
@Mutable
@NotThreadSafe
public static interface ListProfilesResponse.Builder
extends CloudExtensionsResponse.Builder, SdkPojo, CopyableBuilder<ListProfilesResponse.Builder,ListProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ProfileSummary> items) The profiles in this page of results.items(Consumer<ProfileSummary.Builder>... items) The profiles in this page of results.items(ProfileSummary... items) The profiles in this page of results.A token to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.services.cloudextensions.model.CloudExtensionsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The profiles in this page of results.
- Parameters:
items- The profiles in this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The profiles in this page of results.
- Parameters:
items- The profiles in this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The profiles in this page of results.
This is a convenience method that creates an instance of theProfileSummary.Builderavoiding the need to create one manually viaProfileSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ProfileSummary>).- Parameters:
items- 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:
-
nextToken
A token to retrieve the next page of results. Absent when there are no more results.
- Parameters:
nextToken- A token to retrieve the next page of results. Absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-