io.kubernetes.client.openapi.models.V1PersistentVolumeClaimTemplateBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import java.lang.Boolean;
public class V1PersistentVolumeClaimTemplateBuilder extends V1PersistentVolumeClaimTemplateFluentImpl implements VisitableBuilder{
public V1PersistentVolumeClaimTemplateBuilder() {
this(false);
}
public V1PersistentVolumeClaimTemplateBuilder(Boolean validationEnabled) {
this(new V1PersistentVolumeClaimTemplate(), validationEnabled);
}
public V1PersistentVolumeClaimTemplateBuilder(V1PersistentVolumeClaimTemplateFluent> fluent) {
this(fluent, false);
}
public V1PersistentVolumeClaimTemplateBuilder(V1PersistentVolumeClaimTemplateFluent> fluent,Boolean validationEnabled) {
this(fluent, new V1PersistentVolumeClaimTemplate(), validationEnabled);
}
public V1PersistentVolumeClaimTemplateBuilder(V1PersistentVolumeClaimTemplateFluent> fluent,V1PersistentVolumeClaimTemplate instance) {
this(fluent, instance, false);
}
public V1PersistentVolumeClaimTemplateBuilder(V1PersistentVolumeClaimTemplateFluent> fluent,V1PersistentVolumeClaimTemplate instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withMetadata(instance.getMetadata());
fluent.withSpec(instance.getSpec());
this.validationEnabled = validationEnabled;
}
public V1PersistentVolumeClaimTemplateBuilder(V1PersistentVolumeClaimTemplate instance) {
this(instance,false);
}
public V1PersistentVolumeClaimTemplateBuilder(V1PersistentVolumeClaimTemplate instance,Boolean validationEnabled) {
this.fluent = this;
this.withMetadata(instance.getMetadata());
this.withSpec(instance.getSpec());
this.validationEnabled = validationEnabled;
}
V1PersistentVolumeClaimTemplateFluent> fluent;
Boolean validationEnabled;
public V1PersistentVolumeClaimTemplate build() {
V1PersistentVolumeClaimTemplate buildable = new V1PersistentVolumeClaimTemplate();
buildable.setMetadata(fluent.getMetadata());
buildable.setSpec(fluent.getSpec());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy