Interface SpotPrice.Builder

    • Method Detail

      • availabilityZone

        SpotPrice.Builder availabilityZone​(String availabilityZone)

        The Availability Zone.

        Parameters:
        availabilityZone - The Availability Zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceType

        SpotPrice.Builder instanceType​(String instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceType, InstanceType
      • instanceType

        SpotPrice.Builder instanceType​(InstanceType instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceType, InstanceType
      • productDescription

        SpotPrice.Builder productDescription​(String productDescription)

        A general description of the AMI.

        Parameters:
        productDescription - A general description of the AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RIProductDescription, RIProductDescription
      • spotPrice

        SpotPrice.Builder spotPrice​(String spotPrice)

        The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

        If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

        Parameters:
        spotPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

        If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        SpotPrice.Builder timestamp​(Instant timestamp)

        The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

        Parameters:
        timestamp - The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
        Returns:
        Returns a reference to this object so that method calls can be chained together.