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