Interface StorageLensGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StorageLensGroup.Builder,
,StorageLensGroup> SdkBuilder<StorageLensGroup.Builder,
,StorageLensGroup> SdkPojo
- Enclosing class:
StorageLensGroup
public static interface StorageLensGroup.Builder
extends SdkPojo, CopyableBuilder<StorageLensGroup.Builder,StorageLensGroup>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StorageLensGroup.Builder
filter
(Consumer<StorageLensGroupFilter.Builder> filter) Sets the criteria for the Storage Lens group data that is displayed.filter
(StorageLensGroupFilter filter) Sets the criteria for the Storage Lens group data that is displayed.Contains the name of the Storage Lens group.storageLensGroupArn
(String storageLensGroupArn) Contains the Amazon Resource Name (ARN) of the Storage Lens group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
Contains the name of the Storage Lens group.
- Parameters:
name
- Contains the name of the Storage Lens group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the
AND
orOR
logical operator is used.- Parameters:
filter
- Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, theAND
orOR
logical operator is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the
This is a convenience method that creates an instance of theAND
orOR
logical operator is used.StorageLensGroupFilter.Builder
avoiding the need to create one manually viaStorageLensGroupFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilter(StorageLensGroupFilter)
.- Parameters:
filter
- a consumer that will call methods onStorageLensGroupFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageLensGroupArn
Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.
- Parameters:
storageLensGroupArn
- Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-