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.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StorageLensGroupFilter
filter()
Sets the criteria for the Storage Lens group data that is displayed.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
name()
Contains the name of the Storage Lens group.static Class
<? extends StorageLensGroup.Builder> final String
Contains 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 String
toString()
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
AND
orOR
logical operator is used.- Returns:
- Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the
AND
orOR
logical 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<StorageLensGroup.Builder,
StorageLensGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-