public class SetBucketAccelerateConfigurationRequest extends AmazonWebServiceRequest
Contains options for setting the accelerate configuration for a bucket.
NOOP
Constructor and Description |
---|
SetBucketAccelerateConfigurationRequest(String bucketName,
BucketAccelerateConfiguration configuration)
Constructs a new
SetBucketAccelerateConfigurationRequest to set
the bucket accelerate configuration of the specified bucket. |
Modifier and Type | Method and Description |
---|---|
BucketAccelerateConfiguration |
getAccelerateConfiguration() |
String |
getBucketName() |
void |
setAccelerateConfiguration(BucketAccelerateConfiguration accelerateConfiguration)
Sets the new accelerate configuration for the specified bucket.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket whose accelerate configuration is being set.
|
SetBucketAccelerateConfigurationRequest |
withAccelerateConfiguration(BucketAccelerateConfiguration accelerateConfiguration)
Fluent setter method for
setAccelerateConfiguration(BucketAccelerateConfiguration) |
SetBucketAccelerateConfigurationRequest |
withBucketName(String bucketName)
Fluent setter method for
setBucketName(String) |
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 SetBucketAccelerateConfigurationRequest(String bucketName, BucketAccelerateConfiguration configuration)
SetBucketAccelerateConfigurationRequest
to set
the bucket accelerate configuration of the specified bucket.bucketName
- The name of the bucket whose accelerate configuration is being
set.configuration
- The new accelerate configuration for the specified bucket.public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of the bucket whose accelerate configuration is being
set.getBucketName()
public SetBucketAccelerateConfigurationRequest withBucketName(String bucketName)
setBucketName(String)
SetBucketAccelerateConfigurationRequest
object so that
additional method calls may be chained together.setBucketName(String)
public BucketAccelerateConfiguration getAccelerateConfiguration()
public void setAccelerateConfiguration(BucketAccelerateConfiguration accelerateConfiguration)
accelerateConfiguration
- The new accelerate configuration for the specified bucket.public SetBucketAccelerateConfigurationRequest withAccelerateConfiguration(BucketAccelerateConfiguration accelerateConfiguration)
setAccelerateConfiguration(BucketAccelerateConfiguration)
SetBucketAccelerateConfigurationRequest
object so that
additional method calls may be chained together.setAccelerateConfiguration(BucketAccelerateConfiguration)
Copyright © 2018. All rights reserved.