Class FlightEndpoint.Builder

java.lang.Object
org.apache.arrow.flight.FlightEndpoint.Builder
Enclosing class:
FlightEndpoint

public static final class FlightEndpoint.Builder extends Object
Builder for FlightEndpoint.
  • Method Details

    • setExpirationTime

      public FlightEndpoint.Builder setExpirationTime(Instant expirationTime)
      Set expiration time for the endpoint. Default is null, which means don't expire.
      Parameters:
      expirationTime - (optional) When this endpoint expires.
    • setAppMetadata

      public FlightEndpoint.Builder setAppMetadata(byte[] appMetadata)
      Set the app metadata to send along with the flight. Default is null;
      Parameters:
      appMetadata - Metadata to send along with the flight
    • build

      public FlightEndpoint build()
      Build FlightEndpoint object.