Interface CfnRoute.DurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoute.DurationProperty.Jsii$Proxy
- Enclosing class:
CfnRoute
@Stability(Stable)
public static interface CfnRoute.DurationProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents a duration of time.
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.appmesh.*;
DurationProperty durationProperty = DurationProperty.builder()
.unit("unit")
.value(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoute.DurationPropertystatic final classAn implementation forCfnRoute.DurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUnit
A unit of time.- See Also:
-
getValue
A number of time units.- See Also:
-
builder
- Returns:
- a
CfnRoute.DurationProperty.BuilderofCfnRoute.DurationProperty
-