@Stability(value=Stable) public static final class CfnRoute.DurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRoute.DurationProperty>
CfnRoute.DurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRoute.DurationProperty |
build()
Builds the configured instance.
|
CfnRoute.DurationProperty.Builder |
unit(String unit)
Sets the value of
CfnRoute.DurationProperty.getUnit() |
CfnRoute.DurationProperty.Builder |
value(Number value)
Sets the value of
CfnRoute.DurationProperty.getValue() |
@Stability(value=Stable) public CfnRoute.DurationProperty.Builder unit(String unit)
CfnRoute.DurationProperty.getUnit()unit - `CfnRoute.DurationProperty.Unit`. This parameter is required.this@Stability(value=Stable) public CfnRoute.DurationProperty.Builder value(Number value)
CfnRoute.DurationProperty.getValue()value - `CfnRoute.DurationProperty.Value`. This parameter is required.this@Stability(value=Stable) public CfnRoute.DurationProperty build()
build in interface software.amazon.jsii.Builder<CfnRoute.DurationProperty>CfnRoute.DurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.