Class: Aws::AppMesh::Types::LoggingFormat

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

Overview

Note:

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

Note:

LoggingFormat is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of LoggingFormat corresponding to the set member.

An object that represents the format for the logs.

Direct Known Subclasses

Json, Text, Unknown

Defined Under Namespace

Classes: Json, Text, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#jsonArray<Types::JsonFormatRef>

Returns:



3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3574

class LoggingFormat < Struct.new(
  :json,
  :text,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Json < LoggingFormat; end
  class Text < LoggingFormat; end
  class Unknown < LoggingFormat; end
end

#textString

Returns:

  • (String)


3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3574

class LoggingFormat < Struct.new(
  :json,
  :text,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Json < LoggingFormat; end
  class Text < LoggingFormat; end
  class Unknown < LoggingFormat; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3574
3575
3576
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3574

def unknown
  @unknown
end