Class AllowedRoutes
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.AllowedRoutes
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AllowedRoutesBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AllowedRoutes extends Object implements io.fabric8.kubernetes.api.builder.Editable<AllowedRoutesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
AllowedRoutes defines which Routes may be attached to this Listener.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AllowedRoutes()No args constructor for use in serializationAllowedRoutes(List<RouteGroupKind> kinds, RouteNamespaces namespaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllowedRoutesBuilderedit()Map<String,Object>getAdditionalProperties()List<RouteGroupKind>getKinds()Kinds specifies the groups and kinds of Routes that are allowed to bind to this Gateway Listener.RouteNamespacesgetNamespaces()AllowedRoutes defines which Routes may be attached to this Listener.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKinds(List<RouteGroupKind> kinds)Kinds specifies the groups and kinds of Routes that are allowed to bind to this Gateway Listener.voidsetNamespaces(RouteNamespaces namespaces)AllowedRoutes defines which Routes may be attached to this Listener.AllowedRoutesBuildertoBuilder()
-
-
-
Constructor Detail
-
AllowedRoutes
public AllowedRoutes()
No args constructor for use in serialization
-
AllowedRoutes
public AllowedRoutes(List<RouteGroupKind> kinds, RouteNamespaces namespaces)
-
-
Method Detail
-
getKinds
public List<RouteGroupKind> getKinds()
Kinds specifies the groups and kinds of Routes that are allowed to bind to this Gateway Listener. When unspecified or empty, the kinds of Routes selected are determined using the Listener protocol.A RouteGroupKind MUST correspond to kinds of Routes that are compatible with the application protocol specified in the Listener's Protocol field. If an implementation does not support or recognize this resource type, it MUST set the "ResolvedRefs" condition to False for this Listener with the "InvalidRouteKinds" reason.
Support: Core
-
setKinds
public void setKinds(List<RouteGroupKind> kinds)
Kinds specifies the groups and kinds of Routes that are allowed to bind to this Gateway Listener. When unspecified or empty, the kinds of Routes selected are determined using the Listener protocol.A RouteGroupKind MUST correspond to kinds of Routes that are compatible with the application protocol specified in the Listener's Protocol field. If an implementation does not support or recognize this resource type, it MUST set the "ResolvedRefs" condition to False for this Listener with the "InvalidRouteKinds" reason.
Support: Core
-
getNamespaces
public RouteNamespaces getNamespaces()
AllowedRoutes defines which Routes may be attached to this Listener.
-
setNamespaces
public void setNamespaces(RouteNamespaces namespaces)
AllowedRoutes defines which Routes may be attached to this Listener.
-
edit
public AllowedRoutesBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AllowedRoutesBuilder>
-
toBuilder
public AllowedRoutesBuilder toBuilder()
-
-