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 Details

    • eksConfiguration

      Source.Builder eksConfiguration(EksConfiguration 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

      default Source.Builder eksConfiguration(Consumer<EksConfiguration.Builder> eksConfiguration)

      The Amazon EKS cluster from which a scraper collects metrics.

      This is a convenience method that creates an instance of the EksConfiguration.Builder avoiding the need to create one manually via EksConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to eksConfiguration(EksConfiguration).

      Parameters:
      eksConfiguration - a consumer that will call methods on EksConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcConfiguration

      Source.Builder vpcConfiguration(VpcConfiguration 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

      default Source.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> 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 the VpcConfiguration.Builder avoiding the need to create one manually via VpcConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcConfiguration(VpcConfiguration).

      Parameters:
      vpcConfiguration - a consumer that will call methods on VpcConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: