Interface EventSourcesConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventSourcesConfig.Builder,,EventSourcesConfig> SdkBuilder<EventSourcesConfig.Builder,,EventSourcesConfig> SdkPojo
- Enclosing class:
EventSourcesConfig
public static interface EventSourcesConfig.Builder
extends SdkPojo, CopyableBuilder<EventSourcesConfig.Builder,EventSourcesConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventSourcesConfig.BuilderamazonCodeGuruProfiler(Consumer<AmazonCodeGuruProfilerIntegration.Builder> amazonCodeGuruProfiler) Information about whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler.amazonCodeGuruProfiler(AmazonCodeGuruProfilerIntegration amazonCodeGuruProfiler) Information about whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler.Methods 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, sdkFields
-
Method Details
-
amazonCodeGuruProfiler
EventSourcesConfig.Builder amazonCodeGuruProfiler(AmazonCodeGuruProfilerIntegration amazonCodeGuruProfiler) Information about whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler.
- Parameters:
amazonCodeGuruProfiler- Information about whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amazonCodeGuruProfiler
default EventSourcesConfig.Builder amazonCodeGuruProfiler(Consumer<AmazonCodeGuruProfilerIntegration.Builder> amazonCodeGuruProfiler) Information about whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler.
This is a convenience method that creates an instance of theAmazonCodeGuruProfilerIntegration.Builderavoiding the need to create one manually viaAmazonCodeGuruProfilerIntegration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toamazonCodeGuruProfiler(AmazonCodeGuruProfilerIntegration).- Parameters:
amazonCodeGuruProfiler- a consumer that will call methods onAmazonCodeGuruProfilerIntegration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-