Class CrossVersionObjectReference
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2.CrossVersionObjectReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CrossVersionObjectReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CrossVersionObjectReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<CrossVersionObjectReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
CrossVersionObjectReference contains enough information to let you identify the referred resource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CrossVersionObjectReference()No args constructor for use in serializationCrossVersionObjectReference(String apiVersion, String kind, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrossVersionObjectReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()apiVersion is the API version of the referentStringgetKind()kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsStringgetName()name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)apiVersion is the API version of the referentvoidsetKind(String kind)kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsvoidsetName(String name)name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#namesCrossVersionObjectReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
apiVersion is the API version of the referent
-
setApiVersion
public void setApiVersion(String apiVersion)
apiVersion is the API version of the referent
-
getKind
public String getKind()
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getName
public String getName()
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
setName
public void setName(String name)
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
edit
public CrossVersionObjectReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CrossVersionObjectReferenceBuilder>
-
toBuilder
public CrossVersionObjectReferenceBuilder toBuilder()
-
-