com.amazonaws.services.elasticache.model

## クラス DescribeEventsRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elasticache.model.DescribeEventsRequest

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

      public class DescribeEventsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeEvents operation`.

  Returns events related to Cache Clusters, Cache Security Groups, and Cache Parameter Groups for the past 14 days. Events specific to a particular Cache Cluster, Cache Security Group, or Cache Parameter Group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.

  関連項目:
    `AmazonElastiCache.describeEvents(DescribeEventsRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Integer` | `getDuration()` The number of minutes to retrieve events for.
    `java.util.Date` | `getEndTime()` The end of the time interval for which to retrieve events, specified in ISO 8601 format.
    `java.lang.String` | `getMarker()` An optional marker provided in the previous DescribeCacheClusters request.
    `java.lang.Integer` | `getMaxRecords()` The maximum number of records to include in the response.
    `java.lang.String` | `getSourceIdentifier()` The identifier of the event source for which events will be returned.
    `java.lang.String` | `getSourceType()` The event source to retrieve events for.
    `java.util.Date` | `getStartTime()` The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
    `int` | `hashCode()`
    `void` | `setDuration(java.lang.Integer duration)` The number of minutes to retrieve events for.
    `void` | `setEndTime(java.util.Date endTime)` The end of the time interval for which to retrieve events, specified in ISO 8601 format.
    `void` | `setMarker(java.lang.String marker)` An optional marker provided in the previous DescribeCacheClusters request.
    `void` | `setMaxRecords(java.lang.Integer maxRecords)` The maximum number of records to include in the response.
    `void` | `setSourceIdentifier(java.lang.String sourceIdentifier)` The identifier of the event source for which events will be returned.
    `void` | `setSourceType(SourceType sourceType)` The event source to retrieve events for.
    `void` | `setSourceType(java.lang.String sourceType)` The event source to retrieve events for.
    `void` | `setStartTime(java.util.Date startTime)` The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeEventsRequest` | `withDuration(java.lang.Integer duration)` The number of minutes to retrieve events for.
    `DescribeEventsRequest` | `withEndTime(java.util.Date endTime)` The end of the time interval for which to retrieve events, specified in ISO 8601 format.
    `DescribeEventsRequest` | `withMarker(java.lang.String marker)` An optional marker provided in the previous DescribeCacheClusters request.
    `DescribeEventsRequest` | `withMaxRecords(java.lang.Integer maxRecords)` The maximum number of records to include in the response.
    `DescribeEventsRequest` | `withSourceIdentifier(java.lang.String sourceIdentifier)` The identifier of the event source for which events will be returned.
    `DescribeEventsRequest` | `withSourceType(SourceType sourceType)` The event source to retrieve events for.
    `DescribeEventsRequest` | `withSourceType(java.lang.String sourceType)` The event source to retrieve events for.
    `DescribeEventsRequest` | `withStartTime(java.util.Date startTime)` The beginning of the time interval to retrieve events for, specified in ISO 8601 format.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeEventsRequest

          public DescribeEventsRequest()

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

  - ### メソッドの詳細

    - #### getSourceIdentifier

          public java.lang.String getSourceIdentifier()

      The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.
      戻り値:
        The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.

    - #### setSourceIdentifier

          public void setSourceIdentifier(java.lang.String sourceIdentifier)

      The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.
      パラメータ:
        `sourceIdentifier` - The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.

    - #### withSourceIdentifier

          public DescribeEventsRequest withSourceIdentifier(java.lang.String sourceIdentifier)

      The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.

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

      パラメータ:
        `sourceIdentifier` - The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.

    - #### getSourceType

          public java.lang.String getSourceType()

      The event source to retrieve events for. If no value is specified, all events are returned.

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

      戻り値:
        The event source to retrieve events for. If no value is specified, all events are returned.
      関連項目:
        `SourceType`

    - #### setSourceType

          public void setSourceType(java.lang.String sourceType)

      The event source to retrieve events for. If no value is specified, all events are returned.

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

      パラメータ:
        `sourceType` - The event source to retrieve events for. If no value is specified, all events are returned.
      関連項目:
        `SourceType`

    - #### withSourceType

          public DescribeEventsRequest withSourceType(java.lang.String sourceType)

      The event source to retrieve events for. If no value is specified, all events are returned.

      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` - The event source to retrieve events for. If no value is specified, all events are returned.
      関連項目:
        `SourceType`

    - #### setSourceType

          public void setSourceType(SourceType sourceType)

      The event source to retrieve events for. If no value is specified, all events are returned.

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

      パラメータ:
        `sourceType` - The event source to retrieve events for. If no value is specified, all events are returned.
      関連項目:
        `SourceType`

    - #### withSourceType

          public DescribeEventsRequest withSourceType(SourceType sourceType)

      The event source to retrieve events for. If no value is specified, all events are returned.

      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` - The event source to retrieve events for. If no value is specified, all events are returned.
      関連項目:
        `SourceType`

    - #### getStartTime

          public java.util.Date getStartTime()

      The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
      戻り値:
        The beginning of the time interval to retrieve events for, specified in ISO 8601 format.

    - #### setStartTime

          public void setStartTime(java.util.Date startTime)

      The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
      パラメータ:
        `startTime` - The beginning of the time interval to retrieve events for, specified in ISO 8601 format.

    - #### withStartTime

          public DescribeEventsRequest withStartTime(java.util.Date startTime)

      The beginning of the time interval to retrieve events for, specified in ISO 8601 format.

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

      パラメータ:
        `startTime` - The beginning of the time interval to retrieve events for, specified in ISO 8601 format.

    - #### getEndTime

          public java.util.Date getEndTime()

      The end of the time interval for which to retrieve events, specified in ISO 8601 format.
      戻り値:
        The end of the time interval for which to retrieve events, specified in ISO 8601 format.

    - #### setEndTime

          public void setEndTime(java.util.Date endTime)

      The end of the time interval for which to retrieve events, specified in ISO 8601 format.
      パラメータ:
        `endTime` - The end of the time interval for which to retrieve events, specified in ISO 8601 format.

    - #### withEndTime

          public DescribeEventsRequest withEndTime(java.util.Date endTime)

      The end of the time interval for which to retrieve events, specified in ISO 8601 format.

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

      パラメータ:
        `endTime` - The end of the time interval for which to retrieve events, specified in ISO 8601 format.

    - #### getDuration

          public java.lang.Integer getDuration()

      The number of minutes to retrieve events for.
      戻り値:
        The number of minutes to retrieve events for.

    - #### setDuration

          public void setDuration(java.lang.Integer duration)

      The number of minutes to retrieve events for.
      パラメータ:
        `duration` - The number of minutes to retrieve events for.

    - #### withDuration

          public DescribeEventsRequest withDuration(java.lang.Integer duration)

      The number of minutes to retrieve events for.

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

      パラメータ:
        `duration` - The number of minutes to retrieve events for.

    - #### getMaxRecords

          public java.lang.Integer getMaxRecords()

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.
      戻り値:
        The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

    - #### setMaxRecords

          public void setMaxRecords(java.lang.Integer maxRecords)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.
      パラメータ:
        `maxRecords` - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

    - #### withMaxRecords

          public DescribeEventsRequest withMaxRecords(java.lang.Integer maxRecords)

      The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

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

      パラメータ:
        `maxRecords` - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

    - #### getMarker

          public java.lang.String getMarker()

      An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
      戻り値:
        An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

    - #### setMarker

          public void setMarker(java.lang.String marker)

      An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
      パラメータ:
        `marker` - An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

    - #### withMarker

          public DescribeEventsRequest withMarker(java.lang.String marker)

      An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

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

      パラメータ:
        `marker` - An optional marker provided in the previous DescribeCacheClusters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

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