Class: Aws::AppMesh::Types::Duration
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::Duration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appmesh/types.rb
Overview
Note:
When making an API call, you may pass Duration data as a hash:
{
unit: "ms", # accepts ms, s
value: 1,
}
An object that represents a duration of time.
Instance Attribute Summary collapse
-
#unit ⇒ String
A unit of time.
-
#value ⇒ Integer
A number of time units.
Instance Attribute Details
#unit ⇒ String
A unit of time.
1984 1985 1986 1987 1988 |
# File 'lib/aws-sdk-appmesh/types.rb', line 1984 class Duration < Struct.new( :unit, :value) include Aws::Structure end |
#value ⇒ Integer
A number of time units.
1984 1985 1986 1987 1988 |
# File 'lib/aws-sdk-appmesh/types.rb', line 1984 class Duration < Struct.new( :unit, :value) include Aws::Structure end |