Class ComponentSpecSecretKeyRef

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class ComponentSpecSecretKeyRef
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    SecretKeyRef is a reference to a secret holding the value for the metadata item. Name is the secret name, and key is the field in the secret.
    • Constructor Detail

      • ComponentSpecSecretKeyRef

        public ComponentSpecSecretKeyRef​(@NonNull
                                         @NonNull java.lang.String key,
                                         @NonNull
                                         @NonNull java.lang.String name)
      • ComponentSpecSecretKeyRef

        public ComponentSpecSecretKeyRef()
    • Method Detail

      • getKey

        @NonNull
        public @NonNull java.lang.String getKey()
      • getName

        @NonNull
        public @NonNull java.lang.String getName()
      • setKey

        public void setKey​(@NonNull
                           @NonNull java.lang.String key)
      • setName

        public void setName​(@NonNull
                            @NonNull java.lang.String name)
      • 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