All Downloads are FREE. Search and download functionalities are using the official Maven repository.

annotations.io.fabric8.knative.eventing.contrib.gitlab.v1alpha1.SecretValueFromSourceFluentImpl Maven / Gradle / Ivy

package io.fabric8.knative.eventing.contrib.gitlab.v1alpha1;

import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
import io.fabric8.kubernetes.api.model.SecretKeySelector;

 /**
  * Generated
  */
public class SecretValueFromSourceFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements io.fabric8.knative.eventing.contrib.gitlab.v1alpha1.SecretValueFromSourceFluent{
  public SecretValueFromSourceFluentImpl() {
  }
  public SecretValueFromSourceFluentImpl(io.fabric8.knative.eventing.contrib.gitlab.v1alpha1.SecretValueFromSource instance) {
    this.withSecretKeyRef(instance.getSecretKeyRef()); 
  }
  private io.fabric8.kubernetes.api.model.SecretKeySelector secretKeyRef;
  public io.fabric8.kubernetes.api.model.SecretKeySelector getSecretKeyRef() {
    return this.secretKeyRef;
  }
  public A withSecretKeyRef(io.fabric8.kubernetes.api.model.SecretKeySelector secretKeyRef) {
    this.secretKeyRef=secretKeyRef; return (A) this;
  }
  public java.lang.Boolean hasSecretKeyRef() {
    return this.secretKeyRef != null;
  }
  public A withNewSecretKeyRef(java.lang.String key,java.lang.String name,java.lang.Boolean optional) {
    return (A)withSecretKeyRef(new SecretKeySelector(key, name, optional));
  }
  public boolean equals(java.lang.Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    SecretValueFromSourceFluentImpl that = (SecretValueFromSourceFluentImpl) o;
    if (secretKeyRef != null ? !secretKeyRef.equals(that.secretKeyRef) :that.secretKeyRef != null) return false;
    return true;
  }
  public int hashCode() {
    return java.util.Objects.hash(secretKeyRef,  super.hashCode());
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy