Class: Aws::Context::Types::FilterValue

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

Overview

Note:

FilterValue is a union - when making an API calls you must set exactly one of the members.

The value a condition compares with: a list for in, a single value otherwise.

Defined Under Namespace

Classes: BooleanValue, NumberValue, StringListValue, StringValue, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_value ⇒ Boolean

A Boolean value.

Returns:

  • (Boolean)


3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3147

class FilterValue < Struct.new(
  :string_value,
  :number_value,
  :boolean_value,
  :string_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < FilterValue; end
  class NumberValue < FilterValue; end
  class BooleanValue < FilterValue; end
  class StringListValue < FilterValue; end
  class Unknown < FilterValue; end
end

#number_value ⇒ Float

A number. It must be finite.

Returns:

  • (Float)


3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3147

class FilterValue < Struct.new(
  :string_value,
  :number_value,
  :boolean_value,
  :string_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < FilterValue; end
  class NumberValue < FilterValue; end
  class BooleanValue < FilterValue; end
  class StringListValue < FilterValue; end
  class Unknown < FilterValue; end
end

#string_list_value ⇒ Array<String>

A list of 1 to 50 strings, each 1 to 2,048 characters. Valid only for an in condition.

Returns:

  • (Array<String>)


3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3147

class FilterValue < Struct.new(
  :string_value,
  :number_value,
  :boolean_value,
  :string_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < FilterValue; end
  class NumberValue < FilterValue; end
  class BooleanValue < FilterValue; end
  class StringListValue < FilterValue; end
  class Unknown < FilterValue; end
end

#string_value ⇒ String

A string, 1 to 2,048 characters.

Returns:

  • (String)


3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3147

class FilterValue < Struct.new(
  :string_value,
  :number_value,
  :boolean_value,
  :string_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < FilterValue; end
  class NumberValue < FilterValue; end
  class BooleanValue < FilterValue; end
  class StringListValue < FilterValue; end
  class Unknown < FilterValue; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



3147
3148
3149
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 3147

def unknown
  @unknown
end