Package io.fabric8.kubernetes.api.model
Class LocalObjectReference
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.LocalObjectReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<LocalObjectReferenceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class LocalObjectReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<LocalObjectReferenceBuilder>, KubernetesResource
LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalObjectReference()
No args constructor for use in serializationLocalObjectReference(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalObjectReferenceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getName()
Name of the referent.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setName(String name)
Name of the referent.LocalObjectReferenceBuilder
toBuilder()
-
-
-
Constructor Detail
-
LocalObjectReference
public LocalObjectReference()
No args constructor for use in serialization
-
LocalObjectReference
public LocalObjectReference(String name)
-
-
Method Detail
-
getName
public String getName()
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
setName
public void setName(String name)
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
edit
public LocalObjectReferenceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<LocalObjectReferenceBuilder>
-
toBuilder
public LocalObjectReferenceBuilder toBuilder()
-
-