Class CfnScraperPropsMixin.SourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aps.CfnScraperPropsMixin.SourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScraperPropsMixin.SourceProperty>
- Enclosing interface:
CfnScraperPropsMixin.SourceProperty
@Stability(Stable)
public static final class CfnScraperPropsMixin.SourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScraperPropsMixin.SourceProperty>
A builder for
CfnScraperPropsMixin.SourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eksConfiguration(CfnScraperPropsMixin.EksConfigurationProperty eksConfiguration) Sets the value ofCfnScraperPropsMixin.SourceProperty.getEksConfiguration()eksConfiguration(IResolvable eksConfiguration) Sets the value ofCfnScraperPropsMixin.SourceProperty.getEksConfiguration()vpcConfiguration(CfnScraperPropsMixin.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnScraperPropsMixin.SourceProperty.getVpcConfiguration()vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnScraperPropsMixin.SourceProperty.getVpcConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eksConfiguration
@Stability(Stable) public CfnScraperPropsMixin.SourceProperty.Builder eksConfiguration(IResolvable eksConfiguration) Sets the value ofCfnScraperPropsMixin.SourceProperty.getEksConfiguration()- Parameters:
eksConfiguration- The Amazon EKS cluster from which a scraper collects metrics.- Returns:
this
-
eksConfiguration
@Stability(Stable) public CfnScraperPropsMixin.SourceProperty.Builder eksConfiguration(CfnScraperPropsMixin.EksConfigurationProperty eksConfiguration) Sets the value ofCfnScraperPropsMixin.SourceProperty.getEksConfiguration()- Parameters:
eksConfiguration- The Amazon EKS cluster from which a scraper collects metrics.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnScraperPropsMixin.SourceProperty.Builder vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnScraperPropsMixin.SourceProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- Configuration for VPC metrics source.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnScraperPropsMixin.SourceProperty.Builder vpcConfiguration(CfnScraperPropsMixin.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnScraperPropsMixin.SourceProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- Configuration for VPC metrics source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScraperPropsMixin.SourceProperty>- Returns:
- a new instance of
CfnScraperPropsMixin.SourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-