Class JavaDownloadClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.jmsjavadownloads.JavaDownloadClient
-
- All Implemented Interfaces:
JavaDownload,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20230601") public class JavaDownloadClient extends BaseSyncClient implements JavaDownload
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaDownloadClient.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 JavaDownload.
-
Constructor Summary
Constructors Constructor Description JavaDownloadClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.JavaDownloadClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.JavaDownloadClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.JavaDownloadClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.JavaDownloadClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.JavaDownloadClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.JavaDownloadClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.JavaDownloadClient(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 JavaDownloadClient.Builderbuilder()Create a builder for this client.CancelWorkRequestResponsecancelWorkRequest(CancelWorkRequestRequest request)Cancels the work request with the given ID.voidclose()CreateJavaDownloadReportResponsecreateJavaDownloadReport(CreateJavaDownloadReportRequest request)Create a new report in the specified format containing the download details for the tenancy.CreateJavaDownloadTokenResponsecreateJavaDownloadToken(CreateJavaDownloadTokenRequest request)Creates a new JavaDownloadToken in the tenancy with specified attributes.CreateJavaLicenseAcceptanceRecordResponsecreateJavaLicenseAcceptanceRecord(CreateJavaLicenseAcceptanceRecordRequest request)Creates a Java license acceptance record for the specified license type in a tenancy.DeleteJavaDownloadReportResponsedeleteJavaDownloadReport(DeleteJavaDownloadReportRequest request)Deletes a JavaDownloadReport resource by identifier.DeleteJavaDownloadTokenResponsedeleteJavaDownloadToken(DeleteJavaDownloadTokenRequest request)Deletes a JavaDownloadToken resource by identifier.DeleteJavaLicenseAcceptanceRecordResponsedeleteJavaLicenseAcceptanceRecord(DeleteJavaLicenseAcceptanceRecordRequest request)Deletes a Java license acceptance record with the specified identifier.GenerateArtifactDownloadUrlResponsegenerateArtifactDownloadUrl(GenerateArtifactDownloadUrlRequest request)Generates a download URL and returns it in the response payload.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()GetJavaDownloadReportResponsegetJavaDownloadReport(GetJavaDownloadReportRequest request)Gets a JavaDownloadReport by the specified identifier.GetJavaDownloadReportContentResponsegetJavaDownloadReportContent(GetJavaDownloadReportContentRequest request)Retrieve a Java download report with the specified identifier.GetJavaDownloadTokenResponsegetJavaDownloadToken(GetJavaDownloadTokenRequest request)Gets a JavaDownloadToken by identifierGetJavaLicenseResponsegetJavaLicense(GetJavaLicenseRequest request)Return details of the specified Java license type.GetJavaLicenseAcceptanceRecordResponsegetJavaLicenseAcceptanceRecord(GetJavaLicenseAcceptanceRecordRequest request)Returns a specific Java license acceptance record in a tenancy.Optional<String>getMinimumClientCommonLibraryVersionFromClient()JavaDownloadPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.JavaDownloadWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets details of the work request with the given ID.ListJavaDownloadRecordsResponselistJavaDownloadRecords(ListJavaDownloadRecordsRequest request)Returns a list of Java download records in a tenancy based on specified parameters.ListJavaDownloadReportsResponselistJavaDownloadReports(ListJavaDownloadReportsRequest request)Returns a list of JavaDownloadReports.ListJavaDownloadTokensResponselistJavaDownloadTokens(ListJavaDownloadTokensRequest request)Returns a list of JavaDownloadTokens.ListJavaLicenseAcceptanceRecordsResponselistJavaLicenseAcceptanceRecords(ListJavaLicenseAcceptanceRecordsRequest request)Returns a list of all the Java license acceptance records in a tenancy.ListJavaLicensesResponselistJavaLicenses(ListJavaLicensesRequest request)Return a list with details of all Java licenses.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 tenancy.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.RequestSummarizedJavaDownloadCountsResponserequestSummarizedJavaDownloadCounts(RequestSummarizedJavaDownloadCountsRequest request)Returns list of download counts grouped by the specified property.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’).voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateJavaDownloadTokenResponseupdateJavaDownloadToken(UpdateJavaDownloadTokenRequest request)Updates the JavaDownloadToken specified by the identifier.UpdateJavaLicenseAcceptanceRecordResponseupdateJavaLicenseAcceptanceRecord(UpdateJavaLicenseAcceptanceRecordRequest request)Updates a specific Java license acceptance record in a tenancy.voiduseRealmSpecificEndpointTemplate(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.jmsjavadownloads.JavaDownload
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
JavaDownloadClient
@Deprecated public JavaDownloadClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeJavaDownloadClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
JavaDownloadClient
@Deprecated public JavaDownloadClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeJavaDownloadClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
JavaDownloadClient
@Deprecated public JavaDownloadClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeJavaDownloadClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
JavaDownloadClient
@Deprecated public JavaDownloadClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeJavaDownloadClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
JavaDownloadClient
@Deprecated public JavaDownloadClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeJavaDownloadClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
JavaDownloadClient
@Deprecated public JavaDownloadClient(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 (seeJavaDownloadClient.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)
-
JavaDownloadClient
@Deprecated public JavaDownloadClient(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 (seeJavaDownloadClient.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
-
JavaDownloadClient
@Deprecated public JavaDownloadClient(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 (seeJavaDownloadClient.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-JavaDownloadClient.Builder.executorService
-
-
Method Detail
-
builder
public static JavaDownloadClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:JavaDownloadSets 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.- Specified by:
setRegionin interfaceJavaDownload- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:JavaDownloadSets 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.- Specified by:
setRegionin interfaceJavaDownload- Parameters:
regionId- The public region ID.
-
cancelWorkRequest
public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Description copied from interface:JavaDownloadCancels the work request with the given ID.- Specified by:
cancelWorkRequestin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createJavaDownloadReport
public CreateJavaDownloadReportResponse createJavaDownloadReport(CreateJavaDownloadReportRequest request)
Description copied from interface:JavaDownloadCreate a new report in the specified format containing the download details for the tenancy.- Specified by:
createJavaDownloadReportin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createJavaDownloadToken
public CreateJavaDownloadTokenResponse createJavaDownloadToken(CreateJavaDownloadTokenRequest request)
Description copied from interface:JavaDownloadCreates a new JavaDownloadToken in the tenancy with specified attributes.Ensure that you review the license terms before token generation. Visit the <a href="https://www.oracle.com/java/technologies/downloads"/>Oracle Java Downloads page to understand the license terms of the Java version for which you are generating a token. By generating a token, you agree to the associated license terms. See <a href="https://www.oracle.com/cis/java/technologies/javase/jdk-faqs.html">Oracle JDK Licensing - FAQs for detailed information.
- Specified by:
createJavaDownloadTokenin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createJavaLicenseAcceptanceRecord
public CreateJavaLicenseAcceptanceRecordResponse createJavaLicenseAcceptanceRecord(CreateJavaLicenseAcceptanceRecordRequest request)
Description copied from interface:JavaDownloadCreates a Java license acceptance record for the specified license type in a tenancy.- Specified by:
createJavaLicenseAcceptanceRecordin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteJavaDownloadReport
public DeleteJavaDownloadReportResponse deleteJavaDownloadReport(DeleteJavaDownloadReportRequest request)
Description copied from interface:JavaDownloadDeletes a JavaDownloadReport resource by identifier.- Specified by:
deleteJavaDownloadReportin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteJavaDownloadToken
public DeleteJavaDownloadTokenResponse deleteJavaDownloadToken(DeleteJavaDownloadTokenRequest request)
Description copied from interface:JavaDownloadDeletes a JavaDownloadToken resource by identifier.- Specified by:
deleteJavaDownloadTokenin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteJavaLicenseAcceptanceRecord
public DeleteJavaLicenseAcceptanceRecordResponse deleteJavaLicenseAcceptanceRecord(DeleteJavaLicenseAcceptanceRecordRequest request)
Description copied from interface:JavaDownloadDeletes a Java license acceptance record with the specified identifier.- Specified by:
deleteJavaLicenseAcceptanceRecordin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
generateArtifactDownloadUrl
public GenerateArtifactDownloadUrlResponse generateArtifactDownloadUrl(GenerateArtifactDownloadUrlRequest request)
Description copied from interface:JavaDownloadGenerates a download URL and returns it in the response payload.The URL in the response can then be used for downloading the specific Java runtime artifact.
Use the
getJavaReleaseAPI to get information about available artifacts for a specific release. Each artifact is uniquely identified by an `artifactId`. ReferjavaArtifactfor more details.- Specified by:
generateArtifactDownloadUrlin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getJavaDownloadReport
public GetJavaDownloadReportResponse getJavaDownloadReport(GetJavaDownloadReportRequest request)
Description copied from interface:JavaDownloadGets a JavaDownloadReport by the specified identifier.- Specified by:
getJavaDownloadReportin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getJavaDownloadReportContent
public GetJavaDownloadReportContentResponse getJavaDownloadReportContent(GetJavaDownloadReportContentRequest request)
Description copied from interface:JavaDownloadRetrieve a Java download report with the specified identifier.- Specified by:
getJavaDownloadReportContentin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getJavaDownloadToken
public GetJavaDownloadTokenResponse getJavaDownloadToken(GetJavaDownloadTokenRequest request)
Description copied from interface:JavaDownloadGets a JavaDownloadToken by identifier- Specified by:
getJavaDownloadTokenin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getJavaLicense
public GetJavaLicenseResponse getJavaLicense(GetJavaLicenseRequest request)
Description copied from interface:JavaDownloadReturn details of the specified Java license type.- Specified by:
getJavaLicensein interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getJavaLicenseAcceptanceRecord
public GetJavaLicenseAcceptanceRecordResponse getJavaLicenseAcceptanceRecord(GetJavaLicenseAcceptanceRecordRequest request)
Description copied from interface:JavaDownloadReturns a specific Java license acceptance record in a tenancy.- Specified by:
getJavaLicenseAcceptanceRecordin interfaceJavaDownload- 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:JavaDownloadGets details of the work request with the given ID.- Specified by:
getWorkRequestin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listJavaDownloadRecords
public ListJavaDownloadRecordsResponse listJavaDownloadRecords(ListJavaDownloadRecordsRequest request)
Description copied from interface:JavaDownloadReturns a list of Java download records in a tenancy based on specified parameters.See
listJavaReleasesfor possible values ofjavaFamilyVersionandjavaReleaseVersionparameters.- Specified by:
listJavaDownloadRecordsin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listJavaDownloadReports
public ListJavaDownloadReportsResponse listJavaDownloadReports(ListJavaDownloadReportsRequest request)
Description copied from interface:JavaDownloadReturns a list of JavaDownloadReports.- Specified by:
listJavaDownloadReportsin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listJavaDownloadTokens
public ListJavaDownloadTokensResponse listJavaDownloadTokens(ListJavaDownloadTokensRequest request)
Description copied from interface:JavaDownloadReturns a list of JavaDownloadTokens.- Specified by:
listJavaDownloadTokensin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listJavaLicenseAcceptanceRecords
public ListJavaLicenseAcceptanceRecordsResponse listJavaLicenseAcceptanceRecords(ListJavaLicenseAcceptanceRecordsRequest request)
Description copied from interface:JavaDownloadReturns a list of all the Java license acceptance records in a tenancy.- Specified by:
listJavaLicenseAcceptanceRecordsin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listJavaLicenses
public ListJavaLicensesResponse listJavaLicenses(ListJavaLicensesRequest request)
Description copied from interface:JavaDownloadReturn a list with details of all Java licenses.- Specified by:
listJavaLicensesin interfaceJavaDownload- 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:JavaDownloadReturns a (paginated) list of errors for the work request with the given ID.- Specified by:
listWorkRequestErrorsin interfaceJavaDownload- 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:JavaDownloadReturns a (paginated) list of logs for the work request with the given ID.- Specified by:
listWorkRequestLogsin interfaceJavaDownload- 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:JavaDownloadLists the work requests in a tenancy.- Specified by:
listWorkRequestsin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
requestSummarizedJavaDownloadCounts
public RequestSummarizedJavaDownloadCountsResponse requestSummarizedJavaDownloadCounts(RequestSummarizedJavaDownloadCountsRequest request)
Description copied from interface:JavaDownloadReturns list of download counts grouped by the specified property.- Specified by:
requestSummarizedJavaDownloadCountsin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateJavaDownloadToken
public UpdateJavaDownloadTokenResponse updateJavaDownloadToken(UpdateJavaDownloadTokenRequest request)
Description copied from interface:JavaDownloadUpdates the JavaDownloadToken specified by the identifier.- Specified by:
updateJavaDownloadTokenin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateJavaLicenseAcceptanceRecord
public UpdateJavaLicenseAcceptanceRecordResponse updateJavaLicenseAcceptanceRecord(UpdateJavaLicenseAcceptanceRecordRequest request)
Description copied from interface:JavaDownloadUpdates a specific Java license acceptance record in a tenancy.- Specified by:
updateJavaLicenseAcceptanceRecordin interfaceJavaDownload- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public JavaDownloadWaiters getWaiters()
Description copied from interface:JavaDownloadGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceJavaDownload- Returns:
- The service waiters.
-
getPaginators
public JavaDownloadPaginators getPaginators()
Description copied from interface:JavaDownloadGets 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 interfaceJavaDownload- 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()
-
-