Class SpotPrice

    • Constructor Detail

      • SpotPrice

        public SpotPrice()
    • Method Detail

      • setInstanceType

        public void setInstanceType​(String instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
        See Also:
        InstanceType
      • getInstanceType

        public String getInstanceType()

        The instance type.

        Returns:
        The instance type.
        See Also:
        InstanceType
      • withInstanceType

        public SpotPrice withInstanceType​(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
      • setInstanceType

        public void setInstanceType​(InstanceType instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
        See Also:
        InstanceType
      • withInstanceType

        public SpotPrice withInstanceType​(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
      • setProductDescription

        public void setProductDescription​(String productDescription)

        A general description of the AMI.

        Parameters:
        productDescription - A general description of the AMI.
        See Also:
        RIProductDescription
      • getProductDescription

        public String getProductDescription()

        A general description of the AMI.

        Returns:
        A general description of the AMI.
        See Also:
        RIProductDescription
      • withProductDescription

        public SpotPrice withProductDescription​(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
      • setProductDescription

        public void setProductDescription​(RIProductDescription productDescription)

        A general description of the AMI.

        Parameters:
        productDescription - A general description of the AMI.
        See Also:
        RIProductDescription
      • withProductDescription

        public SpotPrice withProductDescription​(RIProductDescription 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
      • setSpotPrice

        public void setSpotPrice​(String spotPrice)

        The maximum price (bid) that you are willing to pay for a Spot instance.

        Parameters:
        spotPrice - The maximum price (bid) that you are willing to pay for a Spot instance.
      • getSpotPrice

        public String getSpotPrice()

        The maximum price (bid) that you are willing to pay for a Spot instance.

        Returns:
        The maximum price (bid) that you are willing to pay for a Spot instance.
      • withSpotPrice

        public SpotPrice withSpotPrice​(String spotPrice)

        The maximum price (bid) that you are willing to pay for a Spot instance.

        Parameters:
        spotPrice - The maximum price (bid) that you are willing to pay for a Spot instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimestamp

        public void setTimestamp​(Date 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).
      • getTimestamp

        public Date getTimestamp()

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

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

        public SpotPrice withTimestamp​(Date 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.
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)

        The Availability Zone.

        Parameters:
        availabilityZone - The Availability Zone.
      • getAvailabilityZone

        public String getAvailabilityZone()

        The Availability Zone.

        Returns:
        The Availability Zone.
      • withAvailabilityZone

        public SpotPrice withAvailabilityZone​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object