Class GRPCMethodMatch
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.GRPCMethodMatch
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GRPCMethodMatchBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GRPCMethodMatch extends Object implements io.fabric8.kubernetes.api.builder.Editable<GRPCMethodMatchBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GRPCMethodMatch describes how to select a gRPC route by matching the gRPC request service and/or method.At least one of Service and Method MUST be a non-empty string.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GRPCMethodMatch()
No args constructor for use in serializationGRPCMethodMatch(String method, String service, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GRPCMethodMatchBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getMethod()
Value of the method to match against.String
getService()
Value of the service to match against.String
getType()
Type specifies how to match against the service and/or method.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setMethod(String method)
Value of the method to match against.void
setService(String service)
Value of the service to match against.void
setType(String type)
Type specifies how to match against the service and/or method.GRPCMethodMatchBuilder
toBuilder()
-
-
-
Method Detail
-
getMethod
public String getMethod()
Value of the method to match against. If left empty or omitted, will match all services.At least one of Service and Method MUST be a non-empty string.
-
setMethod
public void setMethod(String method)
Value of the method to match against. If left empty or omitted, will match all services.At least one of Service and Method MUST be a non-empty string.
-
getService
public String getService()
Value of the service to match against. If left empty or omitted, will match any service.At least one of Service and Method MUST be a non-empty string.
-
setService
public void setService(String service)
Value of the service to match against. If left empty or omitted, will match any service.At least one of Service and Method MUST be a non-empty string.
-
getType
public String getType()
Type specifies how to match against the service and/or method. Support: Core (Exact with service and method specified)Support: Implementation-specific (Exact with method specified but no service specified)
Support: Implementation-specific (RegularExpression)
-
setType
public void setType(String type)
Type specifies how to match against the service and/or method. Support: Core (Exact with service and method specified)Support: Implementation-specific (Exact with method specified but no service specified)
Support: Implementation-specific (RegularExpression)
-
edit
public GRPCMethodMatchBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<GRPCMethodMatchBuilder>
-
toBuilder
public GRPCMethodMatchBuilder toBuilder()
-
-