@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3ObjectLockLegalHold extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
S3ObjectLockLegalHold() |
| Modifier and Type | Method and Description |
|---|---|
S3ObjectLockLegalHold |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The Legal Hold status to be applied to all objects in the Batch Operations job.
|
int |
hashCode() |
void |
setStatus(String status)
The Legal Hold status to be applied to all objects in the Batch Operations job.
|
String |
toString()
Returns a string representation of this object.
|
S3ObjectLockLegalHold |
withStatus(S3ObjectLockLegalHoldStatus status)
The Legal Hold status to be applied to all objects in the Batch Operations job.
|
S3ObjectLockLegalHold |
withStatus(String status)
The Legal Hold status to be applied to all objects in the Batch Operations job.
|
public void setStatus(String status)
The Legal Hold status to be applied to all objects in the Batch Operations job.
status - The Legal Hold status to be applied to all objects in the Batch Operations job.S3ObjectLockLegalHoldStatuspublic String getStatus()
The Legal Hold status to be applied to all objects in the Batch Operations job.
S3ObjectLockLegalHoldStatuspublic S3ObjectLockLegalHold withStatus(String status)
The Legal Hold status to be applied to all objects in the Batch Operations job.
status - The Legal Hold status to be applied to all objects in the Batch Operations job.S3ObjectLockLegalHoldStatuspublic S3ObjectLockLegalHold withStatus(S3ObjectLockLegalHoldStatus status)
The Legal Hold status to be applied to all objects in the Batch Operations job.
status - The Legal Hold status to be applied to all objects in the Batch Operations job.S3ObjectLockLegalHoldStatuspublic String toString()
toString in class ObjectObject.toString()public S3ObjectLockLegalHold clone()
Copyright © 2020. All rights reserved.