Class: Aws::SupportAuthZ::Types::Condition
- Inherits:
-
Struct
- Object
- Struct
- Aws::SupportAuthZ::Types::Condition
- Defined in:
- gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/types.rb
Overview
Note:
Condition is a union - when making an API calls you must set exactly one of the members.
Note:
Condition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Condition corresponding to the set member.
A time-window condition that constrains when a support permit is valid.
Defined Under Namespace
Classes: AllowAfter, AllowBefore, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allow_after ⇒ Time
The earliest time at which the permit becomes valid.
-
#allow_before ⇒ Time
The latest time at which the permit remains valid.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#allow_after ⇒ Time
The earliest time at which the permit becomes valid.
98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/types.rb', line 98 class Condition < Struct.new( :allow_after, :allow_before, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AllowAfter < Condition; end class AllowBefore < Condition; end class Unknown < Condition; end end |
#allow_before ⇒ Time
The latest time at which the permit remains valid.
98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/types.rb', line 98 class Condition < Struct.new( :allow_after, :allow_before, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AllowAfter < Condition; end class AllowBefore < Condition; end class Unknown < Condition; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
98 99 100 |
# File 'gems/aws-sdk-supportauthz/lib/aws-sdk-supportauthz/types.rb', line 98 def unknown @unknown end |