public class GetObjectLegalHoldResult extends Object implements Serializable
AmazonS3.getObjectLegalHold(GetObjectLegalHoldRequest)
.Constructor and Description |
---|
GetObjectLegalHoldResult() |
Modifier and Type | Method and Description |
---|---|
ObjectLockLegalHold |
getLegalHold()
The current Legal Hold status for the specified object.
|
void |
setLegalHold(ObjectLockLegalHold legalHold)
The current Legal Hold status for the specified object.
|
GetObjectLegalHoldResult |
withLegalHold(ObjectLockLegalHold legalHold)
The current Legal Hold status for the specified object.
|
public ObjectLockLegalHold getLegalHold()
public GetObjectLegalHoldResult withLegalHold(ObjectLockLegalHold legalHold)
public void setLegalHold(ObjectLockLegalHold legalHold)
Copyright © 2021. All rights reserved.