@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdvancedCostOptimizationMetrics extends Object implements Serializable, Cloneable
The container element for Amazon S3 Storage Lens advanced cost-optimization metrics. Advanced cost-optimization metrics provide insights that you can use to manage and optimize your storage costs, for example, lifecycle rule counts for transitions, expirations, and incomplete multipart uploads.
For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.
Constructor and Description |
---|
AdvancedCostOptimizationMetrics() |
Modifier and Type | Method and Description |
---|---|
AdvancedCostOptimizationMetrics |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsEnabled()
A container that indicates whether advanced cost-optimization metrics are enabled.
|
int |
hashCode() |
Boolean |
isEnabled()
A container that indicates whether advanced cost-optimization metrics are enabled.
|
void |
setIsEnabled(Boolean isEnabled)
A container that indicates whether advanced cost-optimization metrics are enabled.
|
String |
toString()
Returns a string representation of this object.
|
AdvancedCostOptimizationMetrics |
withIsEnabled(Boolean isEnabled)
A container that indicates whether advanced cost-optimization metrics are enabled.
|
public void setIsEnabled(Boolean isEnabled)
A container that indicates whether advanced cost-optimization metrics are enabled.
isEnabled
- A container that indicates whether advanced cost-optimization metrics are enabled.public Boolean getIsEnabled()
A container that indicates whether advanced cost-optimization metrics are enabled.
public AdvancedCostOptimizationMetrics withIsEnabled(Boolean isEnabled)
A container that indicates whether advanced cost-optimization metrics are enabled.
isEnabled
- A container that indicates whether advanced cost-optimization metrics are enabled.public Boolean isEnabled()
A container that indicates whether advanced cost-optimization metrics are enabled.
public String toString()
toString
in class Object
Object.toString()
public AdvancedCostOptimizationMetrics clone()