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