
io.kubernetes.client.models.V1beta1VolumeAttachmentSourceFluentImpl Maven / Gradle / Ivy
package io.kubernetes.client.models;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class V1beta1VolumeAttachmentSourceFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1beta1VolumeAttachmentSourceFluent{
private String persistentVolumeName;
public V1beta1VolumeAttachmentSourceFluentImpl(){
}
public V1beta1VolumeAttachmentSourceFluentImpl(V1beta1VolumeAttachmentSource instance){
this.withPersistentVolumeName(instance.getPersistentVolumeName());
}
public String getPersistentVolumeName(){
return this.persistentVolumeName;
}
public A withPersistentVolumeName(String persistentVolumeName){
this.persistentVolumeName=persistentVolumeName; return (A) this;
}
public Boolean hasPersistentVolumeName(){
return this.persistentVolumeName != null;
}
public boolean equals(Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
V1beta1VolumeAttachmentSourceFluentImpl that = (V1beta1VolumeAttachmentSourceFluentImpl) o;
if (persistentVolumeName != null ? !persistentVolumeName.equals(that.persistentVolumeName) :that.persistentVolumeName != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy