@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnlockDelay extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
UnlockDelay() |
Modifier and Type | Method and Description |
---|---|
UnlockDelay |
clone() |
boolean |
equals(Object obj) |
String |
getUnlockDelayUnit()
The unit of time in which to measure the unlock delay.
|
Integer |
getUnlockDelayValue()
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUnlockDelayUnit(String unlockDelayUnit)
The unit of time in which to measure the unlock delay.
|
void |
setUnlockDelayValue(Integer unlockDelayValue)
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
|
String |
toString()
Returns a string representation of this object.
|
UnlockDelay |
withUnlockDelayUnit(String unlockDelayUnit)
The unit of time in which to measure the unlock delay.
|
UnlockDelay |
withUnlockDelayUnit(UnlockDelayUnit unlockDelayUnit)
The unit of time in which to measure the unlock delay.
|
UnlockDelay |
withUnlockDelayValue(Integer unlockDelayValue)
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
|
public void setUnlockDelayValue(Integer unlockDelayValue)
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
unlockDelayValue
- The unlock delay period, measured in the unit specified for UnlockDelayUnit.public Integer getUnlockDelayValue()
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
public UnlockDelay withUnlockDelayValue(Integer unlockDelayValue)
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
unlockDelayValue
- The unlock delay period, measured in the unit specified for UnlockDelayUnit.public void setUnlockDelayUnit(String unlockDelayUnit)
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
unlockDelayUnit
- The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in
days.UnlockDelayUnit
public String getUnlockDelayUnit()
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
UnlockDelayUnit
public UnlockDelay withUnlockDelayUnit(String unlockDelayUnit)
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
unlockDelayUnit
- The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in
days.UnlockDelayUnit
public UnlockDelay withUnlockDelayUnit(UnlockDelayUnit unlockDelayUnit)
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
unlockDelayUnit
- The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in
days.UnlockDelayUnit
public String toString()
toString
in class Object
Object.toString()
public UnlockDelay clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.