public class DateCondition extends Condition
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
DateCondition.DateComparisonType
Enumeration of the supported ways a date comparison can be evaluated.
|
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.
|
getConditionKey, getType, getValues, setConditionKey, setType, setValues, withConditionKey, withType, withValues, withValuespublic DateCondition(DateCondition.DateComparisonType type, java.util.Date 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.