public static class TransportRequestOptions.Builder
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
TransportRequestOptions |
build() |
|
TransportRequestOptions.Builder |
withCompress(boolean compress) |
|
TransportRequestOptions.Builder |
withTimeout(long timeout) |
|
TransportRequestOptions.Builder |
withTimeout(TimeValue timeout) |
|
TransportRequestOptions.Builder |
withType(TransportRequestOptions.Type type) |
public TransportRequestOptions.Builder withTimeout(long timeout)
public TransportRequestOptions.Builder withTimeout(TimeValue timeout)
public TransportRequestOptions.Builder withCompress(boolean compress)
public TransportRequestOptions.Builder withType(TransportRequestOptions.Type type)
public TransportRequestOptions build()