Class FleetLaunchTemplateConfigOverrideArgs.Builder

    • Method Detail

      • availabilityZone

        public FleetLaunchTemplateConfigOverrideArgs.Builder availabilityZone​(@Nullable
                                                                              com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - Availability Zone in which to launch the instances.
        Returns:
        builder
      • availabilityZone

        public FleetLaunchTemplateConfigOverrideArgs.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - Availability Zone in which to launch the instances.
        Returns:
        builder
      • maxPrice

        public FleetLaunchTemplateConfigOverrideArgs.Builder maxPrice​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> maxPrice)
        Parameters:
        maxPrice - Maximum price per unit hour that you are willing to pay for a Spot Instance.
        Returns:
        builder
      • priority

        public FleetLaunchTemplateConfigOverrideArgs.Builder priority​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Double> priority)
        Parameters:
        priority - Priority for the launch template override. If `onDemandOptions` `allocationStrategy` is set to `prioritized`, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.
        Returns:
        builder
      • priority

        public FleetLaunchTemplateConfigOverrideArgs.Builder priority​(java.lang.Double priority)
        Parameters:
        priority - Priority for the launch template override. If `onDemandOptions` `allocationStrategy` is set to `prioritized`, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.
        Returns:
        builder
      • subnetId

        public FleetLaunchTemplateConfigOverrideArgs.Builder subnetId​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> subnetId)
        Parameters:
        subnetId - ID of the subnet in which to launch the instances.
        Returns:
        builder
      • weightedCapacity

        public FleetLaunchTemplateConfigOverrideArgs.Builder weightedCapacity​(@Nullable
                                                                              com.pulumi.core.Output<java.lang.Double> weightedCapacity)
        Parameters:
        weightedCapacity - Number of units provided by the specified instance type.
        Returns:
        builder
      • weightedCapacity

        public FleetLaunchTemplateConfigOverrideArgs.Builder weightedCapacity​(java.lang.Double weightedCapacity)
        Parameters:
        weightedCapacity - Number of units provided by the specified instance type.
        Returns:
        builder