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)


3596
3597
3598
3599
3600
3601
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3596

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

#valueInteger

Integer to specify the value of a maintenance schedule duration.

Returns:

  • (Integer)


3596
3597
3598
3599
3600
3601
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3596

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