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.Builderfilter(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
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
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:
-
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.
-