io.kubernetes.client.openapi.models.V1ExternalDocumentationBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1ExternalDocumentationBuilder extends V1ExternalDocumentationFluent implements VisitableBuilder{
public V1ExternalDocumentationBuilder() {
this(new V1ExternalDocumentation());
}
public V1ExternalDocumentationBuilder(V1ExternalDocumentationFluent> fluent) {
this(fluent, new V1ExternalDocumentation());
}
public V1ExternalDocumentationBuilder(V1ExternalDocumentationFluent> fluent,V1ExternalDocumentation instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1ExternalDocumentationBuilder(V1ExternalDocumentation instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1ExternalDocumentationFluent> fluent;
public V1ExternalDocumentation build() {
V1ExternalDocumentation buildable = new V1ExternalDocumentation();
buildable.setDescription(fluent.getDescription());
buildable.setUrl(fluent.getUrl());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy