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