io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.CredentialsRequestBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CredentialsRequestBuilder extends CredentialsRequestFluent implements VisitableBuilder{
public CredentialsRequestBuilder() {
this(new CredentialsRequest());
}
public CredentialsRequestBuilder(CredentialsRequestFluent> fluent) {
this(fluent, new CredentialsRequest());
}
public CredentialsRequestBuilder(CredentialsRequestFluent> fluent,CredentialsRequest instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public CredentialsRequestBuilder(CredentialsRequest instance) {
this.fluent = this;
this.copyInstance(instance);
}
CredentialsRequestFluent> fluent;
public CredentialsRequest build() {
CredentialsRequest buildable = new CredentialsRequest(fluent.getApiVersion(),fluent.getKind(),fluent.buildMetadata(),fluent.buildSpec(),fluent.buildStatus());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}