Class: Aws::AppMesh::Types::HeaderMatchMethod

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

Overview

Note:

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

Note:

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

An object that represents the method and value to match with the header value sent in a request. Specify one match method.

Direct Known Subclasses

Exact, Prefix, Range, Regex, Suffix, Unknown

Defined Under Namespace

Classes: Exact, Prefix, Range, Regex, Suffix, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#exactString

The value sent by the client must match the specified value exactly.

Returns:

  • (String)


3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3656

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < HeaderMatchMethod; end
  class Prefix < HeaderMatchMethod; end
  class Range < HeaderMatchMethod; end
  class Regex < HeaderMatchMethod; end
  class Suffix < HeaderMatchMethod; end
  class Unknown < HeaderMatchMethod; end
end

#prefixString

The value sent by the client must begin with the specified characters.

Returns:

  • (String)


3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3656

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < HeaderMatchMethod; end
  class Prefix < HeaderMatchMethod; end
  class Range < HeaderMatchMethod; end
  class Regex < HeaderMatchMethod; end
  class Suffix < HeaderMatchMethod; end
  class Unknown < HeaderMatchMethod; end
end

#rangeTypes::MatchRange

An object that represents the range of values to match on.

Returns:



3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3656

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < HeaderMatchMethod; end
  class Prefix < HeaderMatchMethod; end
  class Range < HeaderMatchMethod; end
  class Regex < HeaderMatchMethod; end
  class Suffix < HeaderMatchMethod; end
  class Unknown < HeaderMatchMethod; end
end

#regexString

The value sent by the client must include the specified characters.

Returns:

  • (String)


3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3656

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < HeaderMatchMethod; end
  class Prefix < HeaderMatchMethod; end
  class Range < HeaderMatchMethod; end
  class Regex < HeaderMatchMethod; end
  class Suffix < HeaderMatchMethod; end
  class Unknown < HeaderMatchMethod; end
end

#suffixString

The value sent by the client must end with the specified characters.

Returns:

  • (String)


3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3656

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < HeaderMatchMethod; end
  class Prefix < HeaderMatchMethod; end
  class Range < HeaderMatchMethod; end
  class Regex < HeaderMatchMethod; end
  class Suffix < HeaderMatchMethod; end
  class Unknown < HeaderMatchMethod; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3656
3657
3658
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3656

def unknown
  @unknown
end