io.kubernetes.client.openapi.models.V1ParentReferenceBuilder Maven / Gradle / Ivy
The newest version!
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1ParentReferenceBuilder extends V1ParentReferenceFluent implements VisitableBuilder{
public V1ParentReferenceBuilder() {
this(new V1ParentReference());
}
public V1ParentReferenceBuilder(V1ParentReferenceFluent> fluent) {
this(fluent, new V1ParentReference());
}
public V1ParentReferenceBuilder(V1ParentReferenceFluent> fluent,V1ParentReference instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1ParentReferenceBuilder(V1ParentReference instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1ParentReferenceFluent> fluent;
public V1ParentReference build() {
V1ParentReference buildable = new V1ParentReference();
buildable.setGroup(fluent.getGroup());
buildable.setName(fluent.getName());
buildable.setNamespace(fluent.getNamespace());
buildable.setResource(fluent.getResource());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy