public static final class CfnStorageLens.BucketsAndRegionsProperty.Builder
extends java.lang.Object
CfnStorageLens.BucketsAndRegionsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnStorageLens.BucketsAndRegionsProperty.Builder |
buckets(java.util.List<java.lang.String> buckets)
Sets the value of
CfnStorageLens.BucketsAndRegionsProperty.getBuckets() |
CfnStorageLens.BucketsAndRegionsProperty |
build()
Builds the configured instance.
|
CfnStorageLens.BucketsAndRegionsProperty.Builder |
regions(java.util.List<java.lang.String> regions)
Sets the value of
CfnStorageLens.BucketsAndRegionsProperty.getRegions() |
public CfnStorageLens.BucketsAndRegionsProperty.Builder buckets(java.util.List<java.lang.String> buckets)
CfnStorageLens.BucketsAndRegionsProperty.getBuckets()
buckets
- This property contains the details of the buckets for the Amazon S3 Storage Lens configuration.
This should be the bucket Amazon Resource Name(ARN). For valid values, see Buckets ARN format here in the Amazon S3 API Reference .this
public CfnStorageLens.BucketsAndRegionsProperty.Builder regions(java.util.List<java.lang.String> regions)
CfnStorageLens.BucketsAndRegionsProperty.getRegions()
regions
- This property contains the details of the Regions for the S3 Storage Lens configuration.this
public CfnStorageLens.BucketsAndRegionsProperty build()
CfnStorageLens.BucketsAndRegionsProperty
java.lang.NullPointerException
- if any required attribute was not provided