Class TypedLocalObjectReference
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.TypedLocalObjectReference
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class TypedLocalObjectReference extends java.lang.Object implements com.marcnuri.yakc.model.Model
TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TypedLocalObjectReference.Builder
-
Constructor Summary
Constructors Constructor Description TypedLocalObjectReference()
TypedLocalObjectReference(java.lang.String apiGroup, @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 TypedLocalObjectReference.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getApiGroup()
APIGroup is the group for the resource being referenced.@NonNull java.lang.String
getKind()
Kind is the type of resource being referenced@NonNull java.lang.String
getName()
Name is the name of resource being referencedint
hashCode()
void
setApiGroup(java.lang.String apiGroup)
APIGroup is the group for the resource being referenced.void
setKind(@NonNull java.lang.String kind)
Kind is the type of resource being referencedvoid
setName(@NonNull java.lang.String name)
Name is the name of resource being referencedTypedLocalObjectReference.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static TypedLocalObjectReference.Builder builder()
-
toBuilder
public TypedLocalObjectReference.Builder toBuilder()
-
getApiGroup
public java.lang.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.
-
getKind
@NonNull public @NonNull java.lang.String getKind()
Kind is the type of resource being referenced
-
getName
@NonNull public @NonNull java.lang.String getName()
Name is the name of resource being referenced
-
setApiGroup
public void setApiGroup(java.lang.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.
-
setKind
public void setKind(@NonNull @NonNull java.lang.String kind)
Kind is the type of resource being referenced
-
setName
public void setName(@NonNull @NonNull java.lang.String name)
Name is the name of resource being referenced
-
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
-
-