Class: Aws::AppMesh::Types::GrpcRouteMetadataMatchMethod

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

Overview

Note:

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

Note:

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

An object that represents the match method. Specify one of the match values.

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)


3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3566

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

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

#prefixString

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

Returns:

  • (String)


3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3566

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

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

#rangeTypes::MatchRange

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

Returns:



3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3566

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

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

#regexString

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

Returns:

  • (String)


3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3566

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

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

#suffixString

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

Returns:

  • (String)


3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3566

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

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3566
3567
3568
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3566

def unknown
  @unknown
end