Interface ListIntegrationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<ListIntegrationsResponse.Builder,,ListIntegrationsResponse> SdkBuilder<ListIntegrationsResponse.Builder,,ListIntegrationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListIntegrationsResponse
@Mutable
@NotThreadSafe
public static interface ListIntegrationsResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<ListIntegrationsResponse.Builder,ListIntegrationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<Integration> items) The page of integrations.items(Consumer<Integration.Builder>... items) The page of integrations.items(Integration... items) The page of integrations.Pagination token for the next page; absent when there are no more results.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.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 page of integrations.
- Parameters:
items- The page of integrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The page of integrations.
- Parameters:
items- The page of integrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The page of integrations.
This is a convenience method that creates an instance of theIntegration.Builderavoiding the need to create one manually viaIntegration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<Integration>).- Parameters:
items- a consumer that will call methods onIntegration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token for the next page; absent when there are no more results.
- Parameters:
nextToken- Pagination token for the next page; absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-