RetentionRuleSummary¶
- class oci.object_storage.models.RetentionRuleSummary(**kwargs)¶
Bases:
objectThe summary of a retention rule.
Methods:
__init__(**kwargs)Initializes a new RetentionRuleSummary object with values from keyword arguments.
Attributes:
[Required] Gets the display_name of this RetentionRuleSummary.
Gets the duration of this RetentionRuleSummary.
[Required] Gets the etag of this RetentionRuleSummary.
[Required] Gets the id of this RetentionRuleSummary.
[Required] Gets the time_created of this RetentionRuleSummary.
[Required] Gets the time_modified of this RetentionRuleSummary.
Gets the time_rule_locked of this RetentionRuleSummary.
- __init__(**kwargs)¶
Initializes a new RetentionRuleSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this RetentionRuleSummary.
display_name (str) – The value to assign to the display_name property of this RetentionRuleSummary.
duration (oci.object_storage.models.Duration) – The value to assign to the duration property of this RetentionRuleSummary.
etag (str) – The value to assign to the etag property of this RetentionRuleSummary.
time_rule_locked (datetime) – The value to assign to the time_rule_locked property of this RetentionRuleSummary.
time_created (datetime) – The value to assign to the time_created property of this RetentionRuleSummary.
time_modified (datetime) – The value to assign to the time_modified property of this RetentionRuleSummary.
- property display_name¶
[Required] Gets the display_name of this RetentionRuleSummary. User specified name for the retention rule.
- Returns
The display_name of this RetentionRuleSummary.
- Return type
str
- property duration¶
Gets the duration of this RetentionRuleSummary.
- Returns
The duration of this RetentionRuleSummary.
- Return type
- property etag¶
[Required] Gets the etag of this RetentionRuleSummary. The entity tag (ETag) for the retention rule.
- Returns
The etag of this RetentionRuleSummary.
- Return type
str
- property id¶
[Required] Gets the id of this RetentionRuleSummary. Unique identifier for the retention rule.
- Returns
The id of this RetentionRuleSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this RetentionRuleSummary. The date and time that the retention rule was created as per RFC3339.
- Returns
The time_created of this RetentionRuleSummary.
- Return type
datetime