BucketObjectLockConfigurationV2RuleDefaultRetention class
Constructors
-
BucketObjectLockConfigurationV2RuleDefaultRetention({Input<
int?> ? days, Input<String?> ? mode, Input<int?> ? years}) -
Creates a new BucketObjectLockConfigurationV2RuleDefaultRetention.
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 the specified bucket. Valid values:COMPLIANCE,GOVERNANCE.yearsNumber of years that you want to specify for the default retention period.const -
BucketObjectLockConfigurationV2RuleDefaultRetention.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 the specified bucket. Valid values:
COMPLIANCE,GOVERNANCE.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