public static interface CfnBucket.MetricsProperty
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.*; MetricsProperty metricsProperty = MetricsProperty.builder() .status("status") // the properties below are optional .eventThreshold(ReplicationTimeValueProperty.builder() .minutes(123) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnBucket.MetricsProperty.Builder
A builder for
CfnBucket.MetricsProperty |
static class |
CfnBucket.MetricsProperty.Jsii$Proxy
An implementation for
CfnBucket.MetricsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBucket.MetricsProperty.Builder |
builder() |
default java.lang.Object |
getEventThreshold()
A container specifying the time threshold for emitting the `s3:Replication:OperationMissedThreshold` event.
|
java.lang.String |
getStatus()
Specifies whether the replication metrics are enabled.
|
java.lang.String getStatus()
default java.lang.Object getEventThreshold()
static CfnBucket.MetricsProperty.Builder builder()
CfnBucket.MetricsProperty.Builder
of CfnBucket.MetricsProperty