Class: Aws::AppMesh::Types::Duration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb

Overview

An object that represents a duration of time.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

A unit of time.

Returns:

  • (String)


1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1447

class Duration < Struct.new(
  :unit,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueInteger

A number of time units.

Returns:

  • (Integer)


1447
1448
1449
1450
1451
1452
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1447

class Duration < Struct.new(
  :unit,
  :value)
  SENSITIVE = []
  include Aws::Structure
end