Class APIResourceReference
- java.lang.Object
-
- io.fabric8.openshift.api.model.operatorhub.v1alpha1.APIResourceReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<APIResourceReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class APIResourceReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<APIResourceReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
APIResourceReference is a reference to a Kubernetes resource type that the referrer utilizes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIResourceReference()No args constructor for use in serializationAPIResourceReference(String kind, String name, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIResourceReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetKind()Kind of the referenced resource type.StringgetName()Plural name of the referenced resource type (CustomResourceDefinition.Spec.Names[].Plural).StringgetVersion()API Version of the referenced resource type.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKind(String kind)Kind of the referenced resource type.voidsetName(String name)Plural name of the referenced resource type (CustomResourceDefinition.Spec.Names[].Plural).voidsetVersion(String version)API Version of the referenced resource type.APIResourceReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getKind
public String getKind()
Kind of the referenced resource type.
-
setKind
public void setKind(String kind)
Kind of the referenced resource type.
-
getName
public String getName()
Plural name of the referenced resource type (CustomResourceDefinition.Spec.Names[].Plural). Empty string if the referenced resource type is not a custom resource.
-
setName
public void setName(String name)
Plural name of the referenced resource type (CustomResourceDefinition.Spec.Names[].Plural). Empty string if the referenced resource type is not a custom resource.
-
getVersion
public String getVersion()
API Version of the referenced resource type.
-
setVersion
public void setVersion(String version)
API Version of the referenced resource type.
-
edit
public APIResourceReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<APIResourceReferenceBuilder>
-
toBuilder
public APIResourceReferenceBuilder toBuilder()
-
-