Class Cluster.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.Cluster.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Cluster>
- Enclosing class:
Cluster
@Stability(Experimental)
public static final class Cluster.Builder
extends Object
implements software.amazon.jsii.Builder<Cluster>
(experimental) A fluent builder for
Cluster.-
Method Summary
Modifier and TypeMethodDescriptionbuild()clusterName(String clusterName) (experimental) The name of the cluster.clusterType(ClusterType clusterType) (experimental) The hardware type for the cluster.static Cluster.BuilderinstanceRole(IRole instanceRole) (experimental) The IAM role for nodes in the cluster.networkSettings(ClusterNetworkSettings networkSettings) (experimental) Network settings for the cluster - only required if your networking setup requires it.(experimental) Tags to add to the cluster.
-
Method Details
-
create
@Stability(Experimental) public static Cluster.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
Cluster.Builder.
-
instanceRole
(experimental) The IAM role for nodes in the cluster.[disable-awslint:prefer-ref-interface]
- Parameters:
instanceRole- The IAM role for nodes in the cluster. This parameter is required.- Returns:
this
-
clusterName
(experimental) The name of the cluster.Default: - auto-generated name
- Parameters:
clusterName- The name of the cluster. This parameter is required.- Returns:
this
-
clusterType
(experimental) The hardware type for the cluster.Default: ClusterType.ON_PREMISES
- Parameters:
clusterType- The hardware type for the cluster. This parameter is required.- Returns:
this
-
networkSettings
@Stability(Experimental) public Cluster.Builder networkSettings(ClusterNetworkSettings networkSettings) (experimental) Network settings for the cluster - only required if your networking setup requires it.Default: - no network settings
- Parameters:
networkSettings- Network settings for the cluster - only required if your networking setup requires it. This parameter is required.- Returns:
this- See Also:
-
tags
(experimental) Tags to add to the cluster.Default: - no tags
- Parameters:
tags- Tags to add to the cluster. This parameter is required.- Returns:
this
-
build
-