Class UnlockDelay
- java.lang.Object
-
- software.amazon.awssdk.services.rbin.model.UnlockDelay
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UnlockDelay.Builder,UnlockDelay>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUnlockDelay.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnlockDelay.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UnlockDelay.Builder>serializableBuilderClass()UnlockDelay.BuildertoBuilder()StringtoString()Returns a string representation of this object.UnlockDelayUnitunlockDelayUnit()The unit of time in which to measure the unlock delay.StringunlockDelayUnitAsString()The unit of time in which to measure the unlock delay.IntegerunlockDelayValue()The unlock delay period, measured in the unit specified for UnlockDelayUnit.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
unlockDelayValue
public final Integer unlockDelayValue()
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
- Returns:
- The unlock delay period, measured in the unit specified for UnlockDelayUnit.
-
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,
unlockDelayUnitwill returnUnlockDelayUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunlockDelayUnitAsString().- Returns:
- The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
- See Also:
UnlockDelayUnit
-
unlockDelayUnitAsString
public 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,
unlockDelayUnitwill returnUnlockDelayUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunlockDelayUnitAsString().- Returns:
- The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
- See Also:
UnlockDelayUnit
-
toBuilder
public UnlockDelay.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UnlockDelay.Builder,UnlockDelay>
-
builder
public static UnlockDelay.Builder builder()
-
serializableBuilderClass
public static Class<? extends UnlockDelay.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-