java.lang.Object
org.apache.arrow.flight.FlightEndpoint.Builder
- Enclosing class:
- FlightEndpoint
Builder for FlightEndpoint.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build FlightEndpoint object.setAppMetadata
(byte[] appMetadata) Set the app metadata to send along with the flight.setExpirationTime
(Instant expirationTime) Set expiration time for the endpoint.
-
Method Details
-
setExpirationTime
Set expiration time for the endpoint. Default is null, which means don't expire.- Parameters:
expirationTime
- (optional) When this endpoint expires.
-
setAppMetadata
Set the app metadata to send along with the flight. Default is null;- Parameters:
appMetadata
- Metadata to send along with the flight
-
build
Build FlightEndpoint object.
-