Class CfnScraper.EksConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnScraper.EksConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScraper.EksConfigurationProperty>
- Enclosing interface:
CfnScraper.EksConfigurationProperty
@Stability(Stable)
public static final class CfnScraper.EksConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScraper.EksConfigurationProperty>
A builder for
CfnScraper.EksConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterArn(String clusterArn) Sets the value ofCfnScraper.EksConfigurationProperty.getClusterArn()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnScraper.EksConfigurationProperty.getSecurityGroupIds()Sets the value ofCfnScraper.EksConfigurationProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterArn
Sets the value ofCfnScraper.EksConfigurationProperty.getClusterArn()- Parameters:
clusterArn- ARN of the Amazon EKS cluster. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnScraper.EksConfigurationProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnScraper.EksConfigurationProperty.getSubnetIds()- Parameters:
subnetIds- A list of subnet IDs for the Amazon EKS cluster VPC configuration. This parameter is required.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnScraper.EksConfigurationProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnScraper.EksConfigurationProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- A list of the security group IDs for the Amazon EKS cluster VPC configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScraper.EksConfigurationProperty>- Returns:
- a new instance of
CfnScraper.EksConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-