/** * <p> * Indicates whether the specified object has a Legal Hold in place. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #status} will * return {@link ObjectLockLegalHoldStatus#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is * available from {@link #statusAsString}. * </p> * * @return Indicates whether the specified object has a Legal Hold in place. * @see ObjectLockLegalHoldStatus */ public ObjectLockLegalHoldStatus status() { return ObjectLockLegalHoldStatus.fromValue(status); }
/** * <p> * Specifies whether you want to apply a Legal Hold to the uploaded object. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, * {@link #objectLockLegalHoldStatus} will return {@link ObjectLockLegalHoldStatus#UNKNOWN_TO_SDK_VERSION}. The raw * value returned by the service is available from {@link #objectLockLegalHoldStatusAsString}. * </p> * * @return Specifies whether you want to apply a Legal Hold to the uploaded object. * @see ObjectLockLegalHoldStatus */ public ObjectLockLegalHoldStatus objectLockLegalHoldStatus() { return ObjectLockLegalHoldStatus.fromValue(objectLockLegalHoldStatus); }
/** * <p> * The Legal Hold status that you want to apply to the specified object. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, * {@link #objectLockLegalHoldStatus} will return {@link ObjectLockLegalHoldStatus#UNKNOWN_TO_SDK_VERSION}. The raw * value returned by the service is available from {@link #objectLockLegalHoldStatusAsString}. * </p> * * @return The Legal Hold status that you want to apply to the specified object. * @see ObjectLockLegalHoldStatus */ public ObjectLockLegalHoldStatus objectLockLegalHoldStatus() { return ObjectLockLegalHoldStatus.fromValue(objectLockLegalHoldStatus); }
/** * <p> * The Legal Hold status for the specified object. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, * {@link #objectLockLegalHoldStatus} will return {@link ObjectLockLegalHoldStatus#UNKNOWN_TO_SDK_VERSION}. The raw * value returned by the service is available from {@link #objectLockLegalHoldStatusAsString}. * </p> * * @return The Legal Hold status for the specified object. * @see ObjectLockLegalHoldStatus */ public ObjectLockLegalHoldStatus objectLockLegalHoldStatus() { return ObjectLockLegalHoldStatus.fromValue(objectLockLegalHoldStatus); }
/** * <p> * Specifies whether you want to apply a Legal Hold to the copied object. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, * {@link #objectLockLegalHoldStatus} will return {@link ObjectLockLegalHoldStatus#UNKNOWN_TO_SDK_VERSION}. The raw * value returned by the service is available from {@link #objectLockLegalHoldStatusAsString}. * </p> * * @return Specifies whether you want to apply a Legal Hold to the copied object. * @see ObjectLockLegalHoldStatus */ public ObjectLockLegalHoldStatus objectLockLegalHoldStatus() { return ObjectLockLegalHoldStatus.fromValue(objectLockLegalHoldStatus); }
/** * <p> * Indicates whether this object has an active legal hold. This field is only returned if you have permission to * view an object's legal hold status. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, * {@link #objectLockLegalHoldStatus} will return {@link ObjectLockLegalHoldStatus#UNKNOWN_TO_SDK_VERSION}. The raw * value returned by the service is available from {@link #objectLockLegalHoldStatusAsString}. * </p> * * @return Indicates whether this object has an active legal hold. This field is only returned if you have * permission to view an object's legal hold status. * @see ObjectLockLegalHoldStatus */ public ObjectLockLegalHoldStatus objectLockLegalHoldStatus() { return ObjectLockLegalHoldStatus.fromValue(objectLockLegalHoldStatus); }