Interface ListIntegrationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListIntegrationsResponse.Builder,
,ListIntegrationsResponse> CustomerProfilesResponse.Builder
,SdkBuilder<ListIntegrationsResponse.Builder,
,ListIntegrationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIntegrationsResponse
@Mutable
@NotThreadSafe
public static interface ListIntegrationsResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListIntegrationsResponse.Builder,ListIntegrationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<ListIntegrationItem> items) The list of ListIntegrations instances.items
(Consumer<ListIntegrationItem.Builder>... items) The list of ListIntegrations instances.items
(ListIntegrationItem... items) The list of ListIntegrations instances.The pagination token from the previous ListIntegrations API call.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The list of ListIntegrations instances.
- Parameters:
items
- The list of ListIntegrations instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of ListIntegrations instances.
- Parameters:
items
- The list of ListIntegrations instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of ListIntegrations instances.
This is a convenience method that creates an instance of theListIntegrationItem.Builder
avoiding the need to create one manually viaListIntegrationItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ListIntegrationItem>)
.- Parameters:
items
- a consumer that will call methods onListIntegrationItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token from the previous ListIntegrations API call.
- Parameters:
nextToken
- The pagination token from the previous ListIntegrations API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-