Class LockboxClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.lockbox.LockboxClient
-
- All Implemented Interfaces:
Lockbox,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20220126") public class LockboxClient extends BaseSyncClient implements Lockbox
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLockboxClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for Lockbox.
-
Constructor Summary
Constructors Constructor Description LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.LockboxClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.LockboxClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.LockboxClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LockboxClient.Builderbuilder()Create a builder for this client.CancelWorkRequestResponsecancelWorkRequest(CancelWorkRequestRequest request)Cancels the work request with the given ID.ChangeApprovalTemplateCompartmentResponsechangeApprovalTemplateCompartment(ChangeApprovalTemplateCompartmentRequest request)Moves an ApprovalTemplate resource from one compartment identifier to another.ChangeLockboxCompartmentResponsechangeLockboxCompartment(ChangeLockboxCompartmentRequest request)Moves a Lockbox resource from one compartment identifier to another.voidclose()CreateAccessRequestResponsecreateAccessRequest(CreateAccessRequestRequest request)Creates a new access request.CreateApprovalTemplateResponsecreateApprovalTemplate(CreateApprovalTemplateRequest request)Creates a new approval template.CreateLockboxResponsecreateLockbox(CreateLockboxRequest request)Creates a new Lockbox.DeleteApprovalTemplateResponsedeleteApprovalTemplate(DeleteApprovalTemplateRequest request)Deletes an ApprovalTemplate resource by identifierDeleteLockboxResponsedeleteLockbox(DeleteLockboxRequest request)Deletes a Lockbox resource by identifierExportAccessRequestsResponseexportAccessRequests(ExportAccessRequestsRequest request)Exports a list of AccessRequestSummary objects within a compartment and during a specified time range in text format.GetAccessMaterialsResponsegetAccessMaterials(GetAccessMaterialsRequest request)Retrieves the access credential/material associated with the access request.GetAccessRequestResponsegetAccessRequest(GetAccessRequestRequest request)Retrieves an access request identified by the access request ID.GetAccessRequestInternalResponsegetAccessRequestInternal(GetAccessRequestInternalRequest request)Retrieves an access request identified by the access request ID for internal use.GetApprovalTemplateResponsegetApprovalTemplate(GetApprovalTemplateRequest request)Retrieves an approval template identified by the approval template ID.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()GetLockboxResponsegetLockbox(GetLockboxRequest request)Gets a Lockbox by identifierOptional<String>getMinimumClientCommonLibraryVersionFromClient()LockboxPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.LockboxWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets details of the work request with the given ID.HandleAccessRequestResponsehandleAccessRequest(HandleAccessRequestRequest request)Handle the AccessRequestListAccessRequestsResponselistAccessRequests(ListAccessRequestsRequest request)Retrieves a list of AccessRequestSummary objects in a compartment.ListApprovalTemplatesResponselistApprovalTemplates(ListApprovalTemplatesRequest request)Retrieves a list of ApprovalTemplateSummary objects in a compartment.ListLockboxesResponselistLockboxes(ListLockboxesRequest request)Returns a list of Lockboxes.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Returns a (paginated) list of errors for the work request with the given ID.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Returns a (paginated) list of logs for the work request with the given ID.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).UpdateApprovalTemplateResponseupdateApprovalTemplate(UpdateApprovalTemplateRequest request)Updates the ApprovalTemplatevoidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateLockboxResponseupdateLockbox(UpdateLockboxRequest request)Updates the LockboxvoiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.lockbox.Lockbox
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
LockboxClient
@Deprecated public LockboxClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLockboxClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
LockboxClient
@Deprecated public LockboxClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLockboxClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
LockboxClient
@Deprecated public LockboxClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLockboxClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
LockboxClient
@Deprecated public LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLockboxClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
LockboxClient
@Deprecated public LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLockboxClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
LockboxClient
@Deprecated public LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLockboxClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
LockboxClient
@Deprecated public LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLockboxClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
LockboxClient
@Deprecated public LockboxClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeLockboxClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-LockboxClient.Builder.executorService
-
-
Method Detail
-
builder
public static LockboxClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:LockboxSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:LockboxSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.
-
cancelWorkRequest
public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Description copied from interface:LockboxCancels the work request with the given ID.- Specified by:
cancelWorkRequestin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeApprovalTemplateCompartment
public ChangeApprovalTemplateCompartmentResponse changeApprovalTemplateCompartment(ChangeApprovalTemplateCompartmentRequest request)
Description copied from interface:LockboxMoves an ApprovalTemplate resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeApprovalTemplateCompartmentin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeLockboxCompartment
public ChangeLockboxCompartmentResponse changeLockboxCompartment(ChangeLockboxCompartmentRequest request)
Description copied from interface:LockboxMoves a Lockbox resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeLockboxCompartmentin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createAccessRequest
public CreateAccessRequestResponse createAccessRequest(CreateAccessRequestRequest request)
Description copied from interface:LockboxCreates a new access request.- Specified by:
createAccessRequestin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createApprovalTemplate
public CreateApprovalTemplateResponse createApprovalTemplate(CreateApprovalTemplateRequest request)
Description copied from interface:LockboxCreates a new approval template.- Specified by:
createApprovalTemplatein interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createLockbox
public CreateLockboxResponse createLockbox(CreateLockboxRequest request)
Description copied from interface:LockboxCreates a new Lockbox.- Specified by:
createLockboxin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteApprovalTemplate
public DeleteApprovalTemplateResponse deleteApprovalTemplate(DeleteApprovalTemplateRequest request)
Description copied from interface:LockboxDeletes an ApprovalTemplate resource by identifier- Specified by:
deleteApprovalTemplatein interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteLockbox
public DeleteLockboxResponse deleteLockbox(DeleteLockboxRequest request)
Description copied from interface:LockboxDeletes a Lockbox resource by identifier- Specified by:
deleteLockboxin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
exportAccessRequests
public ExportAccessRequestsResponse exportAccessRequests(ExportAccessRequestsRequest request)
Description copied from interface:LockboxExports a list of AccessRequestSummary objects within a compartment and during a specified time range in text format.You can filter the results by problem severity.
- Specified by:
exportAccessRequestsin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAccessMaterials
public GetAccessMaterialsResponse getAccessMaterials(GetAccessMaterialsRequest request)
Description copied from interface:LockboxRetrieves the access credential/material associated with the access request.- Specified by:
getAccessMaterialsin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAccessRequest
public GetAccessRequestResponse getAccessRequest(GetAccessRequestRequest request)
Description copied from interface:LockboxRetrieves an access request identified by the access request ID.- Specified by:
getAccessRequestin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAccessRequestInternal
public GetAccessRequestInternalResponse getAccessRequestInternal(GetAccessRequestInternalRequest request)
Description copied from interface:LockboxRetrieves an access request identified by the access request ID for internal use.- Specified by:
getAccessRequestInternalin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getApprovalTemplate
public GetApprovalTemplateResponse getApprovalTemplate(GetApprovalTemplateRequest request)
Description copied from interface:LockboxRetrieves an approval template identified by the approval template ID.- Specified by:
getApprovalTemplatein interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getLockbox
public GetLockboxResponse getLockbox(GetLockboxRequest request)
Description copied from interface:LockboxGets a Lockbox by identifier- Specified by:
getLockboxin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:LockboxGets details of the work request with the given ID.- Specified by:
getWorkRequestin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
handleAccessRequest
public HandleAccessRequestResponse handleAccessRequest(HandleAccessRequestRequest request)
Description copied from interface:LockboxHandle the AccessRequest- Specified by:
handleAccessRequestin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAccessRequests
public ListAccessRequestsResponse listAccessRequests(ListAccessRequestsRequest request)
Description copied from interface:LockboxRetrieves a list of AccessRequestSummary objects in a compartment.- Specified by:
listAccessRequestsin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listApprovalTemplates
public ListApprovalTemplatesResponse listApprovalTemplates(ListApprovalTemplatesRequest request)
Description copied from interface:LockboxRetrieves a list of ApprovalTemplateSummary objects in a compartment.- Specified by:
listApprovalTemplatesin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listLockboxes
public ListLockboxesResponse listLockboxes(ListLockboxesRequest request)
Description copied from interface:LockboxReturns a list of Lockboxes.- Specified by:
listLockboxesin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:LockboxReturns a (paginated) list of errors for the work request with the given ID.- Specified by:
listWorkRequestErrorsin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:LockboxReturns a (paginated) list of logs for the work request with the given ID.- Specified by:
listWorkRequestLogsin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:LockboxLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateApprovalTemplate
public UpdateApprovalTemplateResponse updateApprovalTemplate(UpdateApprovalTemplateRequest request)
Description copied from interface:LockboxUpdates the ApprovalTemplate- Specified by:
updateApprovalTemplatein interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateLockbox
public UpdateLockboxResponse updateLockbox(UpdateLockboxRequest request)
Description copied from interface:LockboxUpdates the Lockbox- Specified by:
updateLockboxin interfaceLockbox- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public LockboxWaiters getWaiters()
Description copied from interface:LockboxGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceLockbox- Returns:
- The service waiters.
-
getPaginators
public LockboxPaginators getPaginators()
Description copied from interface:LockboxGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin interfaceLockbox- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-