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