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)


3863
3864
3865
3866
3867
3868
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3863

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

#valueInteger

Integer to specify the value of a maintenance schedule duration.

Returns:

  • (Integer)


3863
3864
3865
3866
3867
3868
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3863

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