Class RouteNamespaces
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.RouteNamespaces
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RouteNamespacesBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RouteNamespaces extends Object implements io.fabric8.kubernetes.api.builder.Editable<RouteNamespacesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RouteNamespaces indicate which namespaces Routes should be selected from.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouteNamespaces()
No args constructor for use in serializationRouteNamespaces(String from, io.fabric8.kubernetes.api.model.LabelSelector selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteNamespacesBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getFrom()
From indicates where Routes will be selected for this Gateway.io.fabric8.kubernetes.api.model.LabelSelector
getSelector()
RouteNamespaces indicate which namespaces Routes should be selected from.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setFrom(String from)
From indicates where Routes will be selected for this Gateway.void
setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
RouteNamespaces indicate which namespaces Routes should be selected from.RouteNamespacesBuilder
toBuilder()
-
-
-
Constructor Detail
-
RouteNamespaces
public RouteNamespaces()
No args constructor for use in serialization
-
RouteNamespaces
public RouteNamespaces(String from, io.fabric8.kubernetes.api.model.LabelSelector selector)
-
-
Method Detail
-
getFrom
public String getFrom()
From indicates where Routes will be selected for this Gateway. Possible values are:* All: Routes in all namespaces may be used by this Gateway. * Selector: Routes in namespaces selected by the selector may be used by
this Gateway.
* Same: Only Routes in the same namespace may be used by this Gateway.
Support: Core
-
setFrom
public void setFrom(String from)
From indicates where Routes will be selected for this Gateway. Possible values are:* All: Routes in all namespaces may be used by this Gateway. * Selector: Routes in namespaces selected by the selector may be used by
this Gateway.
* Same: Only Routes in the same namespace may be used by this Gateway.
Support: Core
-
getSelector
public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
RouteNamespaces indicate which namespaces Routes should be selected from.
-
setSelector
public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
RouteNamespaces indicate which namespaces Routes should be selected from.
-
edit
public RouteNamespacesBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<RouteNamespacesBuilder>
-
toBuilder
public RouteNamespacesBuilder toBuilder()
-
-