io.kubernetes.client.openapi.models.V1PodResourceClaimBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1PodResourceClaimBuilder extends V1PodResourceClaimFluent implements VisitableBuilder{
public V1PodResourceClaimBuilder() {
this(new V1PodResourceClaim());
}
public V1PodResourceClaimBuilder(V1PodResourceClaimFluent> fluent) {
this(fluent, new V1PodResourceClaim());
}
public V1PodResourceClaimBuilder(V1PodResourceClaimFluent> fluent,V1PodResourceClaim instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1PodResourceClaimBuilder(V1PodResourceClaim instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1PodResourceClaimFluent> fluent;
public V1PodResourceClaim build() {
V1PodResourceClaim buildable = new V1PodResourceClaim();
buildable.setName(fluent.getName());
buildable.setSource(fluent.buildSource());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy