public class DeleteLegalHoldRequest extends AmazonWebServiceRequest implements Serializable
NOOP
Constructor and Description |
---|
DeleteLegalHoldRequest(String bucketName,
String key,
String legalHoldId)
Constructs a new DeleteLegalHoldRequest.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket containing the reference to the object to
delete a legal hold from.
|
String |
getKey()
Gets the key, the name of the reference to the object to delete a legal hold from.
|
String |
getLegalHoldId()
Returns the legal hold id to be deleted.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket containing the reference to the object to
delete a legal hold from.
|
void |
setKey(String key)
Sets the key, the name of the reference to the object to delete a legal hold from.
|
void |
setLegalHoldId(String legalHoldId)
Sets the legal hold id to be deleted.
|
DeleteLegalHoldRequest |
withBucketName(String bucketName)
Sets the name of the bucket containing the reference to the object to
delete a legal hold from, and returns a reference to this
object(DeleteLegalHoldRequest) for method chaining.
|
DeleteLegalHoldRequest |
withKey(String key)
Sets the key, the name of the reference to the object to delete a legal hold from.
|
DeleteLegalHoldRequest |
withLegalHoldId(String legalHoldId)
Sets the legal hold id to be deleted and returns a reference to
this object for method chaining.
|
addHandlerContext, clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DeleteLegalHoldRequest(String bucketName, String key, String legalHoldId)
Constructs a new DeleteLegalHoldRequest.
bucketName
- The name of the bucket containing the reference to the object
to delete a legal hold from.key
- The key, the name of the reference to the object to delete a legal hold from.legalHoldId
- The id of the legal hold to delete.public String getBucketName()
public DeleteLegalHoldRequest withBucketName(String bucketName)
public void setBucketName(String bucketName)
public String getKey()
public void setKey(String key)
public DeleteLegalHoldRequest withKey(String key)
public String getLegalHoldId()
public void setLegalHoldId(String legalHoldId)
public DeleteLegalHoldRequest withLegalHoldId(String legalHoldId)
Copyright © 2024. All rights reserved.