
io.kubernetes.client.openapi.models.V1AzureFilePersistentVolumeSourceBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1AzureFilePersistentVolumeSourceBuilder extends V1AzureFilePersistentVolumeSourceFluent implements VisitableBuilder{
public V1AzureFilePersistentVolumeSourceBuilder() {
this(new V1AzureFilePersistentVolumeSource());
}
public V1AzureFilePersistentVolumeSourceBuilder(V1AzureFilePersistentVolumeSourceFluent> fluent) {
this(fluent, new V1AzureFilePersistentVolumeSource());
}
public V1AzureFilePersistentVolumeSourceBuilder(V1AzureFilePersistentVolumeSourceFluent> fluent,V1AzureFilePersistentVolumeSource instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1AzureFilePersistentVolumeSourceBuilder(V1AzureFilePersistentVolumeSource instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1AzureFilePersistentVolumeSourceFluent> fluent;
public V1AzureFilePersistentVolumeSource build() {
V1AzureFilePersistentVolumeSource buildable = new V1AzureFilePersistentVolumeSource();
buildable.setReadOnly(fluent.getReadOnly());
buildable.setSecretName(fluent.getSecretName());
buildable.setSecretNamespace(fluent.getSecretNamespace());
buildable.setShareName(fluent.getShareName());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy