Class: Aws::ElasticsearchService::Types::Duration

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

Overview

Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unit ⇒ String

Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

Returns:

  • (String)


2332
2333
2334
2335
2336
2337
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 2332

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

#value ⇒ Integer

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

Returns:

  • (Integer)


2332
2333
2334
2335
2336
2337
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 2332

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