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