public class GetBucketCrossOriginConfigurationRequest extends GenericBucketRequest implements WormMirrorDestinationProvider, Serializable
NOOP
Constructor and Description |
---|
GetBucketCrossOriginConfigurationRequest(String bucketName)
Creates a request object, ready to be executed to fetch the cross origin
configuration of the specified bucket.
|
Modifier and Type | Method and Description |
---|---|
String |
getWormMirrorDestination()
Returns the optional mirror-destination value for WORM mirroring
|
void |
setWormMirrorDestination(String wormMirrorDestination)
Sets the optional mirror-destination value for WORM mirroring
|
GetBucketCrossOriginConfigurationRequest |
withWormMirrorDestination(String wormMirrorDestination)
Sets the optional mirror-destination value for WORM mirroring
and returns the updated GetBucketCrossOriginConfigurationRequest so that additional
method calls may be chained together.
|
getBucket, getBucketName, setBucketName, withBucketName
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 GetBucketCrossOriginConfigurationRequest(String bucketName)
bucketName
- The name of the bucket whose cross origin configuration is
being fetched.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 GetBucketCrossOriginConfigurationRequest withWormMirrorDestination(String wormMirrorDestination)
wormMirrorDestination
- The optional mirror-destination value for WORM mirroringGetBucketCrossOriginConfigurationRequest
, enabling additional method
calls to be chained together.Copyright © 2024. All rights reserved.