Class: Aws::VPCLattice::Types::HeaderMatchType
- Inherits:
-
Struct
- Object
- Struct
- Aws::VPCLattice::Types::HeaderMatchType
- 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.
Defined Under Namespace
Classes: Contains, Exact, Prefix, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#contains ⇒ String
A contains type match.
-
#exact ⇒ String
An exact type match.
-
#prefix ⇒ String
A prefix type match.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#contains ⇒ String
A contains type match.
1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 1892 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 |
#exact ⇒ String
An exact type match.
1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 1892 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 |
#prefix ⇒ String
A prefix type match. Matches the value with the prefix.
1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 1892 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1892 1893 1894 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 1892 def unknown @unknown end |