io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.CredentialsRequestConditionBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CredentialsRequestConditionBuilder extends CredentialsRequestConditionFluent implements VisitableBuilder{
public CredentialsRequestConditionBuilder() {
this(new CredentialsRequestCondition());
}
public CredentialsRequestConditionBuilder(CredentialsRequestConditionFluent> fluent) {
this(fluent, new CredentialsRequestCondition());
}
public CredentialsRequestConditionBuilder(CredentialsRequestConditionFluent> fluent,CredentialsRequestCondition instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public CredentialsRequestConditionBuilder(CredentialsRequestCondition instance) {
this.fluent = this;
this.copyInstance(instance);
}
CredentialsRequestConditionFluent> fluent;
public CredentialsRequestCondition build() {
CredentialsRequestCondition buildable = new CredentialsRequestCondition(fluent.getLastProbeTime(),fluent.getLastTransitionTime(),fluent.getMessage(),fluent.getReason(),fluent.getStatus(),fluent.getType());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}