EventGridPublisherClientImplBuilder.addPolicy(HttpPipelinePolicy customPolicy) Method

Definition

Adds a custom Http pipeline policy.

public EventGridPublisherClientImplBuilder addPolicy(HttpPipelinePolicy customPolicy)

Parameters

customPolicy
HttpPipelinePolicy

The custom Http pipeline policy to add.

Returns

the EventGridPublisherClientImplBuilder.

Applies to