Interface JavaDownload
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
JavaDownloadClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20230601") public interface JavaDownload extends AutoCloseableThe APIs for the Java Download feature of Java Management Service.This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CancelWorkRequestResponsecancelWorkRequest(CancelWorkRequestRequest request)Cancels the work request with the given ID.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.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)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.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.voidrefreshClient()Rebuilds the client from scratch.RequestSummarizedJavaDownloadCountsResponserequestSummarizedJavaDownloadCounts(RequestSummarizedJavaDownloadCountsRequest request)Returns list of download counts grouped by the specified property.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).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’).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 realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void setRegion(Region region)
Sets 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.- Parameters:
region- The region of the service.
-
setRegion
void setRegion(String regionId)
Sets 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.- Parameters:
regionId- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled- flag to enable the use of realm specific endpoint template
-
cancelWorkRequest
CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Cancels the work request with the given ID.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/CancelWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelWorkRequest API.
-
createJavaDownloadReport
CreateJavaDownloadReportResponse createJavaDownloadReport(CreateJavaDownloadReportRequest request)
Create a new report in the specified format containing the download details for the tenancy.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/CreateJavaDownloadReportExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateJavaDownloadReport API.
-
createJavaDownloadToken
CreateJavaDownloadTokenResponse createJavaDownloadToken(CreateJavaDownloadTokenRequest request)
Creates 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.
- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/CreateJavaDownloadTokenExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateJavaDownloadToken API.
-
createJavaLicenseAcceptanceRecord
CreateJavaLicenseAcceptanceRecordResponse createJavaLicenseAcceptanceRecord(CreateJavaLicenseAcceptanceRecordRequest request)
Creates a Java license acceptance record for the specified license type in a tenancy.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/CreateJavaLicenseAcceptanceRecordExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateJavaLicenseAcceptanceRecord API.
-
deleteJavaDownloadReport
DeleteJavaDownloadReportResponse deleteJavaDownloadReport(DeleteJavaDownloadReportRequest request)
Deletes a JavaDownloadReport resource by identifier.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/DeleteJavaDownloadReportExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteJavaDownloadReport API.
-
deleteJavaDownloadToken
DeleteJavaDownloadTokenResponse deleteJavaDownloadToken(DeleteJavaDownloadTokenRequest request)
Deletes a JavaDownloadToken resource by identifier.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/DeleteJavaDownloadTokenExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteJavaDownloadToken API.
-
deleteJavaLicenseAcceptanceRecord
DeleteJavaLicenseAcceptanceRecordResponse deleteJavaLicenseAcceptanceRecord(DeleteJavaLicenseAcceptanceRecordRequest request)
Deletes a Java license acceptance record with the specified identifier.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/DeleteJavaLicenseAcceptanceRecordExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteJavaLicenseAcceptanceRecord API.
-
generateArtifactDownloadUrl
GenerateArtifactDownloadUrlResponse generateArtifactDownloadUrl(GenerateArtifactDownloadUrlRequest request)
Generates 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.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/GenerateArtifactDownloadUrlExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GenerateArtifactDownloadUrl API.
-
getJavaDownloadReport
GetJavaDownloadReportResponse getJavaDownloadReport(GetJavaDownloadReportRequest request)
Gets a JavaDownloadReport by the specified identifier.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/GetJavaDownloadReportExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetJavaDownloadReport API.
-
getJavaDownloadReportContent
GetJavaDownloadReportContentResponse getJavaDownloadReportContent(GetJavaDownloadReportContentRequest request)
Retrieve a Java download report with the specified identifier.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/GetJavaDownloadReportContentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetJavaDownloadReportContent API.
-
getJavaDownloadToken
GetJavaDownloadTokenResponse getJavaDownloadToken(GetJavaDownloadTokenRequest request)
Gets a JavaDownloadToken by identifier- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/GetJavaDownloadTokenExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetJavaDownloadToken API.
-
getJavaLicense
GetJavaLicenseResponse getJavaLicense(GetJavaLicenseRequest request)
Return details of the specified Java license type.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/GetJavaLicenseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetJavaLicense API.
-
getJavaLicenseAcceptanceRecord
GetJavaLicenseAcceptanceRecordResponse getJavaLicenseAcceptanceRecord(GetJavaLicenseAcceptanceRecordRequest request)
Returns a specific Java license acceptance record in a tenancy.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/GetJavaLicenseAcceptanceRecordExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetJavaLicenseAcceptanceRecord API.
-
getWorkRequest
GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Gets details of the work request with the given ID.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API.
-
listJavaDownloadRecords
ListJavaDownloadRecordsResponse listJavaDownloadRecords(ListJavaDownloadRecordsRequest request)
Returns a list of Java download records in a tenancy based on specified parameters.See
listJavaReleasesfor possible values ofjavaFamilyVersionandjavaReleaseVersionparameters.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/ListJavaDownloadRecordsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListJavaDownloadRecords API.
-
listJavaDownloadReports
ListJavaDownloadReportsResponse listJavaDownloadReports(ListJavaDownloadReportsRequest request)
Returns a list of JavaDownloadReports.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/ListJavaDownloadReportsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListJavaDownloadReports API.
-
listJavaDownloadTokens
ListJavaDownloadTokensResponse listJavaDownloadTokens(ListJavaDownloadTokensRequest request)
Returns a list of JavaDownloadTokens.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/ListJavaDownloadTokensExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListJavaDownloadTokens API.
-
listJavaLicenseAcceptanceRecords
ListJavaLicenseAcceptanceRecordsResponse listJavaLicenseAcceptanceRecords(ListJavaLicenseAcceptanceRecordsRequest request)
Returns a list of all the Java license acceptance records in a tenancy.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/ListJavaLicenseAcceptanceRecordsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListJavaLicenseAcceptanceRecords API.
-
listJavaLicenses
ListJavaLicensesResponse listJavaLicenses(ListJavaLicensesRequest request)
Return a list with details of all Java licenses.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/ListJavaLicensesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListJavaLicenses API.
-
listWorkRequestErrors
ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Returns a (paginated) list of errors for the work request with the given ID.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API.
-
listWorkRequestLogs
ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Returns a (paginated) list of logs for the work request with the given ID.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API.
-
listWorkRequests
ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a tenancy.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API.
-
requestSummarizedJavaDownloadCounts
RequestSummarizedJavaDownloadCountsResponse requestSummarizedJavaDownloadCounts(RequestSummarizedJavaDownloadCountsRequest request)
Returns list of download counts grouped by the specified property.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/RequestSummarizedJavaDownloadCountsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RequestSummarizedJavaDownloadCounts API.
-
updateJavaDownloadToken
UpdateJavaDownloadTokenResponse updateJavaDownloadToken(UpdateJavaDownloadTokenRequest request)
Updates the JavaDownloadToken specified by the identifier.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/UpdateJavaDownloadTokenExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateJavaDownloadToken API.
-
updateJavaLicenseAcceptanceRecord
UpdateJavaLicenseAcceptanceRecordResponse updateJavaLicenseAcceptanceRecord(UpdateJavaLicenseAcceptanceRecordRequest request)
Updates a specific Java license acceptance record in a tenancy.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/jmsjavadownloads/UpdateJavaLicenseAcceptanceRecordExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateJavaLicenseAcceptanceRecord API.
-
getWaiters
JavaDownloadWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
JavaDownloadPaginators getPaginators()
Gets 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.- Returns:
- The service paginators.
-
-