Package com.pulumi.alicloud.emrv2.inputs
Class ClusterNodeGroupArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.emrv2.inputs.ClusterNodeGroupArgs.Builder
-
- Enclosing class:
- ClusterNodeGroupArgs
public static final class ClusterNodeGroupArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterNodeGroupArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterNodeGroupArgs defaults)
-
-
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
-
costOptimizedConfig
public ClusterNodeGroupArgs.Builder costOptimizedConfig(@Nullable com.pulumi.core.Output<ClusterNodeGroupCostOptimizedConfigArgs> costOptimizedConfig)
- Parameters:
costOptimizedConfig
- The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below.- Returns:
- builder
-
costOptimizedConfig
public ClusterNodeGroupArgs.Builder costOptimizedConfig(ClusterNodeGroupCostOptimizedConfigArgs costOptimizedConfig)
- Parameters:
costOptimizedConfig
- The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below.- Returns:
- builder
-
dataDisks
public ClusterNodeGroupArgs.Builder dataDisks(com.pulumi.core.Output<java.util.List<ClusterNodeGroupDataDiskArgs>> dataDisks)
- Parameters:
dataDisks
- Host Ecs data disks information in this node group. See `data_disks` below.- Returns:
- builder
-
dataDisks
public ClusterNodeGroupArgs.Builder dataDisks(java.util.List<ClusterNodeGroupDataDiskArgs> dataDisks)
- Parameters:
dataDisks
- Host Ecs data disks information in this node group. See `data_disks` below.- Returns:
- builder
-
dataDisks
public ClusterNodeGroupArgs.Builder dataDisks(ClusterNodeGroupDataDiskArgs... dataDisks)
- Parameters:
dataDisks
- Host Ecs data disks information in this node group. See `data_disks` below.- 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
-
spotBidPrices
public ClusterNodeGroupArgs.Builder spotBidPrices(@Nullable com.pulumi.core.Output<java.util.List<ClusterNodeGroupSpotBidPriceArgs>> spotBidPrices)
- Parameters:
spotBidPrices
- The spot bid prices of a PayAsYouGo instance. See `spot_bid_prices` below.- Returns:
- builder
-
spotBidPrices
public ClusterNodeGroupArgs.Builder spotBidPrices(java.util.List<ClusterNodeGroupSpotBidPriceArgs> spotBidPrices)
- Parameters:
spotBidPrices
- The spot bid prices of a PayAsYouGo instance. See `spot_bid_prices` below.- Returns:
- builder
-
spotBidPrices
public ClusterNodeGroupArgs.Builder spotBidPrices(ClusterNodeGroupSpotBidPriceArgs... spotBidPrices)
- Parameters:
spotBidPrices
- The spot bid prices of a PayAsYouGo instance. See `spot_bid_prices` below.- 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
-
subscriptionConfig
public ClusterNodeGroupArgs.Builder subscriptionConfig(@Nullable com.pulumi.core.Output<ClusterNodeGroupSubscriptionConfigArgs> subscriptionConfig)
- Parameters:
subscriptionConfig
- The detail configuration of subscription payment type. See `subscription_config` below.- Returns:
- builder
-
subscriptionConfig
public ClusterNodeGroupArgs.Builder subscriptionConfig(ClusterNodeGroupSubscriptionConfigArgs subscriptionConfig)
- Parameters:
subscriptionConfig
- The detail configuration of subscription payment type. See `subscription_config` below.- Returns:
- builder
-
systemDisk
public ClusterNodeGroupArgs.Builder systemDisk(com.pulumi.core.Output<ClusterNodeGroupSystemDiskArgs> systemDisk)
- Parameters:
systemDisk
- Host Ecs system disk information in this node group. See `system_disk` below.- Returns:
- builder
-
systemDisk
public ClusterNodeGroupArgs.Builder systemDisk(ClusterNodeGroupSystemDiskArgs systemDisk)
- Parameters:
systemDisk
- Host Ecs system disk information in this node group. See `system_disk` below.- 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
-
build
public ClusterNodeGroupArgs build()
-
-