com.amazonaws.services.elasticache.model

## クラス Event

- java.lang.Object
- - com.amazonaws.services.elasticache.model.Event

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

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

  An event represents something interesting that has happened in the system.

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

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

    コンストラクタ
    コンストラクタと説明
    `Event()` Default constructor for a new Event object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.Date` | `getDate()` Specifies the date and time of the event.
    `java.lang.String` | `getMessage()` Provides the text of this event.
    `java.lang.String` | `getSourceIdentifier()` Provides the identifier for the source of the event.
    `java.lang.String` | `getSourceType()` Specifies the source type for this event.
    `int` | `hashCode()`
    `void` | `setDate(java.util.Date date)` Specifies the date and time of the event.
    `void` | `setMessage(java.lang.String message)` Provides the text of this event.
    `void` | `setSourceIdentifier(java.lang.String sourceIdentifier)` Provides the identifier for the source of the event.
    `void` | `setSourceType(SourceType sourceType)` Specifies the source type for this event.
    `void` | `setSourceType(java.lang.String sourceType)` Specifies the source type for this event.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Event` | `withDate(java.util.Date date)` Specifies the date and time of the event.
    `Event` | `withMessage(java.lang.String message)` Provides the text of this event.
    `Event` | `withSourceIdentifier(java.lang.String sourceIdentifier)` Provides the identifier for the source of the event.
    `Event` | `withSourceType(SourceType sourceType)` Specifies the source type for this event.
    `Event` | `withSourceType(java.lang.String sourceType)` Specifies the source type for this event.

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

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

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

    - #### Event

          public Event()

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

  - ### メソッドの詳細

    - #### getSourceIdentifier

          public java.lang.String getSourceIdentifier()

      Provides the identifier for the source of the event.
      戻り値:
        Provides the identifier for the source of the event.

    - #### setSourceIdentifier

          public void setSourceIdentifier(java.lang.String sourceIdentifier)

      Provides the identifier for the source of the event.
      パラメータ:
        `sourceIdentifier` - Provides the identifier for the source of the event.

    - #### withSourceIdentifier

          public Event withSourceIdentifier(java.lang.String sourceIdentifier)

      Provides the identifier for the source of the event.

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

      パラメータ:
        `sourceIdentifier` - Provides the identifier for the source of the event.

    - #### getSourceType

          public java.lang.String getSourceType()

      Specifies the source type for this event.

      Constraints:
      Allowed Values: cache-cluster, cache-parameter-group, cache-security-group, cache-subnet-group

      戻り値:
        Specifies the source type for this event.
      関連項目:
        `SourceType`

    - #### setSourceType

          public void setSourceType(java.lang.String sourceType)

      Specifies the source type for this event.

      Constraints:
      Allowed Values: cache-cluster, cache-parameter-group, cache-security-group, cache-subnet-group

      パラメータ:
        `sourceType` - Specifies the source type for this event.
      関連項目:
        `SourceType`

    - #### withSourceType

          public Event withSourceType(java.lang.String sourceType)

      Specifies the source type for this event.

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

      Constraints:
      Allowed Values: cache-cluster, cache-parameter-group, cache-security-group, cache-subnet-group

      パラメータ:
        `sourceType` - Specifies the source type for this event.
      関連項目:
        `SourceType`

    - #### setSourceType

          public void setSourceType(SourceType sourceType)

      Specifies the source type for this event.

      Constraints:
      Allowed Values: cache-cluster, cache-parameter-group, cache-security-group, cache-subnet-group

      パラメータ:
        `sourceType` - Specifies the source type for this event.
      関連項目:
        `SourceType`

    - #### withSourceType

          public Event withSourceType(SourceType sourceType)

      Specifies the source type for this event.

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

      Constraints:
      Allowed Values: cache-cluster, cache-parameter-group, cache-security-group, cache-subnet-group

      パラメータ:
        `sourceType` - Specifies the source type for this event.
      関連項目:
        `SourceType`

    - #### getMessage

          public java.lang.String getMessage()

      Provides the text of this event.
      戻り値:
        Provides the text of this event.

    - #### setMessage

          public void setMessage(java.lang.String message)

      Provides the text of this event.
      パラメータ:
        `message` - Provides the text of this event.

    - #### withMessage

          public Event withMessage(java.lang.String message)

      Provides the text of this event.

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

      パラメータ:
        `message` - Provides the text of this event.

    - #### getDate

          public java.util.Date getDate()

      Specifies the date and time of the event.
      戻り値:
        Specifies the date and time of the event.

    - #### setDate

          public void setDate(java.util.Date date)

      Specifies the date and time of the event.
      パラメータ:
        `date` - Specifies the date and time of the event.

    - #### withDate

          public Event withDate(java.util.Date date)

      Specifies the date and time of the event.

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

      パラメータ:
        `date` - Specifies the date and time of the event.

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