PipelineOptions Class

Definition

This type encapsulates all the possible configuration for the default pipeline. It may be passed to the createPipeline method on StorageURL. All the options fields have default values if nothing is passed, and no logger will be used if it is not set. An HttpClient must be set, however.

public class PipelineOptions
Inheritance
java.lang.Object
PipelineOptions

Constructors

PipelineOptions()

Returns aPipelineOptions  object with default values for each of the options fields. An HttpClient must still be set explicitly, however.

Methods

client()

Specifies which HttpClient to use to send the requests.

logger()

Specifies the logger for the pipeline.

loggingOptions()

Configures the built-in request logging policy.

requestRetryOptions()

Configures the retry policy's behavior.

telemetryOptions()

Configures the built-in telemetry policy behavior.

withClient(HttpClient client)

Specifies which HttpClient to use to send the requests.

withLogger(HttpPipelineLogger logger)

Specifies the logger for the pipeline.

withLoggingOptions(LoggingOptions loggingOptions)

Configures the built-in request logging policy.

withRequestRetryOptions(RequestRetryOptions requestRetryOptions)

Configures the retry policy's behavior.

withTelemetryOptions(TelemetryOptions telemetryOptions)

Configures the built-in telemetry policy behavior.

Applies to