@Stability(value=Stable)
public static interface CfnBucket.MetricsProperty
extends software.amazon.jsii.JsiiSerializable
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 Object |
getEventThreshold()
A container specifying the time threshold for emitting the `s3:Replication:OperationMissedThreshold` event.
|
String |
getStatus()
Specifies whether the replication metrics are enabled.
|
@Stability(value=Stable) @NotNull String getStatus()
@Stability(value=Stable) @Nullable default Object getEventThreshold()
@Stability(value=Stable) static CfnBucket.MetricsProperty.Builder builder()
CfnBucket.MetricsProperty.Builder of CfnBucket.MetricsPropertyCopyright © 2022. All rights reserved.