Package io.fabric8.kubernetes.api.model
Class TypedObjectReference
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.TypedObjectReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TypedObjectReferenceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TypedObjectReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<TypedObjectReferenceBuilder>, KubernetesResource
TypedObjectReference contains enough information to let you locate the typed referenced object- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypedObjectReference()No args constructor for use in serializationTypedObjectReference(String apiGroup, String kind, String name, String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedObjectReferenceBuilderedit()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 referencedStringgetNamespace()Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference.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 referencedvoidsetName(String name)Name is the name of resource being referencedvoidsetNamespace(String namespace)Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference.TypedObjectReferenceBuildertoBuilder()
-
-
-
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
-
getNamespace
public String getNamespace()
Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
-
setNamespace
public void setNamespace(String namespace)
Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
-
edit
public TypedObjectReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TypedObjectReferenceBuilder>
-
toBuilder
public TypedObjectReferenceBuilder toBuilder()
-
-