Class CfnClusterPropsMixin.ClusterNetworkInterfaceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnClusterPropsMixin.ClusterNetworkInterfaceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterNetworkInterfaceProperty>
- Enclosing interface:
CfnClusterPropsMixin.ClusterNetworkInterfaceProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.ClusterNetworkInterfaceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterNetworkInterfaceProperty>
A builder for
CfnClusterPropsMixin.ClusterNetworkInterfaceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.interfaceType(String interfaceType) Sets the value ofCfnClusterPropsMixin.ClusterNetworkInterfaceProperty.getInterfaceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
interfaceType
@Stability(Stable) public CfnClusterPropsMixin.ClusterNetworkInterfaceProperty.Builder interfaceType(String interfaceType) Sets the value ofCfnClusterPropsMixin.ClusterNetworkInterfaceProperty.getInterfaceType()- Parameters:
interfaceType- The type of network interface.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.ClusterNetworkInterfaceProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.ClusterNetworkInterfaceProperty - Throws:
NullPointerException- if any required attribute was not provided
-