public class ListLegalHoldsRequest extends AmazonWebServiceRequest implements WormMirrorDestinationProvider, Serializable
NOOP
Constructor and Description |
---|
ListLegalHoldsRequest(String bucketName,
String key)
Constructs a new ListLegalHoldsRequest object.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket which contains the specified object.
|
String |
getKey()
Returns the name of the object to perform the list against.
|
String |
getWormMirrorDestination()
Returns the optional mirror-destination value for WORM mirroring
|
void |
setWormMirrorDestination(String wormMirrorDestination)
Sets the optional mirror-destination value for WORM mirroring
|
ListLegalHoldsRequest |
withWormMirrorDestination(String wormMirrorDestination)
Sets the optional mirror-destination value for WORM mirroring
and returns the updated ListLegalHoldsRequest so that additional
method calls may be chained together.
|
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 String getBucketName()
public String getKey()
public String getWormMirrorDestination()
getWormMirrorDestination
in interface WormMirrorDestinationProvider
public void setWormMirrorDestination(String wormMirrorDestination)
setWormMirrorDestination
in interface WormMirrorDestinationProvider
wormMirrorDestination
- The optional mirror-destination value for WORM mirroringpublic ListLegalHoldsRequest withWormMirrorDestination(String wormMirrorDestination)
wormMirrorDestination
- The optional mirror-destination value for WORM mirroringListLegalHoldsRequest
, enabling additional method
calls to be chained together.Copyright © 2024. All rights reserved.