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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/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)


3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3243

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)


3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3243

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:



3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3243

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)


3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3243

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)


3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3243

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



3243
3244
3245
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3243

def unknown
  @unknown
end