Class: Aws::OpenSearchService::Types::Duration

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

Overview

The duration of a maintenance schedule. For more information, see Auto-Tune for Amazon OpenSearch Service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

The unit of measurement for the duration of a maintenance schedule.

Returns:

  • (String)


3708
3709
3710
3711
3712
3713
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3708

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

#valueInteger

Integer to specify the value of a maintenance schedule duration.

Returns:

  • (Integer)


3708
3709
3710
3711
3712
3713
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3708

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