Interface ListIntegrationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<ListIntegrationsResponse.Builder,
,ListIntegrationsResponse> SdkBuilder<ListIntegrationsResponse.Builder,
,ListIntegrationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListIntegrationsResponse
@Mutable
@NotThreadSafe
public static interface ListIntegrationsResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<ListIntegrationsResponse.Builder,ListIntegrationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionintegrationSummaries
(Collection<IntegrationSummary> integrationSummaries) An array, where each object in the array contains information about one CloudWatch Logs integration in this account.integrationSummaries
(Consumer<IntegrationSummary.Builder>... integrationSummaries) An array, where each object in the array contains information about one CloudWatch Logs integration in this account.integrationSummaries
(IntegrationSummary... integrationSummaries) An array, where each object in the array contains information about one CloudWatch Logs integration in this account.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
integrationSummaries
ListIntegrationsResponse.Builder integrationSummaries(Collection<IntegrationSummary> integrationSummaries) An array, where each object in the array contains information about one CloudWatch Logs integration in this account.
- Parameters:
integrationSummaries
- An array, where each object in the array contains information about one CloudWatch Logs integration in this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrationSummaries
An array, where each object in the array contains information about one CloudWatch Logs integration in this account.
- Parameters:
integrationSummaries
- An array, where each object in the array contains information about one CloudWatch Logs integration in this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrationSummaries
ListIntegrationsResponse.Builder integrationSummaries(Consumer<IntegrationSummary.Builder>... integrationSummaries) An array, where each object in the array contains information about one CloudWatch Logs integration in this account.
This is a convenience method that creates an instance of theIntegrationSummary.Builder
avoiding the need to create one manually viaIntegrationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointegrationSummaries(List<IntegrationSummary>)
.- Parameters:
integrationSummaries
- a consumer that will call methods onIntegrationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-