Class InstanceInstanceMarketOptionsSpotOptionsArgs.Builder

    • Method Detail

      • instanceInterruptionBehavior

        public InstanceInstanceMarketOptionsSpotOptionsArgs.Builder instanceInterruptionBehavior​(@Nullable
                                                                                                 com.pulumi.core.Output<java.lang.String> instanceInterruptionBehavior)
        Parameters:
        instanceInterruptionBehavior - The behavior when a Spot Instance is interrupted. Valid values include `hibernate`, `stop`, `terminate` . The default is `terminate`.
        Returns:
        builder
      • instanceInterruptionBehavior

        public InstanceInstanceMarketOptionsSpotOptionsArgs.Builder instanceInterruptionBehavior​(java.lang.String instanceInterruptionBehavior)
        Parameters:
        instanceInterruptionBehavior - The behavior when a Spot Instance is interrupted. Valid values include `hibernate`, `stop`, `terminate` . The default is `terminate`.
        Returns:
        builder
      • spotInstanceType

        public InstanceInstanceMarketOptionsSpotOptionsArgs.Builder spotInstanceType​(@Nullable
                                                                                     com.pulumi.core.Output<java.lang.String> spotInstanceType)
        Parameters:
        spotInstanceType - The Spot Instance request type. Valid values include `one-time`, `persistent`. Persistent Spot Instance requests are only supported when the instance interruption behavior is either hibernate or stop. The default is `one-time`.
        Returns:
        builder
      • spotInstanceType

        public InstanceInstanceMarketOptionsSpotOptionsArgs.Builder spotInstanceType​(java.lang.String spotInstanceType)
        Parameters:
        spotInstanceType - The Spot Instance request type. Valid values include `one-time`, `persistent`. Persistent Spot Instance requests are only supported when the instance interruption behavior is either hibernate or stop. The default is `one-time`.
        Returns:
        builder
      • validUntil

        public InstanceInstanceMarketOptionsSpotOptionsArgs.Builder validUntil​(@Nullable
                                                                               com.pulumi.core.Output<java.lang.String> validUntil)
        Parameters:
        validUntil - The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests.
        Returns:
        builder
      • validUntil

        public InstanceInstanceMarketOptionsSpotOptionsArgs.Builder validUntil​(java.lang.String validUntil)
        Parameters:
        validUntil - The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests.
        Returns:
        builder