You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_valueBoolean

Value for a Boolean annotation.

Returns:

  • (Boolean)


51
52
53
54
55
56
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 51

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

#number_valueFloat

Value for a Number annotation.

Returns:

  • (Float)


51
52
53
54
55
56
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 51

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

#string_valueString

Value for a String annotation.

Returns:

  • (String)


51
52
53
54
55
56
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 51

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