@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketLevel extends Object implements Serializable, Cloneable
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.
Constructor and Description |
---|
BucketLevel() |
Modifier and Type | Method and Description |
---|---|
BucketLevel |
clone() |
boolean |
equals(Object obj) |
ActivityMetrics |
getActivityMetrics()
A container for the bucket-level activity metrics for S3 Storage Lens.
|
AdvancedCostOptimizationMetrics |
getAdvancedCostOptimizationMetrics()
A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
|
AdvancedDataProtectionMetrics |
getAdvancedDataProtectionMetrics()
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
|
DetailedStatusCodesMetrics |
getDetailedStatusCodesMetrics()
A container for bucket-level detailed status code metrics for S3 Storage Lens.
|
PrefixLevel |
getPrefixLevel()
A container for the prefix-level metrics for S3 Storage Lens.
|
int |
hashCode() |
void |
setActivityMetrics(ActivityMetrics activityMetrics)
A container for the bucket-level activity metrics for S3 Storage Lens.
|
void |
setAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics advancedCostOptimizationMetrics)
A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
|
void |
setAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics advancedDataProtectionMetrics)
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
|
void |
setDetailedStatusCodesMetrics(DetailedStatusCodesMetrics detailedStatusCodesMetrics)
A container for bucket-level detailed status code metrics for S3 Storage Lens.
|
void |
setPrefixLevel(PrefixLevel prefixLevel)
A container for the prefix-level metrics for S3 Storage Lens.
|
String |
toString()
Returns a string representation of this object.
|
BucketLevel |
withActivityMetrics(ActivityMetrics activityMetrics)
A container for the bucket-level activity metrics for S3 Storage Lens.
|
BucketLevel |
withAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics advancedCostOptimizationMetrics)
A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
|
BucketLevel |
withAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics advancedDataProtectionMetrics)
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
|
BucketLevel |
withDetailedStatusCodesMetrics(DetailedStatusCodesMetrics detailedStatusCodesMetrics)
A container for bucket-level detailed status code metrics for S3 Storage Lens.
|
BucketLevel |
withPrefixLevel(PrefixLevel prefixLevel)
A container for the prefix-level metrics for S3 Storage Lens.
|
public void setActivityMetrics(ActivityMetrics activityMetrics)
A container for the bucket-level activity metrics for S3 Storage Lens.
activityMetrics
- A container for the bucket-level activity metrics for S3 Storage Lens.public ActivityMetrics getActivityMetrics()
A container for the bucket-level activity metrics for S3 Storage Lens.
public BucketLevel withActivityMetrics(ActivityMetrics activityMetrics)
A container for the bucket-level activity metrics for S3 Storage Lens.
activityMetrics
- A container for the bucket-level activity metrics for S3 Storage Lens.public void setPrefixLevel(PrefixLevel prefixLevel)
A container for the prefix-level metrics for S3 Storage Lens.
prefixLevel
- A container for the prefix-level metrics for S3 Storage Lens.public PrefixLevel getPrefixLevel()
A container for the prefix-level metrics for S3 Storage Lens.
public BucketLevel withPrefixLevel(PrefixLevel prefixLevel)
A container for the prefix-level metrics for S3 Storage Lens.
prefixLevel
- A container for the prefix-level metrics for S3 Storage Lens.public void setAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics advancedCostOptimizationMetrics)
A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
advancedCostOptimizationMetrics
- A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.public AdvancedCostOptimizationMetrics getAdvancedCostOptimizationMetrics()
A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
public BucketLevel withAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics advancedCostOptimizationMetrics)
A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.
advancedCostOptimizationMetrics
- A container for bucket-level advanced cost-optimization metrics for S3 Storage Lens.public void setAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics advancedDataProtectionMetrics)
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
advancedDataProtectionMetrics
- A container for bucket-level advanced data-protection metrics for S3 Storage Lens.public AdvancedDataProtectionMetrics getAdvancedDataProtectionMetrics()
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
public BucketLevel withAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics advancedDataProtectionMetrics)
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
advancedDataProtectionMetrics
- A container for bucket-level advanced data-protection metrics for S3 Storage Lens.public void setDetailedStatusCodesMetrics(DetailedStatusCodesMetrics detailedStatusCodesMetrics)
A container for bucket-level detailed status code metrics for S3 Storage Lens.
detailedStatusCodesMetrics
- A container for bucket-level detailed status code metrics for S3 Storage Lens.public DetailedStatusCodesMetrics getDetailedStatusCodesMetrics()
A container for bucket-level detailed status code metrics for S3 Storage Lens.
public BucketLevel withDetailedStatusCodesMetrics(DetailedStatusCodesMetrics detailedStatusCodesMetrics)
A container for bucket-level detailed status code metrics for S3 Storage Lens.
detailedStatusCodesMetrics
- A container for bucket-level detailed status code metrics for S3 Storage Lens.public String toString()
toString
in class Object
Object.toString()
public BucketLevel clone()