public class SetBucketAccelerateConfigurationRequest extends AmazonWebServiceRequest implements S3AccelerateUnsupported
Contains options for setting the accelerate configuration for a bucket.
Constructor and Description |
---|
SetBucketAccelerateConfigurationRequest(java.lang.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() |
java.lang.String |
getBucketName() |
void |
setAccelerateConfiguration(BucketAccelerateConfiguration accelerateConfiguration)
Sets the new accelerate configuration for the specified bucket.
|
void |
setBucketName(java.lang.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(java.lang.String bucketName)
Fluent setter method for
setBucketName(String) |
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public SetBucketAccelerateConfigurationRequest(java.lang.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 java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
bucketName
- The name of the bucket whose accelerate configuration
is being set.getBucketName()
public SetBucketAccelerateConfigurationRequest withBucketName(java.lang.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 Amazon Web Services, Inc. All Rights Reserved.