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)


3358
3359
3360
3361
3362
3363
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3358

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

#valueInteger

Integer to specify the value of a maintenance schedule duration.

Returns:

  • (Integer)


3358
3359
3360
3361
3362
3363
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3358

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