Class CfnBucket.AccelerateConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.AccelerateConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.AccelerateConfigurationProperty>
- Enclosing interface:
- CfnBucket.AccelerateConfigurationProperty
@Stability(Stable)
public static final class CfnBucket.AccelerateConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.AccelerateConfigurationProperty>
A builder for
CfnBucket.AccelerateConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccelerationStatus
(String accelerationStatus) Sets the value ofCfnBucket.AccelerateConfigurationProperty.getAccelerationStatus()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accelerationStatus
@Stability(Stable) public CfnBucket.AccelerateConfigurationProperty.Builder accelerationStatus(String accelerationStatus) Sets the value ofCfnBucket.AccelerateConfigurationProperty.getAccelerationStatus()
- Parameters:
accelerationStatus
- Specifies the transfer acceleration status of the bucket. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.AccelerateConfigurationProperty>
- Returns:
- a new instance of
CfnBucket.AccelerateConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-