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