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 AND or OR logical operators.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StorageLensGroup.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StorageLensGroupFilterfilter()Sets the criteria for the Storage Lens group data that is displayed.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()Contains the name of the Storage Lens group.static Class<? extends StorageLensGroup.Builder> final StringContains the Amazon Resource Name (ARN) of the Storage Lens group.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
Contains the name of the Storage Lens group.
- Returns:
- Contains the name of the Storage Lens group.
-
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
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StorageLensGroup.Builder,StorageLensGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-