Interface Source.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Source.Builder,,Source> SdkBuilder<Source.Builder,,Source> SdkPojo
- Enclosing class:
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.default Source.BuildervpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) The Amazon VPC configuration for the Prometheus collector when connecting to Amazon MSK clusters.vpcConfiguration(VpcConfiguration vpcConfiguration) The Amazon VPC configuration for the Prometheus collector when connecting to Amazon MSK clusters.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:
-
vpcConfiguration
The Amazon VPC configuration for the Prometheus collector when connecting to Amazon MSK clusters. This configuration enables secure, private network connectivity between the collector and your Amazon MSK cluster within your Amazon VPC.
- Parameters:
vpcConfiguration- The Amazon VPC configuration for the Prometheus collector when connecting to Amazon MSK clusters. This configuration enables secure, private network connectivity between the collector and your Amazon MSK cluster within your Amazon VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
The Amazon VPC configuration for the Prometheus collector when connecting to Amazon MSK clusters. This configuration enables secure, private network connectivity between the collector and your Amazon MSK cluster within your Amazon VPC.
This is a convenience method that creates an instance of theVpcConfiguration.Builderavoiding the need to create one manually viaVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(VpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-