Class CfnClusterMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.medialive.mixins.CfnClusterMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterMixinProps>
- Enclosing interface:
CfnClusterMixinProps
@Stability(Stable)
public static final class CfnClusterMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterMixinProps>
A builder for
CfnClusterMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterType(String clusterType) Sets the value ofCfnClusterMixinProps.getClusterType()instanceRoleArn(String instanceRoleArn) Sets the value ofCfnClusterMixinProps.getInstanceRoleArn()Sets the value ofCfnClusterMixinProps.getName()networkSettings(IResolvable networkSettings) Sets the value ofCfnClusterMixinProps.getNetworkSettings()networkSettings(CfnClusterPropsMixin.ClusterNetworkSettingsProperty networkSettings) Sets the value ofCfnClusterMixinProps.getNetworkSettings()Sets the value ofCfnClusterMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterType
Sets the value ofCfnClusterMixinProps.getClusterType()- Parameters:
clusterType- The hardware type for the cluster.- Returns:
this
-
instanceRoleArn
Sets the value ofCfnClusterMixinProps.getInstanceRoleArn()- Parameters:
instanceRoleArn- The IAM role your nodes will use.- Returns:
this
-
name
Sets the value ofCfnClusterMixinProps.getName()- Parameters:
name- The user-specified name of the Cluster to be created.- Returns:
this
-
networkSettings
Sets the value ofCfnClusterMixinProps.getNetworkSettings()- Parameters:
networkSettings- On premises settings which will have the interface network mappings and default Output logical interface.- Returns:
this
-
networkSettings
@Stability(Stable) public CfnClusterMixinProps.Builder networkSettings(CfnClusterPropsMixin.ClusterNetworkSettingsProperty networkSettings) Sets the value ofCfnClusterMixinProps.getNetworkSettings()- Parameters:
networkSettings- On premises settings which will have the interface network mappings and default Output logical interface.- Returns:
this
-
tags
Sets the value ofCfnClusterMixinProps.getTags()- Parameters:
tags- A collection of key-value pairs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterMixinProps>- Returns:
- a new instance of
CfnClusterMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-