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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StorageLensGroup.Builderfilter(Consumer<StorageLensGroupFilter.Builder> filter)Sets the criteria for the Storage Lens group data that is displayed.StorageLensGroup.Builderfilter(StorageLensGroupFilter filter)Sets the criteria for the Storage Lens group data that is displayed.StorageLensGroup.Buildername(String name)Contains the name of the Storage Lens group.StorageLensGroup.BuilderstorageLensGroupArn(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 Detail
-
name
StorageLensGroup.Builder name(String 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
StorageLensGroup.Builder filter(StorageLensGroupFilter filter)
Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the
ANDorORlogical operator is used.- Parameters:
filter- Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, theANDorORlogical operator is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default StorageLensGroup.Builder filter(Consumer<StorageLensGroupFilter.Builder> 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 theANDorORlogical operator is used.StorageLensGroupFilter.Builderavoiding the need to create one manually viaStorageLensGroupFilter.builder().When the
Consumercompletes,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:
filter(StorageLensGroupFilter)
-
storageLensGroupArn
StorageLensGroup.Builder storageLensGroupArn(String 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.
-
-