io.fabric8.kubernetes.api.model.authentication.TokenReviewStatusBuilder Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.authentication;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class TokenReviewStatusBuilder extends TokenReviewStatusFluent implements VisitableBuilder{
public TokenReviewStatusBuilder() {
this(new TokenReviewStatus());
}
public TokenReviewStatusBuilder(TokenReviewStatusFluent> fluent) {
this(fluent, new TokenReviewStatus());
}
public TokenReviewStatusBuilder(TokenReviewStatusFluent> fluent,TokenReviewStatus instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public TokenReviewStatusBuilder(TokenReviewStatus instance) {
this.fluent = this;
this.copyInstance(instance);
}
TokenReviewStatusFluent> fluent;
public TokenReviewStatus build() {
TokenReviewStatus buildable = new TokenReviewStatus(fluent.getAudiences(),fluent.getAuthenticated(),fluent.getError(),fluent.buildUser());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy