Class: Aws::AppMesh::Types::GrpcMetadataMatchMethod
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::GrpcMetadataMatchMethod
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
GrpcMetadataMatchMethod is a union - when making an API calls you must set exactly one of the members.
GrpcMetadataMatchMethod is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of GrpcMetadataMatchMethod corresponding to the set member.
An object representing the method header to be matched.
Defined Under Namespace
Classes: Exact, Prefix, Range, Regex, Suffix, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#exact ⇒ String
The exact method header to be matched on.
-
#prefix ⇒ String
The specified beginning characters of the method header to be matched on.
-
#range ⇒ Types::MatchRange
An object that represents the range of values to match on.
-
#regex ⇒ String
The regex used to match the method header.
-
#suffix ⇒ String
The specified ending characters of the method header to match on.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#exact ⇒ String
The exact method header to be matched on.
1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1884 class GrpcMetadataMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Exact < GrpcMetadataMatchMethod; end class Prefix < GrpcMetadataMatchMethod; end class Range < GrpcMetadataMatchMethod; end class Regex < GrpcMetadataMatchMethod; end class Suffix < GrpcMetadataMatchMethod; end class Unknown < GrpcMetadataMatchMethod; end end |
#prefix ⇒ String
The specified beginning characters of the method header to be matched on.
1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1884 class GrpcMetadataMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Exact < GrpcMetadataMatchMethod; end class Prefix < GrpcMetadataMatchMethod; end class Range < GrpcMetadataMatchMethod; end class Regex < GrpcMetadataMatchMethod; end class Suffix < GrpcMetadataMatchMethod; end class Unknown < GrpcMetadataMatchMethod; end end |
#range ⇒ Types::MatchRange
An object that represents the range of values to match on. The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.
1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1884 class GrpcMetadataMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Exact < GrpcMetadataMatchMethod; end class Prefix < GrpcMetadataMatchMethod; end class Range < GrpcMetadataMatchMethod; end class Regex < GrpcMetadataMatchMethod; end class Suffix < GrpcMetadataMatchMethod; end class Unknown < GrpcMetadataMatchMethod; end end |
#regex ⇒ String
The regex used to match the method header.
1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1884 class GrpcMetadataMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Exact < GrpcMetadataMatchMethod; end class Prefix < GrpcMetadataMatchMethod; end class Range < GrpcMetadataMatchMethod; end class Regex < GrpcMetadataMatchMethod; end class Suffix < GrpcMetadataMatchMethod; end class Unknown < GrpcMetadataMatchMethod; end end |
#suffix ⇒ String
The specified ending characters of the method header to match on.
1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1884 class GrpcMetadataMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Exact < GrpcMetadataMatchMethod; end class Prefix < GrpcMetadataMatchMethod; end class Range < GrpcMetadataMatchMethod; end class Regex < GrpcMetadataMatchMethod; end class Suffix < GrpcMetadataMatchMethod; end class Unknown < GrpcMetadataMatchMethod; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1884 1885 1886 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1884 def unknown @unknown end |