Class StorageLensReference.Builder
java.lang.Object
software.amazon.awscdk.services.s3.StorageLensReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageLensReference>
- Enclosing interface:
StorageLensReference
@Stability(Stable)
public static final class StorageLensReference.Builder
extends Object
implements software.amazon.jsii.Builder<StorageLensReference>
A builder for
StorageLensReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.storageLensId
(String storageLensId) Sets the value ofStorageLensReference.getStorageLensId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storageLensId
Sets the value ofStorageLensReference.getStorageLensId()
- Parameters:
storageLensId
- The StorageLensConfiguration/Id of the StorageLens resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<StorageLensReference>
- Returns:
- a new instance of
StorageLensReference
- Throws:
NullPointerException
- if any required attribute was not provided
-