io.kubernetes.client.openapi.models.V1ReplicaSetBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1ReplicaSetBuilder extends V1ReplicaSetFluent implements VisitableBuilder{
public V1ReplicaSetBuilder() {
this(new V1ReplicaSet());
}
public V1ReplicaSetBuilder(V1ReplicaSetFluent> fluent) {
this(fluent, new V1ReplicaSet());
}
public V1ReplicaSetBuilder(V1ReplicaSetFluent> fluent,V1ReplicaSet instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1ReplicaSetBuilder(V1ReplicaSet instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1ReplicaSetFluent> fluent;
public V1ReplicaSet build() {
V1ReplicaSet buildable = new V1ReplicaSet();
buildable.setApiVersion(fluent.getApiVersion());
buildable.setKind(fluent.getKind());
buildable.setMetadata(fluent.buildMetadata());
buildable.setSpec(fluent.buildSpec());
buildable.setStatus(fluent.buildStatus());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy