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

io.kubernetes.client.openapi.models.EventsV1EventBuilder 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 EventsV1EventBuilder extends EventsV1EventFluent implements VisitableBuilder{
  public EventsV1EventBuilder() {
    this(new EventsV1Event());
  }
  
  public EventsV1EventBuilder(EventsV1EventFluent fluent) {
    this(fluent, new EventsV1Event());
  }
  
  public EventsV1EventBuilder(EventsV1EventFluent fluent,EventsV1Event instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public EventsV1EventBuilder(EventsV1Event instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  EventsV1EventFluent fluent;
  
  public EventsV1Event build() {
    EventsV1Event buildable = new EventsV1Event();
    buildable.setAction(fluent.getAction());
    buildable.setApiVersion(fluent.getApiVersion());
    buildable.setDeprecatedCount(fluent.getDeprecatedCount());
    buildable.setDeprecatedFirstTimestamp(fluent.getDeprecatedFirstTimestamp());
    buildable.setDeprecatedLastTimestamp(fluent.getDeprecatedLastTimestamp());
    buildable.setDeprecatedSource(fluent.buildDeprecatedSource());
    buildable.setEventTime(fluent.getEventTime());
    buildable.setKind(fluent.getKind());
    buildable.setMetadata(fluent.buildMetadata());
    buildable.setNote(fluent.getNote());
    buildable.setReason(fluent.getReason());
    buildable.setRegarding(fluent.buildRegarding());
    buildable.setRelated(fluent.buildRelated());
    buildable.setReportingController(fluent.getReportingController());
    buildable.setReportingInstance(fluent.getReportingInstance());
    buildable.setSeries(fluent.buildSeries());
    buildable.setType(fluent.getType());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy