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

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

Overview

Note:

When making an API call, you may pass Duration data as a hash:

{
  value: 1,
  unit: "HOURS", # accepts HOURS
}

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

[1]: docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

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

[1]: docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html

Returns:

  • (String)

2009
2010
2011
2012
2013
2014
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 2009

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

#valueInteger

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

[1]: docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html

Returns:

  • (Integer)

2009
2010
2011
2012
2013
2014
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 2009

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