ExpirationPolicy class
A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).
Constructors
-
ExpirationPolicy({Input<
String> ? ttl}) -
Creates a new ExpirationPolicy.
ttlOptional. Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period ofttl. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values forttldepend on the type of the associated resource, as well. Ifttlis not set, the associated resource never expires.const -
ExpirationPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
ttl
→ Input<
String> ? -
Optional. Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of
ttl. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values forttldepend on the type of the associated resource, as well. Ifttlis not set, the associated resource never expires.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited