Class TypedLocalObjectReference
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1alpha2.TypedLocalObjectReference
-
- All Implemented Interfaces:
Editable<TypedLocalObjectReferenceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TypedLocalObjectReference extends Object implements Editable<TypedLocalObjectReferenceBuilder>, KubernetesResource
TypedLocalObjectReference allows to reference typed 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 referenced.StringgetName()Name is the name of resource being referenced.voidsetAdditionalProperties(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 referenced.voidsetName(String name)Name is the name of resource being referenced.TypedLocalObjectReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getApiGroup
public String getApiGroup()
APIGroup is the group for the resource being referenced. If APIGroup is empty, the specified Kind must be in the core API group. For any other third-party types, setting APIGroup is required. It must be a DNS subdomain.
-
setApiGroup
public void setApiGroup(String apiGroup)
APIGroup is the group for the resource being referenced. If APIGroup is empty, the specified Kind must be in the core API group. For any other third-party types, setting APIGroup is required. It must be a DNS subdomain.
-
getKind
public String getKind()
Kind is the type of resource being referenced. It must be a path segment name.
-
setKind
public void setKind(String kind)
Kind is the type of resource being referenced. It must be a path segment name.
-
getName
public String getName()
Name is the name of resource being referenced. It must be a path segment name.
-
setName
public void setName(String name)
Name is the name of resource being referenced. It must be a path segment name.
-
edit
public TypedLocalObjectReferenceBuilder edit()
- Specified by:
editin interfaceEditable<TypedLocalObjectReferenceBuilder>
-
toBuilder
public TypedLocalObjectReferenceBuilder toBuilder()
-
-