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
copyMethods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaEventSourcesConfig.builder().When the
Consumercompletes,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:
-