com.amazonaws.services.ec2.model

## クラス SpotDatafeedSubscription

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

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

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

  The SpotDatafeedSubscriptionType data type.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getBucket()` Specifies the Amazon S3 bucket where the Spot Instance data feed is located.
    `SpotInstanceStateFault` | `getFault()` Specifies a fault code for the Spot Instance request, if present.
    `java.lang.String` | `getOwnerId()` Specifies the AWS account ID of the account.
    `java.lang.String` | `getPrefix()` Contains the prefix that is prepended to data feed files.
    `java.lang.String` | `getState()` Specifies the state of the Spot Instance request.
    `int` | `hashCode()`
    `void` | `setBucket(java.lang.String bucket)` Specifies the Amazon S3 bucket where the Spot Instance data feed is located.
    `void` | `setFault(SpotInstanceStateFault fault)` Specifies a fault code for the Spot Instance request, if present.
    `void` | `setOwnerId(java.lang.String ownerId)` Specifies the AWS account ID of the account.
    `void` | `setPrefix(java.lang.String prefix)` Contains the prefix that is prepended to data feed files.
    `void` | `setState(java.lang.String state)` Specifies the state of the Spot Instance request.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `SpotDatafeedSubscription` | `withBucket(java.lang.String bucket)` Specifies the Amazon S3 bucket where the Spot Instance data feed is located.
    `SpotDatafeedSubscription` | `withFault(SpotInstanceStateFault fault)` Specifies a fault code for the Spot Instance request, if present.
    `SpotDatafeedSubscription` | `withOwnerId(java.lang.String ownerId)` Specifies the AWS account ID of the account.
    `SpotDatafeedSubscription` | `withPrefix(java.lang.String prefix)` Contains the prefix that is prepended to data feed files.
    `SpotDatafeedSubscription` | `withState(java.lang.String state)` Specifies the state of the Spot Instance request.

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

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

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

    - #### SpotDatafeedSubscription

          public SpotDatafeedSubscription()

  - ### メソッドの詳細

    - #### getOwnerId

          public java.lang.String getOwnerId()

      Specifies the AWS account ID of the account.
      戻り値:
        Specifies the AWS account ID of the account.

    - #### setOwnerId

          public void setOwnerId(java.lang.String ownerId)

      Specifies the AWS account ID of the account.
      パラメータ:
        `ownerId` - Specifies the AWS account ID of the account.

    - #### withOwnerId

          public SpotDatafeedSubscription withOwnerId(java.lang.String ownerId)

      Specifies the AWS account ID of the account.

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

      パラメータ:
        `ownerId` - Specifies the AWS account ID of the account.

    - #### getBucket

          public java.lang.String getBucket()

      Specifies the Amazon S3 bucket where the Spot Instance data feed is located.
      戻り値:
        Specifies the Amazon S3 bucket where the Spot Instance data feed is located.

    - #### setBucket

          public void setBucket(java.lang.String bucket)

      Specifies the Amazon S3 bucket where the Spot Instance data feed is located.
      パラメータ:
        `bucket` - Specifies the Amazon S3 bucket where the Spot Instance data feed is located.

    - #### withBucket

          public SpotDatafeedSubscription withBucket(java.lang.String bucket)

      Specifies the Amazon S3 bucket where the Spot Instance data feed is located.

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

      パラメータ:
        `bucket` - Specifies the Amazon S3 bucket where the Spot Instance data feed is located.

    - #### getPrefix

          public java.lang.String getPrefix()

      Contains the prefix that is prepended to data feed files.
      戻り値:
        Contains the prefix that is prepended to data feed files.

    - #### setPrefix

          public void setPrefix(java.lang.String prefix)

      Contains the prefix that is prepended to data feed files.
      パラメータ:
        `prefix` - Contains the prefix that is prepended to data feed files.

    - #### withPrefix

          public SpotDatafeedSubscription withPrefix(java.lang.String prefix)

      Contains the prefix that is prepended to data feed files.

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

      パラメータ:
        `prefix` - Contains the prefix that is prepended to data feed files.

    - #### getState

          public java.lang.String getState()

      Specifies the state of the Spot Instance request.
      戻り値:
        Specifies the state of the Spot Instance request.

    - #### setState

          public void setState(java.lang.String state)

      Specifies the state of the Spot Instance request.
      パラメータ:
        `state` - Specifies the state of the Spot Instance request.

    - #### withState

          public SpotDatafeedSubscription withState(java.lang.String state)

      Specifies the state of the Spot Instance request.

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

      パラメータ:
        `state` - Specifies the state of the Spot Instance request.

    - #### getFault

          public SpotInstanceStateFault getFault()

      Specifies a fault code for the Spot Instance request, if present.
      戻り値:
        Specifies a fault code for the Spot Instance request, if present.

    - #### setFault

          public void setFault(SpotInstanceStateFault fault)

      Specifies a fault code for the Spot Instance request, if present.
      パラメータ:
        `fault` - Specifies a fault code for the Spot Instance request, if present.

    - #### withFault

          public SpotDatafeedSubscription withFault(SpotInstanceStateFault fault)

      Specifies a fault code for the Spot Instance request, if present.

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

      パラメータ:
        `fault` - Specifies a fault code for the Spot Instance request, if present.

    - #### 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`