All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.kubernetes.api.model.authentication.v1beta1.TokenReviewSpecBuilder Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model.authentication.v1beta1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class TokenReviewSpecBuilder extends TokenReviewSpecFluent implements VisitableBuilder{
  public TokenReviewSpecBuilder() {
    this(new TokenReviewSpec());
  }
  
  public TokenReviewSpecBuilder(TokenReviewSpecFluent fluent) {
    this(fluent, new TokenReviewSpec());
  }
  
  public TokenReviewSpecBuilder(TokenReviewSpecFluent fluent,TokenReviewSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public TokenReviewSpecBuilder(TokenReviewSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  TokenReviewSpecFluent fluent;
  
  public TokenReviewSpec build() {
    TokenReviewSpec buildable = new TokenReviewSpec(fluent.getAudiences(),fluent.getToken());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy