Interface Source.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Source.Builder,
,Source> SdkBuilder<Source.Builder,
,Source> SdkPojo
- Enclosing class:
Source
-
Method Summary
Modifier and TypeMethodDescriptiondefault Source.Builder
eksConfiguration
(Consumer<EksConfiguration.Builder> eksConfiguration) The Amazon EKS cluster from which a scraper collects metrics.eksConfiguration
(EksConfiguration eksConfiguration) The Amazon EKS cluster from which a scraper collects metrics.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, sdkFields
-
Method Details
-
eksConfiguration
The Amazon EKS cluster from which a scraper collects metrics.
- Parameters:
eksConfiguration
- The Amazon EKS cluster from which a scraper collects metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksConfiguration
The Amazon EKS cluster from which a scraper collects metrics.
This is a convenience method that creates an instance of theEksConfiguration.Builder
avoiding the need to create one manually viaEksConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeksConfiguration(EksConfiguration)
.- Parameters:
eksConfiguration
- a consumer that will call methods onEksConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-