com.amazonaws.auth.policy.conditions

## クラス DateCondition

- java.lang.Object
- - com.amazonaws.auth.policy.Condition
  - - com.amazonaws.auth.policy.conditions.DateCondition

-     public class DateCondition
      extends Condition

  AWS access control policy condition that allows an access control statement to be conditionally applied based on the comparison of the current time at which a request is received, and a specific date.

- - ### ネストされたクラスの概要

    ネストされたクラス
    修飾子とタイプ | クラスと説明
    --- | ---
    `static class` | `DateCondition.DateComparisonType` Enumeration of the supported ways a date comparison can be evaluated.

  - ### フィールドの概要

    - ### クラスから継承されたフィールド com.amazonaws.auth.policy.Condition

      `conditionKey, type, values`

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

    コンストラクタ
    コンストラクタと説明
    `DateCondition(DateCondition.DateComparisonType type, java.util.Date date)` Constructs a new access policy condition that compares the current time (on the AWS servers) to the specified date.

  - ### メソッドの概要

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

      `getConditionKey, getType, getValues, setConditionKey, setType, setValues, withConditionKey, withType, withValues, withValues`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

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

    - #### DateCondition

          public DateCondition(DateCondition.DateComparisonType type,
                       java.util.Date date)

      Constructs a new access policy condition that compares the current time (on the AWS servers) to the specified date.
      パラメータ:
        `type` - The type of comparison to perform. For example, `DateCondition.DateComparisonType.DateLessThan` will cause this policy condition to evaluate to true if the current date is less than the date specified in the second argument.
        `date` - The date to compare against.