io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.CredentialsStatusBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CredentialsStatusBuilder extends CredentialsStatusFluent implements VisitableBuilder{
public CredentialsStatusBuilder() {
this(new CredentialsStatus());
}
public CredentialsStatusBuilder(CredentialsStatusFluent> fluent) {
this(fluent, new CredentialsStatus());
}
public CredentialsStatusBuilder(CredentialsStatusFluent> fluent,CredentialsStatus instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public CredentialsStatusBuilder(CredentialsStatus instance) {
this.fluent = this;
this.copyInstance(instance);
}
CredentialsStatusFluent> fluent;
public CredentialsStatus build() {
CredentialsStatus buildable = new CredentialsStatus(fluent.getCredentials(),fluent.getCredentialsVersion());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}