@Generated(value="software.amazon.awssdk:codegen") public final class UnlockDelay extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UnlockDelay.Builder,UnlockDelay>
Information about the retention rule unlock delay. The unlock delay is the period after which a retention rule can be modified or edited after it has been unlocked by a user with the required permissions. The retention rule can't be modified or deleted during the unlock delay.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UnlockDelay.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UnlockDelay.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UnlockDelay.Builder> |
serializableBuilderClass() |
UnlockDelay.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UnlockDelayUnit |
unlockDelayUnit()
The unit of time in which to measure the unlock delay.
|
String |
unlockDelayUnitAsString()
The unit of time in which to measure the unlock delay.
|
Integer |
unlockDelayValue()
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer unlockDelayValue()
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
public final UnlockDelayUnit unlockDelayUnit()
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
If the service returns an enum value that is not available in the current SDK version, unlockDelayUnit
will return UnlockDelayUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from unlockDelayUnitAsString().
UnlockDelayUnitpublic final String unlockDelayUnitAsString()
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
If the service returns an enum value that is not available in the current SDK version, unlockDelayUnit
will return UnlockDelayUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from unlockDelayUnitAsString().
UnlockDelayUnitpublic UnlockDelay.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UnlockDelay.Builder,UnlockDelay>public static UnlockDelay.Builder builder()
public static Class<? extends UnlockDelay.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.