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

io.kubernetes.client.models.V1alpha1VolumeAttachmentSourceFluentImpl 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 V1alpha1VolumeAttachmentSourceFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1alpha1VolumeAttachmentSourceFluent{

    private String persistentVolumeName;

    public V1alpha1VolumeAttachmentSourceFluentImpl(){
    }
    public V1alpha1VolumeAttachmentSourceFluentImpl(V1alpha1VolumeAttachmentSource 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;
            V1alpha1VolumeAttachmentSourceFluentImpl that = (V1alpha1VolumeAttachmentSourceFluentImpl) o;
            if (persistentVolumeName != null ? !persistentVolumeName.equals(that.persistentVolumeName) :that.persistentVolumeName != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy