Class CrossVersionObjectReference
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class CrossVersionObjectReference extends java.lang.Object implements com.marcnuri.yakc.model.Model
CrossVersionObjectReference contains enough information to let you identify the referred resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CrossVersionObjectReference.Builder
-
Constructor Summary
Constructors Constructor Description CrossVersionObjectReference()
CrossVersionObjectReference(java.lang.String apiVersion, @NonNull java.lang.String kind, @NonNull java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CrossVersionObjectReference.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getApiVersion()
API version of the referent@NonNull java.lang.String
getKind()
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"@NonNull java.lang.String
getName()
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#namesint
hashCode()
void
setApiVersion(java.lang.String apiVersion)
API version of the referentvoid
setKind(@NonNull java.lang.String kind)
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"void
setName(@NonNull java.lang.String name)
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#namesCrossVersionObjectReference.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static CrossVersionObjectReference.Builder builder()
-
toBuilder
public CrossVersionObjectReference.Builder toBuilder()
-
getApiVersion
public java.lang.String getApiVersion()
API version of the referent
-
getKind
@NonNull public @NonNull java.lang.String getKind()
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
-
getName
@NonNull public @NonNull java.lang.String getName()
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
API version of the referent
-
setKind
public void setKind(@NonNull @NonNull java.lang.String kind)
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
-
setName
public void setName(@NonNull @NonNull java.lang.String name)
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-