Class: Aws::VPCLattice::Types::PathMatchType

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

Overview

Note:

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

Note:

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

Describes a path match type. Each rule can include only one of the following types of paths.

Direct Known Subclasses

Exact, Prefix, Unknown

Defined Under Namespace

Classes: Exact, Prefix, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#exactString

An exact match of the path.

Returns:

  • (String)


2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 2539

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

  class Exact < PathMatchType; end
  class Prefix < PathMatchType; end
  class Unknown < PathMatchType; end
end

#prefixString

A prefix match of the path.

Returns:

  • (String)


2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 2539

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

  class Exact < PathMatchType; end
  class Prefix < PathMatchType; end
  class Unknown < PathMatchType; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2539
2540
2541
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 2539

def unknown
  @unknown
end