Uses of Class
com.azure.messaging.eventgrid.EventGridPublisherClientBuilder
Packages that use EventGridPublisherClientBuilder
Package
Description
Package containing the classes for EventGridClient.
-
Uses of EventGridPublisherClientBuilder in com.azure.messaging.eventgrid
Methods in com.azure.messaging.eventgrid that return EventGridPublisherClientBuilderModifier and TypeMethodDescriptionEventGridPublisherClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy httpPipelinePolicy) Adds apipeline policyto apply on each request sent.EventGridPublisherClientBuilder.clientOptions(com.azure.core.util.ClientOptions clientOptions) Allows for setting common properties such as application ID, headers, proxy configuration, etc.EventGridPublisherClientBuilder.configuration(com.azure.core.util.Configuration configuration) Set the configuration of HTTP and Azure values.EventGridPublisherClientBuilder.credential(com.azure.core.credential.AzureKeyCredential credential) Set the domain or topic authentication using a key obtained from Azure CLI, Azure portal, or the ARM SDKs.EventGridPublisherClientBuilder.credential(com.azure.core.credential.AzureSasCredential credential) Set the domain or topic authentication using an already obtained Shared Access Signature token.EventGridPublisherClientBuilder.credential(com.azure.core.credential.TokenCredential credential) Sets theTokenCredentialused to authorize requests sent to the service.Set the domain or topic endpoint.EventGridPublisherClientBuilder.httpClient(com.azure.core.http.HttpClient httpClient) Sets theHttpClientto use for sending and receiving requests to and from the service.EventGridPublisherClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions) Sets thelogging configurationto use when sending and receiving requests to and from the service.EventGridPublisherClientBuilder.pipeline(com.azure.core.http.HttpPipeline httpPipeline) Sets theHttpPipelineto use for the service client.EventGridPublisherClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions retryOptions) Sets theRetryOptionsfor all the requests made through the client.EventGridPublisherClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy) Add a custom retry policy to the pipeline.EventGridPublisherClientBuilder.serviceVersion(EventGridServiceVersion serviceVersion) Set the service version to use for requests to the event grid service.