Class LaunchTemplateInstanceMarketOptionsSpotOptions


  • public final class LaunchTemplateInstanceMarketOptionsSpotOptions
    extends java.lang.Object
    • Method Detail

      • blockDurationMinutes

        public java.util.Optional<java.lang.Integer> blockDurationMinutes()
        Returns:
        The required duration in minutes. This value must be a multiple of 60.
      • instanceInterruptionBehavior

        public java.util.Optional<java.lang.String> instanceInterruptionBehavior()
        Returns:
        The behavior when a Spot Instance is interrupted. Can be `hibernate`, `stop`, or `terminate`. (Default: `terminate`).
      • maxPrice

        public java.util.Optional<java.lang.String> maxPrice()
        Returns:
        The maximum hourly price you're willing to pay for the Spot Instances.
      • spotInstanceType

        public java.util.Optional<java.lang.String> spotInstanceType()
        Returns:
        The Spot Instance request type. Can be `one-time`, or `persistent`.
      • validUntil

        public java.util.Optional<java.lang.String> validUntil()
        Returns:
        The end date of the request.