Class BucketLevel
java.lang.Object
software.amazon.awssdk.services.s3control.model.BucketLevel
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BucketLevel.Builder,BucketLevel>
@Generated("software.amazon.awssdk:codegen")
public final class BucketLevel
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<BucketLevel.Builder,BucketLevel>
A container for the bucket-level configuration for Amazon S3 Storage Lens.
For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal ActivityMetricsA container for the bucket-level activity metrics for S3 Storage Lens.A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.A container for bucket-level advanced data-protection metrics for S3 Storage Lens.static BucketLevel.Builderbuilder()A container for bucket-level detailed status code metrics for S3 Storage Lens.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final PrefixLevelA container for the prefix-level metrics for S3 Storage Lens.static Class<? extends BucketLevel.Builder> 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
-
activityMetrics
A container for the bucket-level activity metrics for S3 Storage Lens.
- Returns:
- A container for the bucket-level activity metrics for S3 Storage Lens.
-
prefixLevel
A container for the prefix-level metrics for S3 Storage Lens.
- Returns:
- A container for the prefix-level metrics for S3 Storage Lens.
-
advancedCostOptimizationMetrics
A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
- Returns:
- A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
-
advancedDataProtectionMetrics
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
- Returns:
- A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
-
detailedStatusCodesMetrics
A container for bucket-level detailed status code metrics for S3 Storage Lens.
- Returns:
- A container for bucket-level detailed status code metrics for S3 Storage Lens.
-
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<BucketLevel.Builder,BucketLevel> - 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
-