Class: Aws::AppMesh::Types::HeaderMatchMethod
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::HeaderMatchMethod
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
HeaderMatchMethod is a union - when making an API calls you must set exactly one of the members.
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.
Defined Under Namespace
Classes: Exact, Prefix, Range, Regex, Suffix, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#exact ⇒ String
The value sent by the client must match the specified value exactly.
-
#prefix ⇒ String
The value sent by the client must begin with the specified characters.
-
#range ⇒ Types::MatchRange
An object that represents the range of values to match on.
-
#regex ⇒ String
The value sent by the client must include the specified characters.
-
#suffix ⇒ String
The value sent by the client must end with the specified characters.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#exact ⇒ String
The value sent by the client must match the specified value exactly.
3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3670 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 |
#prefix ⇒ String
The value sent by the client must begin with the specified characters.
3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3670 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 |
#range ⇒ Types::MatchRange
An object that represents the range of values to match on.
3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3670 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 |
#regex ⇒ String
The value sent by the client must include the specified characters.
3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3670 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 |
#suffix ⇒ String
The value sent by the client must end with the specified characters.
3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3670 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
3670 3671 3672 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3670 def unknown @unknown end |