SDK for Java

The Oracle Cloud Infrastructure SDK for Java enables you to write code to manage Oracle Cloud Infrastructure resources.

This SDK and sample is dual-licensed under the Universal Permissive License 1.0 and the Apache License 2.0; third-party content is separately licensed as described in the code.

Download: GitHub or Maven.

Tip

The SDK for Java is pre-configured with your credentials and ready to use immediately from within Cloud Shell. For more information on using the SDK for Java from within Cloud Shell, see SDK for Java Cloud Shell Quick Start.

Requirements

To use the SDK for Java, you must have the following:

  • An Oracle Cloud Infrastructure account.
  • A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see Adding Users. For a list of typical policies you may want to use, see Common Policies.
  • A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see Configuring the SDK.
  • Java 8
  • A TTL value of 60. For more information, see Configuring the SDK.

Services Supported

  • Analytics Cloud
  • Announcements
  • API Gateway
  • Application Migration
  • Application Performance Monitoring
  • Audit
  • Autoscaling (Compute)
  • Big Data
  • Blockchain Platform
  • Budgets
  • Cloud Guard
  • Compute Instance Agent (Oracle Cloud Agent)
  • Container Engine for Kubernetes
  • Content and Experience
  • Core Services (Networking, Compute, Block Volume)
  • Data Catalog
  • Data Flow
  • Data Integration
  • Data Science
  • Data Safe
  • Data Transfer
  • Database
  • Database Management
  • Digital Assistant
  • DNS
  • Email Delivery
  • Events
  • File Storage
  • Functions
  • Golden Gate
  • Health Checks
  • IAM
  • Integration
  • Key Management (for the Vault service)
  • Limits
  • Load Balancing
  • Logging
  • Logging Analytics
  • Logging Search
  • Logging Ingestion
  • Management Agent Cloud
  • Management Dashboard
  • Marketplace
  • Monitoring
  • MySQL Database
  • Network Load Balancing
  • NoSQL Database Cloud
  • Notifications
  • Object Storage
  • OCI Registry
  • Operations Insights
  • Optimizer
  • Organizations
  • OS Management
  • Quotas
  • Resource Manager
  • Roving Edge Infrastructure
  • Search
  • Secret Management (for the Vault service)
  • Service Connector Hub
  • Streaming
  • Support Management
  • Usage
  • VMWare Solution
  • Vulnerability Scanning
  • Web Application Acceleration and Security
  • Work Requests (Compute, Database)