Class ClusterNodeGroupArgs.Builder

  • Enclosing class:
    ClusterNodeGroupArgs

    public static final class ClusterNodeGroupArgs.Builder
    extends java.lang.Object
    • Method Detail

      • additionalSecurityGroupIds

        public ClusterNodeGroupArgs.Builder additionalSecurityGroupIds​(@Nullable
                                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> additionalSecurityGroupIds)
        Parameters:
        additionalSecurityGroupIds - Additional security Group IDS for Cluster, you can also specify this key for each node group.
        Returns:
        builder
      • additionalSecurityGroupIds

        public ClusterNodeGroupArgs.Builder additionalSecurityGroupIds​(java.util.List<java.lang.String> additionalSecurityGroupIds)
        Parameters:
        additionalSecurityGroupIds - Additional security Group IDS for Cluster, you can also specify this key for each node group.
        Returns:
        builder
      • additionalSecurityGroupIds

        public ClusterNodeGroupArgs.Builder additionalSecurityGroupIds​(java.lang.String... additionalSecurityGroupIds)
        Parameters:
        additionalSecurityGroupIds - Additional security Group IDS for Cluster, you can also specify this key for each node group.
        Returns:
        builder
      • gracefulShutdown

        public ClusterNodeGroupArgs.Builder gracefulShutdown​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> gracefulShutdown)
        Parameters:
        gracefulShutdown - Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
        Returns:
        builder
      • gracefulShutdown

        public ClusterNodeGroupArgs.Builder gracefulShutdown​(java.lang.Boolean gracefulShutdown)
        Parameters:
        gracefulShutdown - Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
        Returns:
        builder
      • instanceTypes

        public ClusterNodeGroupArgs.Builder instanceTypes​(com.pulumi.core.Output<java.util.List<java.lang.String>> instanceTypes)
        Parameters:
        instanceTypes - Host Ecs instance types.
        Returns:
        builder
      • instanceTypes

        public ClusterNodeGroupArgs.Builder instanceTypes​(java.util.List<java.lang.String> instanceTypes)
        Parameters:
        instanceTypes - Host Ecs instance types.
        Returns:
        builder
      • instanceTypes

        public ClusterNodeGroupArgs.Builder instanceTypes​(java.lang.String... instanceTypes)
        Parameters:
        instanceTypes - Host Ecs instance types.
        Returns:
        builder
      • nodeCount

        public ClusterNodeGroupArgs.Builder nodeCount​(com.pulumi.core.Output<java.lang.Integer> nodeCount)
        Parameters:
        nodeCount - Host Ecs number in this node group.
        Returns:
        builder
      • nodeCount

        public ClusterNodeGroupArgs.Builder nodeCount​(java.lang.Integer nodeCount)
        Parameters:
        nodeCount - Host Ecs number in this node group.
        Returns:
        builder
      • nodeGroupName

        public ClusterNodeGroupArgs.Builder nodeGroupName​(com.pulumi.core.Output<java.lang.String> nodeGroupName)
        Parameters:
        nodeGroupName - The node group name of emr cluster.
        Returns:
        builder
      • nodeGroupName

        public ClusterNodeGroupArgs.Builder nodeGroupName​(java.lang.String nodeGroupName)
        Parameters:
        nodeGroupName - The node group name of emr cluster.
        Returns:
        builder
      • nodeGroupType

        public ClusterNodeGroupArgs.Builder nodeGroupType​(com.pulumi.core.Output<java.lang.String> nodeGroupType)
        Parameters:
        nodeGroupType - The node group type of emr cluster, supported value: MASTER, CORE or TASK.
        Returns:
        builder
      • nodeGroupType

        public ClusterNodeGroupArgs.Builder nodeGroupType​(java.lang.String nodeGroupType)
        Parameters:
        nodeGroupType - The node group type of emr cluster, supported value: MASTER, CORE or TASK.
        Returns:
        builder
      • paymentType

        public ClusterNodeGroupArgs.Builder paymentType​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> paymentType)
        Parameters:
        paymentType - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
        Returns:
        builder
      • paymentType

        public ClusterNodeGroupArgs.Builder paymentType​(java.lang.String paymentType)
        Parameters:
        paymentType - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
        Returns:
        builder
      • spotInstanceRemedy

        public ClusterNodeGroupArgs.Builder spotInstanceRemedy​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Boolean> spotInstanceRemedy)
        Parameters:
        spotInstanceRemedy - Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
        Returns:
        builder
      • spotInstanceRemedy

        public ClusterNodeGroupArgs.Builder spotInstanceRemedy​(java.lang.Boolean spotInstanceRemedy)
        Parameters:
        spotInstanceRemedy - Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
        Returns:
        builder
      • vswitchIds

        public ClusterNodeGroupArgs.Builder vswitchIds​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> vswitchIds)
        Parameters:
        vswitchIds - Global vSwitch ids, you can also specify it in node group.
        Returns:
        builder
      • vswitchIds

        public ClusterNodeGroupArgs.Builder vswitchIds​(java.util.List<java.lang.String> vswitchIds)
        Parameters:
        vswitchIds - Global vSwitch ids, you can also specify it in node group.
        Returns:
        builder
      • vswitchIds

        public ClusterNodeGroupArgs.Builder vswitchIds​(java.lang.String... vswitchIds)
        Parameters:
        vswitchIds - Global vSwitch ids, you can also specify it in node group.
        Returns:
        builder
      • withPublicIp

        public ClusterNodeGroupArgs.Builder withPublicIp​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> withPublicIp)
        Parameters:
        withPublicIp - Whether the node has a public IP address enabled.
        Returns:
        builder
      • withPublicIp

        public ClusterNodeGroupArgs.Builder withPublicIp​(java.lang.Boolean withPublicIp)
        Parameters:
        withPublicIp - Whether the node has a public IP address enabled.
        Returns:
        builder