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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeEventSourcesConfigResponse.BuildereventSources(Consumer<EventSourcesConfig.Builder> eventSources)Lists the event sources in the configuration.DescribeEventSourcesConfigResponse.BuildereventSources(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 Detail
-
eventSources
DescribeEventSourcesConfigResponse.Builder eventSources(EventSourcesConfig 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:
eventSources(EventSourcesConfig)
-
-