Class LocalObjectReference
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.LocalObjectReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<LocalObjectReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class LocalObjectReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<LocalObjectReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
LocalObjectReference identifies an API object within the namespace of the referrer. The API object must be valid in the cluster; the Group and Kind must be registered in the cluster for this reference to be valid.References to objects with invalid Group and Kind are not valid, and must be rejected by the implementation, with appropriate Conditions set on the containing object.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalObjectReference()No args constructor for use in serializationLocalObjectReference(String group, String kind, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalObjectReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetGroup()Group is the group of the referent.StringgetKind()Kind is kind of the referent.StringgetName()Name is the name of the referent.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGroup(String group)Group is the group of the referent.voidsetKind(String kind)Kind is kind of the referent.voidsetName(String name)Name is the name of the referent.LocalObjectReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getGroup
public String getGroup()
Group is the group of the referent. For example, "gateway.networking.k8s.io". When unspecified or empty string, core API group is inferred.
-
setGroup
public void setGroup(String group)
Group is the group of the referent. For example, "gateway.networking.k8s.io". When unspecified or empty string, core API group is inferred.
-
getKind
public String getKind()
Kind is kind of the referent. For example "HTTPRoute" or "Service".
-
setKind
public void setKind(String kind)
Kind is kind of the referent. For example "HTTPRoute" or "Service".
-
getName
public String getName()
Name is the name of the referent.
-
setName
public void setName(String name)
Name is the name of the referent.
-
edit
public LocalObjectReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<LocalObjectReferenceBuilder>
-
toBuilder
public LocalObjectReferenceBuilder toBuilder()
-
-