Interface DescribeEventSourcesConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEventSourcesConfigResponse.Builder,
,DescribeEventSourcesConfigResponse> DevOpsGuruResponse.Builder
,SdkBuilder<DescribeEventSourcesConfigResponse.Builder,
,DescribeEventSourcesConfigResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEventSourcesConfigResponse
public static interface DescribeEventSourcesConfigResponse.Builder
extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventSourcesConfigResponse.Builder,DescribeEventSourcesConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptioneventSources
(Consumer<EventSourcesConfig.Builder> eventSources) Lists the event sources in the configuration.eventSources
(EventSourcesConfig eventSources) Lists the event sources in the configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.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
-
eventSources
Lists the event sources in the configuration.
- Parameters:
eventSources
- Lists the event sources in the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSources
default DescribeEventSourcesConfigResponse.Builder eventSources(Consumer<EventSourcesConfig.Builder> eventSources) Lists the event sources in the configuration.
This is a convenience method that creates an instance of theEventSourcesConfig.Builder
avoiding the need to create one manually viaEventSourcesConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventSources(EventSourcesConfig)
.- Parameters:
eventSources
- a consumer that will call methods onEventSourcesConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-