Interface ListProfileObjectTypesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProfileObjectTypesResponse.Builder,
,ListProfileObjectTypesResponse> CustomerProfilesResponse.Builder
,SdkBuilder<ListProfileObjectTypesResponse.Builder,
,ListProfileObjectTypesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProfileObjectTypesResponse
public static interface ListProfileObjectTypesResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListProfileObjectTypesResponse.Builder,ListProfileObjectTypesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<ListProfileObjectTypeItem> items) The list of ListProfileObjectTypes instances.items
(Consumer<ListProfileObjectTypeItem.Builder>... items) The list of ListProfileObjectTypes instances.items
(ListProfileObjectTypeItem... items) The list of ListProfileObjectTypes instances.Identifies the next page of results to return.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.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 Details
-
items
The list of ListProfileObjectTypes instances.
- Parameters:
items
- The list of ListProfileObjectTypes instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of ListProfileObjectTypes instances.
- Parameters:
items
- The list of ListProfileObjectTypes instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of ListProfileObjectTypes instances.
This is a convenience method that creates an instance of theListProfileObjectTypeItem.Builder
avoiding the need to create one manually viaListProfileObjectTypeItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ListProfileObjectTypeItem>)
.- Parameters:
items
- a consumer that will call methods onListProfileObjectTypeItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Identifies the next page of results to return.
- Parameters:
nextToken
- Identifies the next page of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-