Class CfnVirtualCluster.ContainerInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrcontainers.CfnVirtualCluster.ContainerInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualCluster.ContainerInfoProperty>
- Enclosing interface:
CfnVirtualCluster.ContainerInfoProperty
@Stability(Stable)
public static final class CfnVirtualCluster.ContainerInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualCluster.ContainerInfoProperty>
A builder for
CfnVirtualCluster.ContainerInfoProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.eksInfo
(IResolvable eksInfo) Sets the value ofCfnVirtualCluster.ContainerInfoProperty.getEksInfo()
eksInfo
(CfnVirtualCluster.EksInfoProperty eksInfo) Sets the value ofCfnVirtualCluster.ContainerInfoProperty.getEksInfo()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eksInfo
@Stability(Stable) public CfnVirtualCluster.ContainerInfoProperty.Builder eksInfo(IResolvable eksInfo) Sets the value ofCfnVirtualCluster.ContainerInfoProperty.getEksInfo()
- Parameters:
eksInfo
- The information about the Amazon EKS cluster. This parameter is required.- Returns:
this
-
eksInfo
@Stability(Stable) public CfnVirtualCluster.ContainerInfoProperty.Builder eksInfo(CfnVirtualCluster.EksInfoProperty eksInfo) Sets the value ofCfnVirtualCluster.ContainerInfoProperty.getEksInfo()
- Parameters:
eksInfo
- The information about the Amazon EKS cluster. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualCluster.ContainerInfoProperty>
- Returns:
- a new instance of
CfnVirtualCluster.ContainerInfoProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-