@Stability(value=Stable) public static final class CfnBucket.MetricsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.MetricsProperty>
CfnBucket.MetricsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.MetricsProperty |
build()
Builds the configured instance.
|
CfnBucket.MetricsProperty.Builder |
eventThreshold(CfnBucket.ReplicationTimeValueProperty eventThreshold)
Sets the value of
CfnBucket.MetricsProperty.getEventThreshold() |
CfnBucket.MetricsProperty.Builder |
eventThreshold(IResolvable eventThreshold)
Sets the value of
CfnBucket.MetricsProperty.getEventThreshold() |
CfnBucket.MetricsProperty.Builder |
status(String status)
Sets the value of
CfnBucket.MetricsProperty.getStatus() |
@Stability(value=Stable) public CfnBucket.MetricsProperty.Builder status(String status)
CfnBucket.MetricsProperty.getStatus()status - Specifies whether the replication metrics are enabled. This parameter is required.this@Stability(value=Stable) public CfnBucket.MetricsProperty.Builder eventThreshold(CfnBucket.ReplicationTimeValueProperty eventThreshold)
CfnBucket.MetricsProperty.getEventThreshold()eventThreshold - A container specifying the time threshold for emitting the `s3:Replication:OperationMissedThreshold` event.this@Stability(value=Stable) public CfnBucket.MetricsProperty.Builder eventThreshold(IResolvable eventThreshold)
CfnBucket.MetricsProperty.getEventThreshold()eventThreshold - A container specifying the time threshold for emitting the `s3:Replication:OperationMissedThreshold` event.this@Stability(value=Stable) public CfnBucket.MetricsProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.MetricsProperty>CfnBucket.MetricsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.