Class ResourceClaimConsumerReference
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.resource.v1alpha1.ResourceClaimConsumerReference
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class ResourceClaimConsumerReference extends java.lang.Object implements com.marcnuri.yakc.model.Model
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceClaimConsumerReference.Builder
-
Constructor Summary
Constructors Constructor Description ResourceClaimConsumerReference()
ResourceClaimConsumerReference(java.lang.String apiGroup, @NonNull java.lang.String name, @NonNull java.lang.String resource, @NonNull java.lang.String uid)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceClaimConsumerReference.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
getName()
Name is the name of resource being referenced.@NonNull java.lang.String
getResource()
Resource is the type of resource being referenced, for example "pods".@NonNull java.lang.String
getUid()
UID identifies exactly one incarnation of the resource.int
hashCode()
void
setApiGroup(java.lang.String apiGroup)
APIGroup is the group for the resource being referenced.void
setName(@NonNull java.lang.String name)
Name is the name of resource being referenced.void
setResource(@NonNull java.lang.String resource)
Resource is the type of resource being referenced, for example "pods".void
setUid(@NonNull java.lang.String uid)
UID identifies exactly one incarnation of the resource.ResourceClaimConsumerReference.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ResourceClaimConsumerReference
public ResourceClaimConsumerReference(java.lang.String apiGroup, @NonNull @NonNull java.lang.String name, @NonNull @NonNull java.lang.String resource, @NonNull @NonNull java.lang.String uid)
-
ResourceClaimConsumerReference
public ResourceClaimConsumerReference()
-
-
Method Detail
-
builder
public static ResourceClaimConsumerReference.Builder builder()
-
toBuilder
public ResourceClaimConsumerReference.Builder toBuilder()
-
getApiGroup
public java.lang.String getApiGroup()
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
-
getName
@NonNull public @NonNull java.lang.String getName()
Name is the name of resource being referenced.
-
getResource
@NonNull public @NonNull java.lang.String getResource()
Resource is the type of resource being referenced, for example "pods".
-
getUid
@NonNull public @NonNull java.lang.String getUid()
UID identifies exactly one incarnation of the resource.
-
setApiGroup
public void setApiGroup(java.lang.String apiGroup)
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
-
setName
public void setName(@NonNull @NonNull java.lang.String name)
Name is the name of resource being referenced.
-
setResource
public void setResource(@NonNull @NonNull java.lang.String resource)
Resource is the type of resource being referenced, for example "pods".
-
setUid
public void setUid(@NonNull @NonNull java.lang.String uid)
UID identifies exactly one incarnation of the resource.
-
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
-
-