Class ReferenceGrantSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1beta1.ReferenceGrantSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ReferenceGrantSpecBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ReferenceGrantSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ReferenceGrantSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ReferenceGrantSpec identifies a cross namespace relationship that is trusted for Gateway API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReferenceGrantSpec()
No args constructor for use in serializationReferenceGrantSpec(List<ReferenceGrantFrom> from, List<ReferenceGrantTo> to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceGrantSpecBuilder
edit()
Map<String,Object>
getAdditionalProperties()
List<ReferenceGrantFrom>
getFrom()
From describes the trusted namespaces and kinds that can reference the resources described in "To".List<ReferenceGrantTo>
getTo()
To describes the resources that may be referenced by the resources described in "From".void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setFrom(List<ReferenceGrantFrom> from)
From describes the trusted namespaces and kinds that can reference the resources described in "To".void
setTo(List<ReferenceGrantTo> to)
To describes the resources that may be referenced by the resources described in "From".ReferenceGrantSpecBuilder
toBuilder()
-
-
-
Constructor Detail
-
ReferenceGrantSpec
public ReferenceGrantSpec()
No args constructor for use in serialization
-
ReferenceGrantSpec
public ReferenceGrantSpec(List<ReferenceGrantFrom> from, List<ReferenceGrantTo> to)
-
-
Method Detail
-
getFrom
public List<ReferenceGrantFrom> getFrom()
From describes the trusted namespaces and kinds that can reference the resources described in "To". Each entry in this list MUST be considered to be an additional place that references can be valid from, or to put this another way, entries MUST be combined using OR.Support: Core
-
setFrom
public void setFrom(List<ReferenceGrantFrom> from)
From describes the trusted namespaces and kinds that can reference the resources described in "To". Each entry in this list MUST be considered to be an additional place that references can be valid from, or to put this another way, entries MUST be combined using OR.Support: Core
-
getTo
public List<ReferenceGrantTo> getTo()
To describes the resources that may be referenced by the resources described in "From". Each entry in this list MUST be considered to be an additional place that references can be valid to, or to put this another way, entries MUST be combined using OR.Support: Core
-
setTo
public void setTo(List<ReferenceGrantTo> to)
To describes the resources that may be referenced by the resources described in "From". Each entry in this list MUST be considered to be an additional place that references can be valid to, or to put this another way, entries MUST be combined using OR.Support: Core
-
edit
public ReferenceGrantSpecBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<ReferenceGrantSpecBuilder>
-
toBuilder
public ReferenceGrantSpecBuilder toBuilder()
-
-