BucketV2ObjectLockConfigurationRuleDefaultRetention class
Constructors
-
BucketV2ObjectLockConfigurationRuleDefaultRetention({Input<
int?> ? days, required Input<String> mode, Input<int?> ? years}) -
Creates a new BucketV2ObjectLockConfigurationRuleDefaultRetention.
daysNumber of days that you want to specify for the default retention period.modeDefault Object Lock retention mode you want to apply to new objects placed in this bucket. Valid values areGOVERNANCEandCOMPLIANCE.yearsNumber of years that you want to specify for the default retention period.const -
BucketV2ObjectLockConfigurationRuleDefaultRetention.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
days
→ Input<
int?> ? -
Number of days that you want to specify for the default retention period.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mode
→ Input<
String> -
Default Object Lock retention mode you want to apply to new objects placed in this bucket. Valid values are
GOVERNANCEandCOMPLIANCE.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
years
→ Input<
int?> ? -
Number of years that you want to specify for the default retention period.
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