Class: Aws::VPCLattice::Types::HeaderMatchType

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

Overview

Note:

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

Note:

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

Describes a header match type. Only one can be provided.

Direct Known Subclasses

Contains, Exact, Prefix, Unknown

Defined Under Namespace

Classes: Contains, Exact, Prefix, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#containsString

Specifies a contains type match.

Returns:

  • (String)


1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 1900

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

  class Contains < HeaderMatchType; end
  class Exact < HeaderMatchType; end
  class Prefix < HeaderMatchType; end
  class Unknown < HeaderMatchType; end
end

#exactString

Specifies an exact type match.

Returns:

  • (String)


1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 1900

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

  class Contains < HeaderMatchType; end
  class Exact < HeaderMatchType; end
  class Prefix < HeaderMatchType; end
  class Unknown < HeaderMatchType; end
end

#prefixString

Specifies a prefix type match. Matches the value with the prefix.

Returns:

  • (String)


1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 1900

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

  class Contains < HeaderMatchType; end
  class Exact < HeaderMatchType; end
  class Prefix < HeaderMatchType; end
  class Unknown < HeaderMatchType; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1900
1901
1902
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 1900

def unknown
  @unknown
end