Class StorageLensGroup
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.StorageLensGroup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StorageLensGroup.Builder,StorageLensGroup>
@Generated("software.amazon.awssdk:codegen") public final class StorageLensGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StorageLensGroup.Builder,StorageLensGroup>
A custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use
ANDorORlogical operators.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStorageLensGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageLensGroup.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StorageLensGroupFilterfilter()Sets the criteria for the Storage Lens group data that is displayed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Contains the name of the Storage Lens group.List<SdkField<?>>sdkFields()static Class<? extends StorageLensGroup.Builder>serializableBuilderClass()StringstorageLensGroupArn()Contains the Amazon Resource Name (ARN) of the Storage Lens group.StorageLensGroup.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
Contains the name of the Storage Lens group.
- Returns:
- Contains the name of the Storage Lens group.
-
filter
public final StorageLensGroupFilter filter()
Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the
ANDorORlogical operator is used.- Returns:
- Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the
ANDorORlogical operator is used.
-
storageLensGroupArn
public final String storageLensGroupArn()
Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.
- Returns:
- Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.
-
toBuilder
public StorageLensGroup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StorageLensGroup.Builder,StorageLensGroup>
-
builder
public static StorageLensGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends StorageLensGroup.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-