Class InstanceFleetArgs.Builder

  • Enclosing class:
    InstanceFleetArgs

    public static final class InstanceFleetArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • clusterId

        public InstanceFleetArgs.Builder clusterId​(com.pulumi.core.Output<java.lang.String> clusterId)
        Parameters:
        clusterId - ID of the EMR Cluster to attach to. Changing this forces a new resource to be created.
        Returns:
        builder
      • clusterId

        public InstanceFleetArgs.Builder clusterId​(java.lang.String clusterId)
        Parameters:
        clusterId - ID of the EMR Cluster to attach to. Changing this forces a new resource to be created.
        Returns:
        builder
      • name

        public InstanceFleetArgs.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Friendly name given to the instance fleet.
        Returns:
        builder
      • name

        public InstanceFleetArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Friendly name given to the instance fleet.
        Returns:
        builder
      • region

        public InstanceFleetArgs.Builder region​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public InstanceFleetArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • targetOnDemandCapacity

        public InstanceFleetArgs.Builder targetOnDemandCapacity​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> targetOnDemandCapacity)
        Parameters:
        targetOnDemandCapacity - The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision.
        Returns:
        builder
      • targetOnDemandCapacity

        public InstanceFleetArgs.Builder targetOnDemandCapacity​(java.lang.Integer targetOnDemandCapacity)
        Parameters:
        targetOnDemandCapacity - The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision.
        Returns:
        builder
      • targetSpotCapacity

        public InstanceFleetArgs.Builder targetSpotCapacity​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> targetSpotCapacity)
        Parameters:
        targetSpotCapacity - The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.
        Returns:
        builder
      • targetSpotCapacity

        public InstanceFleetArgs.Builder targetSpotCapacity​(java.lang.Integer targetSpotCapacity)
        Parameters:
        targetSpotCapacity - The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.
        Returns:
        builder