@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityMetrics extends Object implements Serializable, Cloneable
The container element for Amazon S3 Storage Lens activity metrics. Activity metrics show details about how your storage is requested, such as requests (for example, All requests, Get requests, Put requests), bytes uploaded or downloaded, and errors.
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 |
---|
ActivityMetrics() |
Modifier and Type | Method and Description |
---|---|
ActivityMetrics |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsEnabled()
A container that indicates whether activity metrics are enabled.
|
int |
hashCode() |
Boolean |
isEnabled()
A container that indicates whether activity metrics are enabled.
|
void |
setIsEnabled(Boolean isEnabled)
A container that indicates whether activity metrics are enabled.
|
String |
toString()
Returns a string representation of this object.
|
ActivityMetrics |
withIsEnabled(Boolean isEnabled)
A container that indicates whether activity metrics are enabled.
|
public void setIsEnabled(Boolean isEnabled)
A container that indicates whether activity metrics are enabled.
isEnabled
- A container that indicates whether activity metrics are enabled.public Boolean getIsEnabled()
A container that indicates whether activity metrics are enabled.
public ActivityMetrics withIsEnabled(Boolean isEnabled)
A container that indicates whether activity metrics are enabled.
isEnabled
- A container that indicates whether activity metrics are enabled.public Boolean isEnabled()
A container that indicates whether activity metrics are enabled.
public String toString()
toString
in class Object
Object.toString()
public ActivityMetrics clone()