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 GRPCMethodMatchBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMethod()Value of the method to match against.StringgetService()Value of the service to match against.StringgetType()Type specifies how to match against the service and/or method.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMethod(String method)Value of the method to match against.voidsetService(String service)Value of the service to match against.voidsetType(String type)Type specifies how to match against the service and/or method.GRPCMethodMatchBuildertoBuilder()
-
-
-
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:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GRPCMethodMatchBuilder>
-
toBuilder
public GRPCMethodMatchBuilder toBuilder()
-
-