com.amazonaws.services.ec2.model

## クラス SpotPrice

- java.lang.Object
- - com.amazonaws.services.ec2.model.SpotPrice

- すべての実装されたインタフェース:
    java.io.Serializable

      public class SpotPrice
      extends java.lang.Object
      implements java.io.Serializable

  Spot Price
  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `SpotPrice()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAvailabilityZone()` Returns the value of the AvailabilityZone property for this object.
    `java.lang.String` | `getInstanceType()` Returns the value of the InstanceType property for this object.
    `java.lang.String` | `getProductDescription()` Returns the value of the ProductDescription property for this object.
    `java.lang.String` | `getSpotPrice()` Returns the value of the SpotPrice property for this object.
    `java.util.Date` | `getTimestamp()` Returns the value of the Timestamp property for this object.
    `int` | `hashCode()`
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` Sets the value of the AvailabilityZone property for this object.
    `void` | `setInstanceType(InstanceType instanceType)` Sets the value of the InstanceType property for this object.
    `void` | `setInstanceType(java.lang.String instanceType)` Sets the value of the InstanceType property for this object.
    `void` | `setProductDescription(java.lang.String productDescription)` Sets the value of the ProductDescription property for this object.
    `void` | `setSpotPrice(java.lang.String spotPrice)` Sets the value of the SpotPrice property for this object.
    `void` | `setTimestamp(java.util.Date timestamp)` Sets the value of the Timestamp property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `SpotPrice` | `withAvailabilityZone(java.lang.String availabilityZone)` Sets the value of the AvailabilityZone property for this object.
    `SpotPrice` | `withInstanceType(InstanceType instanceType)` Sets the value of the InstanceType property for this object.
    `SpotPrice` | `withInstanceType(java.lang.String instanceType)` Sets the value of the InstanceType property for this object.
    `SpotPrice` | `withProductDescription(java.lang.String productDescription)` Sets the value of the ProductDescription property for this object.
    `SpotPrice` | `withSpotPrice(java.lang.String spotPrice)` Sets the value of the SpotPrice property for this object.
    `SpotPrice` | `withTimestamp(java.util.Date timestamp)` Sets the value of the Timestamp property for this object.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### SpotPrice

          public SpotPrice()

  - ### メソッドの詳細

    - #### getInstanceType

          public java.lang.String getInstanceType()

      Returns the value of the InstanceType property for this object.

      Constraints:
      Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge

      戻り値:
        The value of the InstanceType property for this object.
      関連項目:
        `InstanceType`

    - #### setInstanceType

          public void setInstanceType(java.lang.String instanceType)

      Sets the value of the InstanceType property for this object.

      Constraints:
      Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge

      パラメータ:
        `instanceType` - The new value for the InstanceType property for this object.
      関連項目:
        `InstanceType`

    - #### withInstanceType

          public SpotPrice withInstanceType(java.lang.String instanceType)

      Sets the value of the InstanceType property for this object.

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

      Constraints:
      Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge

      パラメータ:
        `instanceType` - The new value for the InstanceType property for this object.
      関連項目:
        `InstanceType`

    - #### setInstanceType

          public void setInstanceType(InstanceType instanceType)

      Sets the value of the InstanceType property for this object.

      Constraints:
      Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge

      パラメータ:
        `instanceType` - The new value for the InstanceType property for this object.
      関連項目:
        `InstanceType`

    - #### withInstanceType

          public SpotPrice withInstanceType(InstanceType instanceType)

      Sets the value of the InstanceType property for this object.

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

      Constraints:
      Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.xlarge, m3.2xlarge, c1.medium, c1.xlarge, hi1.4xlarge, hs1.8xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge

      パラメータ:
        `instanceType` - The new value for the InstanceType property for this object.
      関連項目:
        `InstanceType`

    - #### getProductDescription

          public java.lang.String getProductDescription()

      Returns the value of the ProductDescription property for this object.
      戻り値:
        The value of the ProductDescription property for this object.

    - #### setProductDescription

          public void setProductDescription(java.lang.String productDescription)

      Sets the value of the ProductDescription property for this object.
      パラメータ:
        `productDescription` - The new value for the ProductDescription property for this object.

    - #### withProductDescription

          public SpotPrice withProductDescription(java.lang.String productDescription)

      Sets the value of the ProductDescription property for this object.

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

      パラメータ:
        `productDescription` - The new value for the ProductDescription property for this object.

    - #### getSpotPrice

          public java.lang.String getSpotPrice()

      Returns the value of the SpotPrice property for this object.
      戻り値:
        The value of the SpotPrice property for this object.

    - #### setSpotPrice

          public void setSpotPrice(java.lang.String spotPrice)

      Sets the value of the SpotPrice property for this object.
      パラメータ:
        `spotPrice` - The new value for the SpotPrice property for this object.

    - #### withSpotPrice

          public SpotPrice withSpotPrice(java.lang.String spotPrice)

      Sets the value of the SpotPrice property for this object.

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

      パラメータ:
        `spotPrice` - The new value for the SpotPrice property for this object.

    - #### getTimestamp

          public java.util.Date getTimestamp()

      Returns the value of the Timestamp property for this object.
      戻り値:
        The value of the Timestamp property for this object.

    - #### setTimestamp

          public void setTimestamp(java.util.Date timestamp)

      Sets the value of the Timestamp property for this object.
      パラメータ:
        `timestamp` - The new value for the Timestamp property for this object.

    - #### withTimestamp

          public SpotPrice withTimestamp(java.util.Date timestamp)

      Sets the value of the Timestamp property for this object.

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

      パラメータ:
        `timestamp` - The new value for the Timestamp property for this object.

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      Returns the value of the AvailabilityZone property for this object.
      戻り値:
        The value of the AvailabilityZone property for this object.

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      Sets the value of the AvailabilityZone property for this object.
      パラメータ:
        `availabilityZone` - The new value for the AvailabilityZone property for this object.

    - #### withAvailabilityZone

          public SpotPrice withAvailabilityZone(java.lang.String availabilityZone)

      Sets the value of the AvailabilityZone property for this object.

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

      パラメータ:
        `availabilityZone` - The new value for the AvailabilityZone property for this object.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`