Interface Source.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Source.Builder,,Source> SdkBuilder<Source.Builder,,Source> SdkPojo
- Enclosing class:
Source
@Mutable
@NotThreadSafe
public static interface Source.Builder
extends SdkPojo, CopyableBuilder<Source.Builder,Source>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Source.BuildereksConfiguration(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaEksConfiguration.builder().When the
Consumercompletes,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:
-