io.fabric8.openshift.api.model.tuned.v1.ProfileBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.openshift.api.model.tuned.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ProfileBuilder extends ProfileFluent implements VisitableBuilder{
public ProfileBuilder() {
this(new Profile());
}
public ProfileBuilder(ProfileFluent> fluent) {
this(fluent, new Profile());
}
public ProfileBuilder(ProfileFluent> fluent,Profile instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ProfileBuilder(Profile instance) {
this.fluent = this;
this.copyInstance(instance);
}
ProfileFluent> fluent;
public Profile build() {
Profile buildable = new Profile(fluent.getApiVersion(),fluent.getKind(),fluent.buildMetadata(),fluent.buildSpec(),fluent.buildStatus());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy