public static interface CfnStorageLens.DetailedStatusCodesMetricsProperty
Detailed status code metrics generate metrics for HTTP status codes, such as 200 OK
, 403 Forbidden
, 503 Service Unavailable
and others.
For more information, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide . For a complete list of metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.s3.*; DetailedStatusCodesMetricsProperty detailedStatusCodesMetricsProperty = DetailedStatusCodesMetricsProperty.builder() .isEnabled(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnStorageLens.DetailedStatusCodesMetricsProperty.Builder
A builder for
CfnStorageLens.DetailedStatusCodesMetricsProperty |
static class |
CfnStorageLens.DetailedStatusCodesMetricsProperty.Jsii$Proxy
An implementation for
CfnStorageLens.DetailedStatusCodesMetricsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnStorageLens.DetailedStatusCodesMetricsProperty.Builder |
builder() |
default java.lang.Object |
getIsEnabled()
Indicates whether detailed status code metrics are enabled.
|
default java.lang.Object getIsEnabled()
static CfnStorageLens.DetailedStatusCodesMetricsProperty.Builder builder()