@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 - `CfnBucket.MetricsProperty.Status`. This parameter is required.this@Stability(value=Stable) public CfnBucket.MetricsProperty.Builder eventThreshold(CfnBucket.ReplicationTimeValueProperty eventThreshold)
CfnBucket.MetricsProperty.getEventThreshold()eventThreshold - `CfnBucket.MetricsProperty.EventThreshold`.this@Stability(value=Stable) public CfnBucket.MetricsProperty.Builder eventThreshold(IResolvable eventThreshold)
CfnBucket.MetricsProperty.getEventThreshold()eventThreshold - `CfnBucket.MetricsProperty.EventThreshold`.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 © 2021. All rights reserved.