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