public static interface RuleSummary.Builder extends SdkPojo, CopyableBuilder<RuleSummary.Builder,RuleSummary>
| Modifier and Type | Method and Description |
|---|---|
RuleSummary.Builder |
description(String description)
The retention rule description.
|
RuleSummary.Builder |
identifier(String identifier)
The unique ID of the retention rule.
|
RuleSummary.Builder |
lockState(LockState lockState)
The lock state for the retention rule.
|
RuleSummary.Builder |
lockState(String lockState)
The lock state for the retention rule.
|
default RuleSummary.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Information about the retention period for which the retention rule is to retain resources.
|
RuleSummary.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
Information about the retention period for which the retention rule is to retain resources.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRuleSummary.Builder identifier(String identifier)
The unique ID of the retention rule.
identifier - The unique ID of the retention rule.RuleSummary.Builder description(String description)
The retention rule description.
description - The retention rule description.RuleSummary.Builder retentionPeriod(RetentionPeriod retentionPeriod)
Information about the retention period for which the retention rule is to retain resources.
retentionPeriod - Information about the retention period for which the retention rule is to retain resources.default RuleSummary.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Information about the retention period for which the retention rule is to retain resources.
This is a convenience method that creates an instance of theRetentionPeriod.Builder avoiding the
need to create one manually via RetentionPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retentionPeriod(RetentionPeriod).
retentionPeriod - a consumer that will call methods on RetentionPeriod.BuilderretentionPeriod(RetentionPeriod)RuleSummary.Builder lockState(String lockState)
The lock state for the retention rule.
locked - The retention rule is locked and can't be modified or deleted.
pending_unlock - The retention rule has been unlocked but it is still within the unlock delay
period. The retention rule can be modified or deleted only after the unlock delay period has expired.
unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the
required permissions.
null - The retention rule has never been locked. Once a retention rule has been locked, it can
transition between the locked and unlocked states only; it can never transition
back to null.
lockState - The lock state for the retention rule.
locked - The retention rule is locked and can't be modified or deleted.
pending_unlock - The retention rule has been unlocked but it is still within the unlock
delay period. The retention rule can be modified or deleted only after the unlock delay period has
expired.
unlocked - The retention rule is unlocked and it can be modified or deleted by any user
with the required permissions.
null - The retention rule has never been locked. Once a retention rule has been locked,
it can transition between the locked and unlocked states only; it can never
transition back to null.
LockState,
LockStateRuleSummary.Builder lockState(LockState lockState)
The lock state for the retention rule.
locked - The retention rule is locked and can't be modified or deleted.
pending_unlock - The retention rule has been unlocked but it is still within the unlock delay
period. The retention rule can be modified or deleted only after the unlock delay period has expired.
unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the
required permissions.
null - The retention rule has never been locked. Once a retention rule has been locked, it can
transition between the locked and unlocked states only; it can never transition
back to null.
lockState - The lock state for the retention rule.
locked - The retention rule is locked and can't be modified or deleted.
pending_unlock - The retention rule has been unlocked but it is still within the unlock
delay period. The retention rule can be modified or deleted only after the unlock delay period has
expired.
unlocked - The retention rule is unlocked and it can be modified or deleted by any user
with the required permissions.
null - The retention rule has never been locked. Once a retention rule has been locked,
it can transition between the locked and unlocked states only; it can never
transition back to null.
LockState,
LockStateCopyright © 2023. All rights reserved.