@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.S3ObjectLockLegalHoldStatus
public String getStatus()
The Legal Hold status to be applied to all objects in the Batch Operations job.
S3ObjectLockLegalHoldStatus
public 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.S3ObjectLockLegalHoldStatus
public 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.S3ObjectLockLegalHoldStatus
public String toString()
toString
in class Object
Object.toString()
public S3ObjectLockLegalHold clone()