public static final class CfnStorageLens.CloudWatchMetricsProperty.Builder
extends java.lang.Object
CfnStorageLens.CloudWatchMetricsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnStorageLens.CloudWatchMetricsProperty |
build()
Builds the configured instance.
|
CfnStorageLens.CloudWatchMetricsProperty.Builder |
isEnabled(java.lang.Boolean isEnabled)
Sets the value of
CfnStorageLens.CloudWatchMetricsProperty.getIsEnabled() |
CfnStorageLens.CloudWatchMetricsProperty.Builder |
isEnabled(IResolvable isEnabled)
Sets the value of
CfnStorageLens.CloudWatchMetricsProperty.getIsEnabled() |
public CfnStorageLens.CloudWatchMetricsProperty.Builder isEnabled(java.lang.Boolean isEnabled)
CfnStorageLens.CloudWatchMetricsProperty.getIsEnabled()
isEnabled
- This property identifies whether the CloudWatch publishing option for S3 Storage Lens is enabled. This parameter is required.this
public CfnStorageLens.CloudWatchMetricsProperty.Builder isEnabled(IResolvable isEnabled)
CfnStorageLens.CloudWatchMetricsProperty.getIsEnabled()
isEnabled
- This property identifies whether the CloudWatch publishing option for S3 Storage Lens is enabled. This parameter is required.this
public CfnStorageLens.CloudWatchMetricsProperty build()
CfnStorageLens.CloudWatchMetricsProperty
java.lang.NullPointerException
- if any required attribute was not provided