Class 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.
    • 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

      • 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 class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object