Class GRPCHeaderMatch
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.GRPCHeaderMatch
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GRPCHeaderMatchBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GRPCHeaderMatch extends Object implements io.fabric8.kubernetes.api.builder.Editable<GRPCHeaderMatchBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GRPCHeaderMatch describes how to select a gRPC route by matching gRPC request headers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GRPCHeaderMatch()
No args constructor for use in serializationGRPCHeaderMatch(String name, String type, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GRPCHeaderMatchBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getName()
Name is the name of the gRPC Header to be matched.String
getType()
Type specifies how to match against the value of the header.String
getValue()
Value is the value of the gRPC Header to be matched.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setName(String name)
Name is the name of the gRPC Header to be matched.void
setType(String type)
Type specifies how to match against the value of the header.void
setValue(String value)
Value is the value of the gRPC Header to be matched.GRPCHeaderMatchBuilder
toBuilder()
-
-
-
Method Detail
-
getName
public String getName()
Name is the name of the gRPC Header to be matched.If multiple entries specify equivalent header names, only the first entry with an equivalent name MUST be considered for a match. Subsequent entries with an equivalent header name MUST be ignored. Due to the case-insensitivity of header names, "foo" and "Foo" are considered equivalent.
-
setName
public void setName(String name)
Name is the name of the gRPC Header to be matched.If multiple entries specify equivalent header names, only the first entry with an equivalent name MUST be considered for a match. Subsequent entries with an equivalent header name MUST be ignored. Due to the case-insensitivity of header names, "foo" and "Foo" are considered equivalent.
-
getType
public String getType()
Type specifies how to match against the value of the header.
-
setType
public void setType(String type)
Type specifies how to match against the value of the header.
-
getValue
public String getValue()
Value is the value of the gRPC Header to be matched.
-
setValue
public void setValue(String value)
Value is the value of the gRPC Header to be matched.
-
edit
public GRPCHeaderMatchBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<GRPCHeaderMatchBuilder>
-
toBuilder
public GRPCHeaderMatchBuilder toBuilder()
-
-