Class: Aws::XRay::Types::AnnotationValue

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

Overview

Value of a segment annotation. Has one of three value types: Number, Boolean, or String.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_valueBoolean

Value for a Boolean annotation.

Returns:

  • (Boolean)


54
55
56
57
58
59
60
# File 'lib/aws-sdk-xray/types.rb', line 54

class AnnotationValue < Struct.new(
  :number_value,
  :boolean_value,
  :string_value)
  SENSITIVE = []
  include Aws::Structure
end

#number_valueFloat

Value for a Number annotation.

Returns:

  • (Float)


54
55
56
57
58
59
60
# File 'lib/aws-sdk-xray/types.rb', line 54

class AnnotationValue < Struct.new(
  :number_value,
  :boolean_value,
  :string_value)
  SENSITIVE = []
  include Aws::Structure
end

#string_valueString

Value for a String annotation.

Returns:

  • (String)


54
55
56
57
58
59
60
# File 'lib/aws-sdk-xray/types.rb', line 54

class AnnotationValue < Struct.new(
  :number_value,
  :boolean_value,
  :string_value)
  SENSITIVE = []
  include Aws::Structure
end