public static final class CfnStorageLensProps.Builder
extends java.lang.Object
CfnStorageLensProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnStorageLensProps |
build()
Builds the configured instance.
|
CfnStorageLensProps.Builder |
storageLensConfiguration(CfnStorageLens.StorageLensConfigurationProperty storageLensConfiguration)
Sets the value of
CfnStorageLensProps.getStorageLensConfiguration() |
CfnStorageLensProps.Builder |
storageLensConfiguration(IResolvable storageLensConfiguration)
Sets the value of
CfnStorageLensProps.getStorageLensConfiguration() |
CfnStorageLensProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnStorageLensProps.getTags() |
public CfnStorageLensProps.Builder storageLensConfiguration(IResolvable storageLensConfiguration)
CfnStorageLensProps.getStorageLensConfiguration()
storageLensConfiguration
- This resource contains the details Amazon S3 Storage Lens configuration. This parameter is required.this
public CfnStorageLensProps.Builder storageLensConfiguration(CfnStorageLens.StorageLensConfigurationProperty storageLensConfiguration)
CfnStorageLensProps.getStorageLensConfiguration()
storageLensConfiguration
- This resource contains the details Amazon S3 Storage Lens configuration. This parameter is required.this
public CfnStorageLensProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnStorageLensProps.getTags()
tags
- A set of tags (key–value pairs) to associate with the Storage Lens configuration.this
public CfnStorageLensProps build()
CfnStorageLensProps
java.lang.NullPointerException
- if any required attribute was not provided