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

io.kubernetes.client.openapi.models.V1ServiceAccountTokenProjectionBuilder Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1ServiceAccountTokenProjectionBuilder extends V1ServiceAccountTokenProjectionFluent implements VisitableBuilder{
  public V1ServiceAccountTokenProjectionBuilder() {
    this(new V1ServiceAccountTokenProjection());
  }
  
  public V1ServiceAccountTokenProjectionBuilder(V1ServiceAccountTokenProjectionFluent fluent) {
    this(fluent, new V1ServiceAccountTokenProjection());
  }
  
  public V1ServiceAccountTokenProjectionBuilder(V1ServiceAccountTokenProjectionFluent fluent,V1ServiceAccountTokenProjection instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1ServiceAccountTokenProjectionBuilder(V1ServiceAccountTokenProjection instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1ServiceAccountTokenProjectionFluent fluent;
  
  public V1ServiceAccountTokenProjection build() {
    V1ServiceAccountTokenProjection buildable = new V1ServiceAccountTokenProjection();
    buildable.setAudience(fluent.getAudience());
    buildable.setExpirationSeconds(fluent.getExpirationSeconds());
    buildable.setPath(fluent.getPath());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy