com.amazonaws.services.ec2.model

## クラス CreateSpotDatafeedSubscriptionRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.CreateSpotDatafeedSubscriptionRequest

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

      public class CreateSpotDatafeedSubscriptionRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateSpotDatafeedSubscription operation`.

  Creates the data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per account.

  For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

  関連項目:
    `AmazonEC2.createSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `CreateSpotDatafeedSubscriptionRequest()` Default constructor for a new CreateSpotDatafeedSubscriptionRequest object.
    `CreateSpotDatafeedSubscriptionRequest(java.lang.String bucket)` Constructs a new CreateSpotDatafeedSubscriptionRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getBucket()` The Amazon S3 bucket in which to store the Spot Instance datafeed.
    `java.lang.String` | `getPrefix()` The prefix that is prepended to datafeed files.
    `int` | `hashCode()`
    `void` | `setBucket(java.lang.String bucket)` The Amazon S3 bucket in which to store the Spot Instance datafeed.
    `void` | `setPrefix(java.lang.String prefix)` The prefix that is prepended to datafeed files.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateSpotDatafeedSubscriptionRequest` | `withBucket(java.lang.String bucket)` The Amazon S3 bucket in which to store the Spot Instance datafeed.
    `CreateSpotDatafeedSubscriptionRequest` | `withPrefix(java.lang.String prefix)` The prefix that is prepended to datafeed files.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateSpotDatafeedSubscriptionRequest

          public CreateSpotDatafeedSubscriptionRequest()

      Default constructor for a new CreateSpotDatafeedSubscriptionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### CreateSpotDatafeedSubscriptionRequest

          public CreateSpotDatafeedSubscriptionRequest(java.lang.String bucket)

      Constructs a new CreateSpotDatafeedSubscriptionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `bucket` - The Amazon S3 bucket in which to store the Spot Instance datafeed.

  - ### メソッドの詳細

    - #### getBucket

          public java.lang.String getBucket()

      The Amazon S3 bucket in which to store the Spot Instance datafeed.
      戻り値:
        The Amazon S3 bucket in which to store the Spot Instance datafeed.

    - #### setBucket

          public void setBucket(java.lang.String bucket)

      The Amazon S3 bucket in which to store the Spot Instance datafeed.
      パラメータ:
        `bucket` - The Amazon S3 bucket in which to store the Spot Instance datafeed.

    - #### withBucket

          public CreateSpotDatafeedSubscriptionRequest withBucket(java.lang.String bucket)

      The Amazon S3 bucket in which to store the Spot Instance datafeed.

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

      パラメータ:
        `bucket` - The Amazon S3 bucket in which to store the Spot Instance datafeed.

    - #### getPrefix

          public java.lang.String getPrefix()

      The prefix that is prepended to datafeed files.
      戻り値:
        The prefix that is prepended to datafeed files.

    - #### setPrefix

          public void setPrefix(java.lang.String prefix)

      The prefix that is prepended to datafeed files.
      パラメータ:
        `prefix` - The prefix that is prepended to datafeed files.

    - #### withPrefix

          public CreateSpotDatafeedSubscriptionRequest withPrefix(java.lang.String prefix)

      The prefix that is prepended to datafeed files.

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

      パラメータ:
        `prefix` - The prefix that is prepended to datafeed files.

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