Class: Aws::AppMesh::Types::GrpcMetadataMatchMethod

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-appmesh/types.rb

Overview

Note:

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

Note:

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.

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 exact method header to be matched on.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
# File '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

#prefixString

The specified beginning characters of the method header to be matched on.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
# File '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

#rangeTypes::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.

Returns:



1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
# File '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

#regexString

The regex used to match the method header.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
# File '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

#suffixString

The specified ending characters of the method header to match on.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
# File '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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1884
1885
1886
# File 'lib/aws-sdk-appmesh/types.rb', line 1884

def unknown
  @unknown
end