Package io.fabric8.kubernetes.api.model
Class TypedLocalObjectReference
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.TypedLocalObjectReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TypedLocalObjectReferenceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TypedLocalObjectReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<TypedLocalObjectReferenceBuilder>, KubernetesResource
TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypedLocalObjectReference()No args constructor for use in serializationTypedLocalObjectReference(String apiGroup, String kind, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedLocalObjectReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiGroup()APIGroup is the group for the resource being referenced.StringgetKind()Kind is the type of resource being referencedStringgetName()Name is the name of resource being referencedvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiGroup(String apiGroup)APIGroup is the group for the resource being referenced.voidsetKind(String kind)Kind is the type of resource being referencedvoidsetName(String name)Name is the name of resource being referencedTypedLocalObjectReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getApiGroup
public String getApiGroup()
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
-
setApiGroup
public void setApiGroup(String apiGroup)
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
-
getKind
public String getKind()
Kind is the type of resource being referenced
-
setKind
public void setKind(String kind)
Kind is the type of resource being referenced
-
getName
public String getName()
Name is the name of resource being referenced
-
setName
public void setName(String name)
Name is the name of resource being referenced
-
edit
public TypedLocalObjectReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TypedLocalObjectReferenceBuilder>
-
toBuilder
public TypedLocalObjectReferenceBuilder toBuilder()
-
-