Package org.azd.serviceclient
Class AzDService
java.lang.Object
org.azd.serviceclient.AzDService
Client object instance creation factory class.
-
Method Summary
Modifier and TypeMethodDescriptionauthentication(AccessTokenCredential accessTokenCredential) Sets the authentication provider.Builds the AzDService client object to work with Apis and configuration.static AzDServicebuilder()Creates a new service object.
-
Method Details
-
builder
Creates a new service object.- Returns:
- AzDService object.
AzDService
-
authentication
Sets the authentication provider. Can be personal access token or OAuth token credential.- Parameters:
accessTokenCredential- Access token credential object.AccessTokenCredential- Returns:
- AzDService object.
-
buildClient
Builds the AzDService client object to work with Apis and configuration.- Returns:
- AzDServiceClient object.
AzDServiceClient
-