Class CfnStorageLens.DetailedStatusCodesMetricsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLens.DetailedStatusCodesMetricsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLens.DetailedStatusCodesMetricsProperty>
- Enclosing interface:
- CfnStorageLens.DetailedStatusCodesMetricsProperty
@Stability(Stable)
public static final class CfnStorageLens.DetailedStatusCodesMetricsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageLens.DetailedStatusCodesMetricsProperty>
A builder for
CfnStorageLens.DetailedStatusCodesMetricsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnStorageLens.DetailedStatusCodesMetricsProperty.getIsEnabled()
isEnabled
(IResolvable isEnabled) Sets the value ofCfnStorageLens.DetailedStatusCodesMetricsProperty.getIsEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isEnabled
@Stability(Stable) public CfnStorageLens.DetailedStatusCodesMetricsProperty.Builder isEnabled(Boolean isEnabled) Sets the value ofCfnStorageLens.DetailedStatusCodesMetricsProperty.getIsEnabled()
- Parameters:
isEnabled
- Indicates whether detailed status code metrics are enabled.- Returns:
this
-
isEnabled
@Stability(Stable) public CfnStorageLens.DetailedStatusCodesMetricsProperty.Builder isEnabled(IResolvable isEnabled) Sets the value ofCfnStorageLens.DetailedStatusCodesMetricsProperty.getIsEnabled()
- Parameters:
isEnabled
- Indicates whether detailed status code metrics are enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageLens.DetailedStatusCodesMetricsProperty>
- Returns:
- a new instance of
CfnStorageLens.DetailedStatusCodesMetricsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-