Class CfnServicePropsMixin.EksSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.resiliencehubv2.CfnServicePropsMixin.EksSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.EksSourceProperty>
- Enclosing interface:
CfnServicePropsMixin.EksSourceProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.EksSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.EksSourceProperty>
A builder for
CfnServicePropsMixin.EksSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterArn(String clusterArn) Sets the value ofCfnServicePropsMixin.EksSourceProperty.getClusterArn()namespaces(List<String> namespaces) Sets the value ofCfnServicePropsMixin.EksSourceProperty.getNamespaces()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterArn
@Stability(Stable) public CfnServicePropsMixin.EksSourceProperty.Builder clusterArn(String clusterArn) Sets the value ofCfnServicePropsMixin.EksSourceProperty.getClusterArn()- Parameters:
clusterArn- ARN of the EKS cluster.- Returns:
this
-
namespaces
@Stability(Stable) public CfnServicePropsMixin.EksSourceProperty.Builder namespaces(List<String> namespaces) Sets the value ofCfnServicePropsMixin.EksSourceProperty.getNamespaces()- Parameters:
namespaces- EKS namespaces.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.EksSourceProperty>- Returns:
- a new instance of
CfnServicePropsMixin.EksSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-