diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2ee393f2ca3..9f4c3c7480f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,226 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/).
+
+## 2.93.0 - 2026-06-02
+### Added
+- Support for managing OLVM environment and endpoint fields for asset sources in the Cloud Bridge service
+- Support for managing OLVM environment asset class name, asset class version, and asset details in the Cloud Bridge service
+- Support for Ubuntu, Windows Server 2025, Windows 11, and Dynamic Groupings in the OS Management Hub service
+- Support for S3 virtual host URLs for existing and regionally unique buckets in the Object Storage service
+- Support for dual-stack IPv6 endpoints in the Management Agent Cloud service
+- Support for generic VNIC Attachment node pools with application resource-based pod networking and secondary VNIC profiles in the Kubernetes Engine service
+- Support for getting currentSize of the instancePool resource in the Compute service
+- Support for new launch instance networkType value ACCELERATEDPV in the Compute service
+- Support for filesystem snapshot locking for ransomware protection in the File Storage service
+- Support for creating refresh-able metadata clones in Autonomous Database in the Database service
+- Support for cross-region Data Guard for Azure, GCP, and AWS KMS-based databases in the Database MultiCloud service
+- Support for multicloud policies API and OMHub Resource View and Policy Hub UI features in the Multicloud service
+- Support for Development and Production domain group types in place of Lightweight and Standard in the OCI Internet of Things (OCI IoT) service
+- Support for Fusion Data Intelligence (FDI) self-service integration in the Fusion Application as a Service
+- Support for implementing Customer self-service feature to add egress ports in the Fusion Application as a Service
+- Support for a new flag to the create and update capacity reservation APIs in the Compute service
+- Support for alarms and notifications in the OCI Control Center service
+- Support for Azure AD, Avro Metadata, and Microsoft Fabric Eventstream (Kafka-like) data sources in the GoldenGate service
+- Support for creating branded email subdomains without delegating DNS subzone in the Fusion Apps as a Service
+- Support for IPv6 endpoints in the Events service
+- Support for IPv6 endpoints in the Logging service
+- Support for IPv6 endpoints in the Logging Search service
+- Support for IPv6 endpoints in the Logging Ingestion service
+- Support for reserved private IP IDs in the Compute service
+- Support for USAGE_ONLY query type in the Usage Api service
+- Support for resizing Data, Reco, and Sparse disk groups in the Database service
+- Support for logging line format in the Functions service
+- Support for large generic v4 and v5 unit shapes in the Generative AI service
+- Support for the Database Tools Runtime service
+- Support for multi modality models and their new capabilities in the Generative AI service
+- Support for Indirectly Connected Devices in the OCI Internet of Things (OCI IoT) service
+- Support for patch APIs to add and delete multiple IPv6 prefixes in the Virtual Cloud Network service
+- Support for Model Context Protocol (MCP) servers in the Database Tools service
+- Support for SQL reports in the Database Tools service
+- Support for database API gateway configurations in the Database Tools service
+- Support for Oracle database external authentication with OCI IAM and Azure Active Directory in the Database Tools service
+- Support for the Cost Anomaly Detection service
+- Support for listing OCI Generative AI Guardrails versions with accuracy and performance in the Generative AI service
+- Support for guardrail versions when applying guardrails in the Generative AI service
+- Support for data population status on tenancy attachment in the Resource Analytics service
+- Support for compute count options in the Resource Analytics service
+- Support for Cluster Placement Groups (CPG) and security groups (SG) in compute capacity reports in the Compute service
+- Support for failed node replacement in the Big Data service
+- Support for creating new DB systems from existing DB systems with an optional replication channels in the MySQL HeatWave service
+- Support for work requests to track create, update, and delete operations for streams, stream pools, and Kafka Connect configuration resources in the Streaming service
+- Support for calling Oracle Cloud Infrastructure services in the me-alrayyan-1 region
+- Support for Veridata deployment types in the GoldenGate service
+- Support for cloning ZeroETL pipelines in the GoldenGate service
+- Support for Object Storage initial load in ZeroETL pipelines in the GoldenGate service
+- Support for specifying CPU core count and autoscaling in ZeroETL pipelines in the GoldenGate service
+- Support for setting disaster recovery status during deployment creation in the GoldenGate service
+- Support for switchover and failover mode selection in disaster recovery peer switchovers in the GoldenGate service
+- Support for generating and retrieving disaster recovery precheck reports for standby peers in the GoldenGate service
+- Support for scheduling policies and scheduling windows as part of granular maintenance scheduling of Exadata Infrastructure components in the Database service
+- Support for specifying SGA memory percentage and distributed algorithm configuration in Autonomous VM Clusters and Cloud Autonomous VM Clusters in the Database service
+- Support for DRCP in Autonomous Container Databases in the Database service
+- Support for creating additional VMs in Exadata Cloud Service and Exadata Cloud@Customer in the Database service
+- Support for selecting specific compute shapes during cluster placement group creation in the Cluster Placement Groups service
+- Support for compute target resource when creating and managing reusable managed compute capacity for workload deployments in the Data Science service
+- Support for managed compute cluster as a compute target type in the Data Science service
+- Support for creating model deployments and jobs that use a compute target as the deployment infrastructure in the Data Science service
+- Support for multi-inference endpoints in model deployments in the Data Science service
+- Support for flexible dense virtual machine shapes in the Compute service
+- Support for network firewall health status APIs in the Network Firewall service
+- Support for security attributes on network firewall create and update operations in the Network Firewall service
+- Support for mapped secrets on decryption rule create and update operations in the Network Firewall service
+- Support for Zero Trust Packet Routing (ZPR) security attributes in the Kubernetes Engine service
+- Support for Zero Trust Packet Routing (ZPR) security attributes for private endpoints in the Operations Insights service
+- Support for Zero Trust Packet Routing (ZPR) security attributes for private endpoints in the Database Management service
+- Support for multimodal image input and flagged modalities when applying guardrails in the Generative AI service
+- Support for filtering incidents by last update time in the Cloud Incident Management service
+- Support for Cloud Incident Management APIs without Customer Support Identifier (CSI) parameters in the Cloud Incident Management service
+- Support for site IDs when creating and updating VMware BYOL registrations in the Oracle Cloud VMware Provisioning service
+- Support for VMware Cloud Foundation (VCF) BYOL allocation IDs during ESXi host replacement and in-place upgrades in the Oracle Cloud VMware Provisioning service
+
+### Breaking Changes
+- Methods public `java.util.Map getDefinedTags()` and `public java.util.Map getFreeformTags()` have been removed from the models `com.oracle.bmc.cloudbridge.model.ApplianceImageSummary` and `com.oracle.bmc.cloudbridge.model.SupportedCloudRegionSummary` in the Cloud Bridge service
+- The method `public java.lang.Boolean getCompartmentIdInSubtree()` has been removed from the requests `com.oracle.bmc.multicloud.requests.ListNetworkAnchorsRequest` in the MultiCloud service
+- Introduced a 2 MB maximum serialized encryption header size in the `bmc-encryption` module and updated client-side validation to throw `IllegalArgumentException` instead of `RuntimeException` when `OciCrypto.createEncryptingStream(...)`, `OciCrypto.encryptData(...)`, `OciCrypto.createDecryptingStream(...)`, or `OciCrypto.decryptData(...)` encounters an invalid encryption header size or an oversized encryption context
+- Parameter types for `forDeployment(...)` waiter overloads have changed from `LifecycleState` / `LifecycleState[]` to `Deployment.LifecycleState` / `Deployment.LifecycleState[]` in `GoldenGateWaiters` in the GoldenGate service
+- Parameter types for `forDeploymentBackup(...)` waiter overloads have changed from `LifecycleState` / `LifecycleState[]` to `DeploymentBackup.LifecycleState` / `DeploymentBackup.LifecycleState[]` in `GoldenGateWaiters` in the GoldenGate service
+- Parameter types for `forDeploymentUpgrade(...)` waiter overloads have changed from `LifecycleState` / `LifecycleState[]` to `DeploymentUpgrade.LifecycleState` / `DeploymentUpgrade.LifecycleState[]` in `GoldenGateWaiters` in the GoldenGate service
+- Method `getPrivateIp()` has been removed from models `CreateGoldenGateConnectionDetails`, `CreateJavaMessageServiceConnectionDetails`, `CreateKafkaSchemaRegistryConnectionDetails`, `CreateMicrosoftSqlserverConnectionDetails`, `CreateMysqlConnectionDetails`, in the GoldenGate service.
+- Return type of method `getLifecycleState()` has been changed to `LifecycleState` in the models `Deployment`, `DeploymentBackup`, `DeploymentBackupSummary`, `DeploymentSummary`, `DeploymentUpgrade`, `DeploymentUpgradeSummary` in the GoldenGate service
+- Method `getTimeUpgradeRequired()` has been removed from models `Deployment`, `DeploymentSummary` in the GoldenGate service
+- Class `DeploymentUpgradeLifecycleState` has been removed in the GoldenGate service
+- Field G`oldengateConnectionAssigmnentDelete` has been removed from `OperationType` in the GoldenGate service
+- Return types of method `getLifecycleState()` have been changed in request models `ListDeploymentBackupsRequest`, `ListDeploymentPeersRequest`, `ListDeploymentUpgradesRequest`, and `ListDeploymentsRequest` in the GoldenGate service
+- The fields `freefromTags` and `definedTags` were removed from the model `CreateIdentityTokenDetails` in the Redis service
+- The fields `ClusterAdminPassword` and `SecretId` were removed from the model `com.oracle.bmc.bds.model.CreateBdsCertificateConfigurationDetails` in the Big Data service
+- Fields `Idcs` and `IdcsCustomService` have been removed from the model `AuthConfiguration$Type` in the Data Science service
+- Class `com.oracle.bmc.datascience.model.CreateIdcsAuthConfigurationDetails` has been removed in the Data Science service
+- Class `com.oracle.bmc.datascience.model.CreateIdcsCustomServiceAuthConfigurationDetails` has been removed in the Data Science service
+- Class `com.oracle.bmc.datascience.model.IdcsAuthConfiguration` has been removed in the Data Science service
+- Class `com.oracle.bmc.datascience.model.IdcsCustomServiceAuthConfiguration` has been removed in the Data Science service
+- The field `customerSupportKey` was removed from the model `TenancyInformation` in the Customer Incident Management service
+- The field `csi` was removed from the models `CreateIncident`, `CreateUserDetails`, and `User` in the Customer Incident Management service
+- The field `csi` was removed from the requests `GetIncidentRequest`, `ListIncidentResourceTypesRequest`, `ListIncidentsRequest`, `PutAttachmentRequest`, `UpdateIncidentRequest`, and `ValidateUserRequest` in the Customer Incident Management service
+
+## 2.92.0 - 2026-05-19
+### Added
+- Support for calling Oracle Cloud Infrastructure services in the me-alrayyan-1 region
+- Support for managing OLVM environment and endpoint fields for asset sources in the Cloud Bridge service
+- Support for managing OLVM environment asset class name, asset class version, and asset details in the Cloud Bridge service
+- Support for Ubuntu, Windows Server 2025, Windows 11, and Dynamic Groupings in the OS Management Hub service
+- Support for S3 virtual host URLs for existing and regionally unique buckets in the Object Storage service
+- Support for dual-stack IPv6 endpoints in the Management Agent Cloud service
+- Support for generic VNIC Attachment node pools with application resource-based pod networking and secondary VNIC profiles in the Kubernetes Engine service
+- Support for getting currentSize of the instancePool resource in the Compute service
+- Support for new launch instance networkType value ACCELERATEDPV in the Compute service
+- Support for filesystem snapshot locking for ransomware protection in the File Storage service
+- Support for creating refresh-able metadata clones in Autonomous Database in the Database service
+- Support for cross-region Data Guard for Azure, GCP, and AWS KMS-based databases in the Database MultiCloud service
+- Support for multicloud policies API and OMHub Resource View and Policy Hub UI features in the Multicloud service
+- Support for Development and Production domain group types in place of Lightweight and Standard in the OCI Internet of Things (OCI IoT) service
+- Support for Fusion Data Intelligence (FDI) self-service integration in the Fusion Application as a Service
+- Support for implementing Customer self-service feature to add egress ports in the Fusion Application as a Service
+- Support for a new flag to the create and update capacity reservation APIs in the Compute service
+- Support for alarms and notifications in the OCI Control Center service
+- Support for Azure AD, Avro Metadata, and Microsoft Fabric Eventstream (Kafka-like) data sources in the GoldenGate service
+- Support for creating branded email subdomains without delegating DNS subzone in the Fusion Apps as a Service
+- Support for IPv6 endpoints in the Events service
+- Support for IPv6 endpoints in the Logging service
+- Support for IPv6 endpoints in the Logging Search service
+- Support for IPv6 endpoints in the Logging Ingestion service
+- Support for reserved private IP IDs in the Compute service
+- Support for USAGE_ONLY query type in the Usage Api service
+- Support for resizing Data, Reco, and Sparse disk groups in the Database service
+- Support for logging line format in the Functions service
+- Support for OCI cache backup/restore and export/import in the Redis service
+- Support for embed V4 multimodal capabilities in the Generative AI Inference service
+- Support for new rerank models `CohereH100X1`, `CohereA10080GX1`, `CohereA10040GX1` , `CohereA10X1` in dedicated AI clusters in the Generative AI service
+- Support for improved failure and logging visibility during container creation in the Batch service
+- Support for group tasks, enhanced task execution observability, job and task lifecycle event visibility, updated job lifecycle behavior and increased task argument length limit in the Batch service
+- Support for activity logs in dedicated KMS in the Key Management service
+- Support for demo fusion environment type in the Fusion Apps as a Service service
+- Support for adding Vanity Domain feature in the Fusion Apps as a Service service
+- Support for IPv6 dual stack endpoint in the Java Management Service
+- Support for listing Java installation usage summaries with JRE security status filter in the Java Management service
+- Support for enabling inheritance in security zone entities after deletion in the Cloud Guard service
+- Support for large generic v4 and v5 unit shapes in the Generative AI service
+- Support for the Database Tools Runtime service
+- Support for multi modality models and their new capabilities in the Generative AI service
+- Support for Indirectly Connected Devices in the OCI Internet of Things (OCI IoT) service
+- Support for patch APIs to add and delete multiple IPv6 prefixes in the Virtual Cloud Network service
+- Support for Model Context Protocol (MCP) servers in the Database Tools service
+- Support for SQL reports in the Database Tools service
+- Support for database API gateway configurations in the Database Tools service
+- Support for Oracle database external authentication with OCI IAM and Azure Active Directory in the Database Tools service
+- Support for the Cost Anomaly Detection service
+- Support for listing OCI Generative AI Guardrails versions with accuracy and performance in the Generative AI service
+- Support for guardrail versions when applying guardrails in the Generative AI service
+- Support for data population status on tenancy attachment in the Resource Analytics service
+- Support for compute count options in the Resource Analytics service
+- Support for Cluster Placement Groups (CPG) and security groups (SG) in compute capacity reports in the Compute service
+- Support for failed node replacement in the Big Data service
+- Support for creating new DB systems from existing DB systems with an optional replication channels in the MySQL HeatWave service
+- Support for work requests to track create, update, and delete operations for streams, stream pools, and Kafka Connect configuration resources in the Streaming service
+- Support for Veridata deployment types in the GoldenGate service
+- Support for cloning ZeroETL pipelines in the GoldenGate service
+- Support for Object Storage initial load in ZeroETL pipelines in the GoldenGate service
+- Support for specifying CPU core count and autoscaling in ZeroETL pipelines in the GoldenGate service
+- Support for setting disaster recovery status during deployment creation in the GoldenGate service
+- Support for switchover and failover mode selection in disaster recovery peer switchovers in the GoldenGate service
+- Support for generating and retrieving disaster recovery precheck reports for standby peers in the GoldenGate service
+- Support for scheduling policies and scheduling windows as part of granular maintenance scheduling of Exadata Infrastructure components in the Database service
+- Support for specifying System Global Area (SGA) memory percentage and distributed algorithm configuration in Autonomous VM Clusters and Cloud Autonomous VM Clusters in the Database service
+- Support for Database Resident Connection Pooling (DRCP) in Autonomous Container Databases in the Database service
+- Support for creating additional VMs in Exadata Cloud Service and Exadata Cloud@Customer in the Database service
+- Support for selecting specific compute shapes during cluster placement group creation in the Cluster Placement Groups service
+- Support for compute target resource when creating and managing reusable managed compute capacity for workload deployments in the Data Science service
+- Support for managed compute cluster as a compute target type in the Data Science service
+- Support for creating model deployments and jobs that use a compute target as the deployment infrastructure in the Data Science service
+- Support for multi-inference endpoints in model deployments in the Data Science service
+- Support for flexible dense virtual machine shapes in the Compute service
+- Support for network firewall health status APIs in the Network Firewall service
+- Support for security attributes when creating and updating network firewalls in the Network Firewall service
+- Support for mapped secrets when creating and updating decryption rules in the Network Firewall service
+- Support for Zero Trust Packet Routing (ZPR) security attributes in the Kubernetes Engine service
+
+### Breaking Changes
+- Methods `public java.util.Map getDefinedTags()` and `public java.util.Map getFreeformTags()` have been removed from the models `com.oracle.bmc.cloudbridge.model.ApplianceImageSummary` and `com.oracle.bmc.cloudbridge.model.SupportedCloudRegionSummary` in the Cloud Bridge service
+- The method `public java.lang.Boolean getCompartmentIdInSubtree()` has been removed from the requests `com.oracle.bmc.multicloud.requests.ListNetworkAnchorsRequest` in the MultiCloud service
+- Introduced a 2 MB maximum serialized encryption header size in the `bmc-encryption` module and updated client-side validation to throw `IllegalArgumentException` instead of `RuntimeException` when `OciCrypto.createEncryptingStream(...)`, `OciCrypto.encryptData(...)`, `OciCrypto.createDecryptingStream(...)`, or `OciCrypto.decryptData(...)` encounters an invalid encryption header size or an oversized encryption context
+- Parameter types for `forDeployment(...)` waiter overloads have changed from `LifecycleState` / `LifecycleState[]` to `Deployment.LifecycleState` / `Deployment.LifecycleState[]` in `GoldenGateWaiters` in the GoldenGate service.
+- Parameter types for `forDeploymentBackup(...)` waiter overloads have changed from `LifecycleState` / `LifecycleState[]` to `DeploymentBackup.LifecycleState` / `DeploymentBackup.LifecycleState[]` in `GoldenGateWaiters` in the GoldenGate service.
+- Parameter types for `forDeploymentUpgrade(...)` waiter overloads have changed from `LifecycleState` / `LifecycleState[]` to `DeploymentUpgrade.LifecycleState` / `DeploymentUpgrade.LifecycleState[]` in `GoldenGateWaiters` in the GoldenGate service.
+- Method `getPrivateIp()` has been removed from models `CreateGoldenGateConnectionDetails`, `CreateJavaMessageServiceConnectionDetails`, `CreateKafkaSchemaRegistryConnectionDetails`, `CreateMicrosoftSqlserverConnectionDetails`, `CreateMysqlConnectionDetails`, in the GoldenGate service.
+- Return type of method `getLifecycleState()` has been changed to `LifecycleState` in the models `Deployment`, `DeploymentBackup`, `DeploymentBackupSummary`, `DeploymentSummary`, `DeploymentUpgrade`, `DeploymentUpgradeSummary` in the GoldenGate service.
+- Method `getTimeUpgradeRequired()` has been removed from models `Deployment`, `DeploymentSummary` in the GoldenGate service.
+- Class `DeploymentUpgradeLifecycleState` has been removed in the GoldenGate service.
+- Field `GoldengateConnectionAssigmnentDelete` has been removed from `OperationType` in the GoldenGate service.
+- Return types of method `getLifecycleState()` have been changed in request models `ListDeploymentBackupsRequest`, `ListDeploymentPeersRequest`, `ListDeploymentUpgradesRequest`, and `ListDeploymentsRequest` in the GoldenGate service.
+- The fields `freefromTags` and `definedTags` were removed from the model `CreateIdentityTokenDetails` in the Redis service
+- The method `public CreateBdsCertificateConfigurationDetails(java.lang.String, java.lang.String, com.oracle.bmc.bds.model.BdsCertificateConfiguration$Type, java.lang.String, char[], java.lang.String)` has been removed from `com.oracle.bmc.bds.model.CreateBdsCertificateConfigurationDetails` in the Big Data service (BDS)
+- The methods `public java.lang.String getClusterAdminPassword()`, `public char[] getClusterAdminPassword__AsCharArray()`, and `public java.lang.String getSecretId()` has been removed from `com.oracle.bmc.bds.model.CreateBdsCertificateConfigurationDetails` in the Big Data service (BDS)
+- Fields `Idcs` and `IdcsCustomService` have been removed from the model `AuthConfiguration$Type` in the Data Science service
+- Class `com.oracle.bmc.datascience.model.CreateIdcsAuthConfigurationDetails` has been removed in the Data Science service
+- Class `com.oracle.bmc.datascience.model.CreateIdcsCustomServiceAuthConfigurationDetails` has been removed in the Data Science service
+- Class `com.oracle.bmc.datascience.model.IdcsAuthConfiguration` has been removed in the Data Science service
+- Class `com.oracle.bmc.datascience.model.IdcsCustomServiceAuthConfiguration` has been removed in the Data Science service
+- To improve performance, the `SecretsClient`, `SecretsAsyncClient`, `VaultsClient`, and `VaultsAsyncClient` have changed the default configurator to re-use connections, with 100 total connections, a 100 default maximum connections per route, and an idle connection timeout of 60 seconds.
+ - If you want to disable these performance improvements and use the settings from the previous versions, you can set the system properties as follows:
+ ```
+ oci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.secrets.SecretsClient=false
+ oci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.secrets.SecretsAsyncClient=false
+ oci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.vault.VaultsClient=false
+ oci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.vault.VaultsAsyncClient=false
+ ```
+ - See [README.md](/README.md) for more information.
+
+### Changed
+- Updated jackson-core to 2.21.2, jackson-databind to 2.21.2, and jackson-annotations to 2.21
+
+### Fixed
+- Fixed an `IllegalArgumentException` when using PKCS#1 AES-256 encrypted private keys
+- Fixed race conditions in `IdleConnectionMonitor` and stabilized its concurrency behavior
## 2.91.0 - 2026-03-31
### Added
diff --git a/README.md b/README.md
index 194fa23d220..e272a5d2518 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,33 @@ For details on compatibility, advanced configurations, and add-ons, see [Configu
```
System.setProperty("oci.javasdk.token.refresh.enabled", "false");
```
+- *ConnectionPoolingApacheConfigurator*: Some clients now have `ConnectionPoolingApacheConfigurator` set as their default configurator (called out in the CHANGELOG.md file). Unless a different `ClientConfigurator` is passed when creating the client, this default configurator is used for all client instances using the `ConnectionPoolingApacheConfigurator`. For clients that now use `ConnectionPoolingApacheConfigurator`, this is enabled by default, which is a breaking change. It can be disabled using system properties exposed in `Options.java`.
+ - To disable it for all supported clients, set the global system property:
+ ```
+ System.setProperty("oci.javasdk.ConnectionPoolingApacheConfigurator.enabled.global", "false");
+ ```
+ or pass it to the Java runtime:
+ ```
+ -Doci.javasdk.ConnectionPoolingApacheConfigurator.enabled.global=false
+ ```
+ - To disable it for a specific client class, set the per-class system property using the fully qualified client class name:
+ ```
+ System.setProperty("oci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.vault.VaultsClient", "false");
+ ```
+ or pass it to the Java runtime:
+ ```
+ -Doci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.vault.VaultsClient=false
+ ```
+ - Sync and async clients use separate per-class properties, so if you want to disable both you must set both class-specific properties:
+ ```
+ System.setProperty("oci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.vault.VaultsClient", "false");
+ System.setProperty("oci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.vault.VaultsAsyncClient", "false");
+ ```
+ or pass them to the Java runtime:
+ ```
+ -Doci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.vault.VaultsClient=false -Doci.javasdk.ConnectionPoolingApacheConfigurator.enabled.com.oracle.bmc.vault.VaultsAsyncClient=false
+ ```
+ - The global property applies to all supported clients. The per-class property applies only to the named client class. Both properties default to `"true"`, and the configurator is used only when both the global property and that client class property are enabled.
## Examples
diff --git a/bmc-accessgovernancecp/pom.xml b/bmc-accessgovernancecp/pom.xml
index 7826696aab0..f8bc1f11604 100644
--- a/bmc-accessgovernancecp/pom.xml
+++ b/bmc-accessgovernancecp/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-accessgovernancecp
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml
index c962dd5aad0..7d5243e8a32 100644
--- a/bmc-addons/bmc-apache-connector-provider/pom.xml
+++ b/bmc-addons/bmc-apache-connector-provider/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons
- 2.91.0
+ 2.93.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-addons/bmc-graalvm-addon/pom.xml b/bmc-addons/bmc-graalvm-addon/pom.xml
index a13172b599c..a4aff57705a 100644
--- a/bmc-addons/bmc-graalvm-addon/pom.xml
+++ b/bmc-addons/bmc-graalvm-addon/pom.xml
@@ -4,7 +4,7 @@
oci-java-sdk-addons
com.oracle.oci.sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-addons-graalvm
@@ -127,24 +127,24 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
com.oracle.oci.sdk
oci-java-sdk-objectstorage-extensions
- 2.91.0
+ 2.93.0
test
com.oracle.oci.sdk
oci-java-sdk-identity
- 2.91.0
+ 2.93.0
test
com.oracle.oci.sdk
oci-java-sdk-core
- 2.91.0
+ 2.93.0
test
diff --git a/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/SdkAutomaticFeatureMetadata.java b/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/SdkAutomaticFeatureMetadata.java
index ecec8cf219b..43d5aaaa30c 100644
--- a/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/SdkAutomaticFeatureMetadata.java
+++ b/bmc-addons/bmc-graalvm-addon/src/main/java/com/oracle/bmc/graalvm/SdkAutomaticFeatureMetadata.java
@@ -43,11 +43,13 @@
"com.oracle.bmc.containerinstances.SdkClientsMetadata",
"com.oracle.bmc.containerregistry.SdkClientsMetadata",
"com.oracle.bmc.core.SdkClientsMetadata",
+ "com.oracle.bmc.costad.SdkClientsMetadata",
"com.oracle.bmc.dashboardservice.SdkClientsMetadata",
"com.oracle.bmc.database.SdkClientsMetadata",
"com.oracle.bmc.databasemanagement.SdkClientsMetadata",
"com.oracle.bmc.databasemigration.SdkClientsMetadata",
"com.oracle.bmc.databasetools.SdkClientsMetadata",
+ "com.oracle.bmc.databasetoolsruntime.SdkClientsMetadata",
"com.oracle.bmc.datacatalog.SdkClientsMetadata",
"com.oracle.bmc.dataflow.SdkClientsMetadata",
"com.oracle.bmc.dataintegration.SdkClientsMetadata",
diff --git a/bmc-addons/bmc-oke-workload-identity/pom.xml b/bmc-addons/bmc-oke-workload-identity/pom.xml
index 8631e7a1d09..ce3a0d12c12 100644
--- a/bmc-addons/bmc-oke-workload-identity/pom.xml
+++ b/bmc-addons/bmc-oke-workload-identity/pom.xml
@@ -4,7 +4,7 @@
oci-java-sdk-addons
com.oracle.oci.sdk
- 2.91.0
+ 2.93.0
4.0.0
@@ -38,7 +38,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
com.fasterxml.jackson.core
diff --git a/bmc-addons/bmc-oke-workload-identity/src/main/java/com/oracle/bmc/auth/okeworkloadidentity/OkeWorkloadIdentityAuthenticationDetailsProvider.java b/bmc-addons/bmc-oke-workload-identity/src/main/java/com/oracle/bmc/auth/okeworkloadidentity/OkeWorkloadIdentityAuthenticationDetailsProvider.java
index c0762ddb254..31a3f7f14e1 100644
--- a/bmc-addons/bmc-oke-workload-identity/src/main/java/com/oracle/bmc/auth/okeworkloadidentity/OkeWorkloadIdentityAuthenticationDetailsProvider.java
+++ b/bmc-addons/bmc-oke-workload-identity/src/main/java/com/oracle/bmc/auth/okeworkloadidentity/OkeWorkloadIdentityAuthenticationDetailsProvider.java
@@ -161,7 +161,10 @@ public static class OkeWorkloadIdentityAuthenticationDetailsProviderBuilder
private ServiceAccountTokenSupplier serviceAccountTokenSupplier;
/** Flag to enable new Service Account level token caching */
- private boolean isTokenCachingEnabled = false;
+ private boolean isTokenCachingEnabled = true;
+
+ /** Flag to check if default session key supplier is used */
+ private boolean isUsingDefaultSessionKeySupplier = false;
public OkeWorkloadIdentityAuthenticationDetailsProviderBuilder() {
this.serviceAccountTokenSupplier = new DefaultServiceAccountTokenProvider();
@@ -220,6 +223,10 @@ public OkeWorkloadIdentityAuthenticationDetailsProviderBuilder isTokenCachingEna
public OkeWorkloadIdentityAuthenticationDetailsProvider build() {
// autodetect region
autoDetectEndpointUsingMetadataUrl();
+
+ // If a sessionKeySupplier is not provided by the customer, the default supplier is used
+ this.isUsingDefaultSessionKeySupplier = this.sessionKeySupplier == null;
+
// if customer has enabled new SA level token caching then use custom implementation of
// SessionKeySupplier else it will fall back to non-caching SDK behaviour.
if (this.isTokenCachingEnabled) {
@@ -308,7 +315,8 @@ protected FederationClient createFederationClient(SessionKeySupplier sessionKeyS
serviceAccountTokenSupplier,
provider,
configurator,
- circuitBreakerConfig);
+ circuitBreakerConfig,
+ isUsingDefaultSessionKeySupplier);
}
@Override
diff --git a/bmc-addons/bmc-oke-workload-identity/src/main/java/com/oracle/bmc/auth/okeworkloadidentity/internal/OkeWorkloadIdentityResourcePrincipalsFederationClient.java b/bmc-addons/bmc-oke-workload-identity/src/main/java/com/oracle/bmc/auth/okeworkloadidentity/internal/OkeWorkloadIdentityResourcePrincipalsFederationClient.java
index 6cbeafec862..9337e761bbc 100644
--- a/bmc-addons/bmc-oke-workload-identity/src/main/java/com/oracle/bmc/auth/okeworkloadidentity/internal/OkeWorkloadIdentityResourcePrincipalsFederationClient.java
+++ b/bmc-addons/bmc-oke-workload-identity/src/main/java/com/oracle/bmc/auth/okeworkloadidentity/internal/OkeWorkloadIdentityResourcePrincipalsFederationClient.java
@@ -36,6 +36,7 @@
import java.time.Duration;
import com.oracle.bmc.util.internal.StringUtils;
import java.nio.charset.StandardCharsets;
+import java.time.Instant;
import java.util.HashMap;
import java.util.Map;
@@ -54,13 +55,24 @@ public class OkeWorkloadIdentityResourcePrincipalsFederationClient
private static final String JWT_FORMAT = "Bearer %s";
private final String KUBERNETES_SERVICE_HOST = "KUBERNETES_SERVICE_HOST";
private final int PROXYMUX_SERVER_PORT = 12250;
+ private static final long MAX_RETRY_DELAY_SECONDS = 900; // 15 minutes
private final ServiceAccountTokenSupplier serviceAccountTokenSupplier;
+ private final boolean isUsingDefaultSessionKeySupplier;
/**
* The authentication provider to sign the internal requests.
*/
private final OkeTenancyOnlyAuthenticationDetailsProvider provider;
+ /** Tracks the time of the last failed refresh attempt. */
+ private volatile Instant lastFailureTime = null;
+
+ /**
+ * The duration for which token refresh should be skipped after a failure. Calculated as a
+ * fraction of the remaining token validity.
+ */
+ private volatile Duration backoffDuration = Duration.ZERO;
+
/**
* Constructor of OkeWorkloadIdentityResourcePrincipalsFederationClient.
* @param federationEndpoint
@@ -86,6 +98,37 @@ public OkeWorkloadIdentityResourcePrincipalsFederationClient(
circuitBreakerConfiguration);
this.serviceAccountTokenSupplier = serviceAccountTokenSupplier;
this.provider = okeTenancyOnlyAuthenticationDetailsProvider;
+ this.isUsingDefaultSessionKeySupplier = true;
+ }
+
+ /**
+ * Constructor of OkeWorkloadIdentityResourcePrincipalsFederationClient.
+ * @param federationEndpoint
+ * @param sessionKeySupplier the session key supplier.
+ * @param okeTenancyOnlyAuthenticationDetailsProvider the key pair authentication details provider.
+ * @param clientConfigurator the reset client configurator.
+ * @param isUsingDefaultSessionKeySupplier the flag to indicate the type of session key supplier
+ */
+ public OkeWorkloadIdentityResourcePrincipalsFederationClient(
+ String federationEndpoint,
+ SessionKeySupplier sessionKeySupplier,
+ ServiceAccountTokenSupplier serviceAccountTokenSupplier,
+ OkeTenancyOnlyAuthenticationDetailsProvider okeTenancyOnlyAuthenticationDetailsProvider,
+ ClientConfigurator clientConfigurator,
+ CircuitBreakerConfiguration circuitBreakerConfiguration,
+ boolean isUsingDefaultSessionKeySupplier) {
+
+ // we don't use a resourcePrincipalTokenEndpoint, therefore blank
+ super(
+ "",
+ federationEndpoint,
+ sessionKeySupplier,
+ okeTenancyOnlyAuthenticationDetailsProvider,
+ clientConfigurator,
+ circuitBreakerConfiguration);
+ this.serviceAccountTokenSupplier = serviceAccountTokenSupplier;
+ this.provider = okeTenancyOnlyAuthenticationDetailsProvider;
+ this.isUsingDefaultSessionKeySupplier = isUsingDefaultSessionKeySupplier;
}
/**
@@ -97,24 +140,62 @@ public OkeWorkloadIdentityResourcePrincipalsFederationClient(
@Override
public String getSecurityToken() {
SecurityTokenAdapter securityTokenAdapter = getSecurityTokenAdapter();
+ boolean isTokenValid = securityTokenAdapter.isValid();
+
+ // Check for valid token and ongoing backoff period
+ if (isTokenValid && lastFailureTime != null) {
+ // Check if we are still within the calculated backoff period
+ Duration elapsedSinceFailure = Duration.between(lastFailureTime, Instant.now());
+ if (elapsedSinceFailure.compareTo(backoffDuration) < 0) {
+ // Skip the token refresh request because of previous failure and valid token
+ LOG.info(
+ "Skipping token refresh due to recent failure (backoff active for {}s). Returning cached token.",
+ backoffDuration.getSeconds());
+ return securityTokenAdapter.getSecurityToken();
+ }
+ LOG.info("Backoff period expired. Attempting token refresh.");
+ }
+
try {
Duration time = Duration.ZERO;
- if (securityTokenAdapter.isValid()) {
- if (securityTokenAdapter.getTokenValidDuration() != null) {
- // Calculate the half of the token's total valid duration
- Duration halfDuration =
- securityTokenAdapter.getTokenValidDuration().dividedBy(2);
- // Generate Jitter Factor: a random value between 0.95 and 1.05 (i.e., ±5%)
- double jitterFactor = 1.0 + (Math.random() * 0.1 - 0.05);
- // Apply the jitter factor
- time = halfDuration.multipliedBy((long) (jitterFactor * 1000)).dividedBy(1000);
- }
+ if (isTokenValid) {
+ // Calculate the half of the token's total valid duration
+ Duration halfDuration = securityTokenAdapter.getTokenValidDuration().dividedBy(2);
+ // Generate Jitter Factor: a random value between 0.95 and 1.05 (i.e., ±5%)
+ double jitterFactor = 1.0 + (Math.random() * 0.1 - 0.05);
+ time = halfDuration.multipliedBy((long) (jitterFactor * 1000)).dividedBy(1000);
}
String token = refreshAndGetSecurityTokenIfExpiringWithin(time);
+
+ // Success: clear any pending failure state
+ lastFailureTime = null;
+ backoffDuration = Duration.ZERO;
+
logTokenInfo(token);
return token;
} catch (Exception e) {
- LOG.info("Refresh RPST token failed, use cached RPST token.", e);
+ LOG.error(
+ "Refresh Workload Identity Auth token failed, use cached Workload Identity Auth token.",
+ e);
+ // Mark previous execution as failed
+ lastFailureTime = Instant.now();
+
+ if (isTokenValid) {
+ Duration remainingDuration = securityTokenAdapter.getTokenRemainingDuration();
+ LOG.info("remainingDurationSeconds: {}", remainingDuration.getSeconds());
+
+ backoffDuration =
+ remainingDuration.getSeconds() < Duration.ofHours(2).getSeconds()
+ ? Duration.ofSeconds(0)
+ : Duration.ofSeconds(MAX_RETRY_DELAY_SECONDS);
+ LOG.error(
+ "Token refresh failed. Initiating backoff for {}s.",
+ backoffDuration.getSeconds());
+ } else {
+ backoffDuration = Duration.ZERO;
+ LOG.error("Token refresh failed and cached token is invalid/expired. No backoff");
+ }
+
return securityTokenAdapter.getSecurityToken();
}
}
@@ -172,6 +253,10 @@ protected SecurityTokenAdapter getSecurityTokenFromServer() {
String opcRequestId = generateRequestId();
LOG.debug("Request id for resourcePrincipalSessionTokens request: '{}'", opcRequestId);
+ if (isUsingDefaultSessionKeySupplier) {
+ LOG.info("Using default session key supplier");
+ }
+
/* If the SettableSessionKeySupplier is configured as sessionKeySupplier then prefer new ServiceAccount
* level token caching which involves calling new caching enabled endpoint of proxymux else
* fallback to old endpoint
@@ -211,9 +296,12 @@ private SecurityTokenAdapter getSecurityTokenFromServerV1(String token, String o
try {
setProxymuxEndPoint();
+ String base64EncodedPublicKey = AuthUtils.base64EncodeNoChunking(publicKey);
+ if (StringUtils.isBlank(base64EncodedPublicKey)) {
+ throw new IllegalArgumentException("Public key cannot be blank");
+ }
GetOkeResourcePrincipalSessionTokenRequest getOkeResourcePrincipalSessionTokenRequest =
- new GetOkeResourcePrincipalSessionTokenRequest(
- AuthUtils.base64EncodeNoChunking(publicKey));
+ new GetOkeResourcePrincipalSessionTokenRequest(base64EncodedPublicKey);
WebTarget target = restClient.getBaseTarget().path("resourcePrincipalSessionTokens");
Invocation.Builder ib = target.request();
diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml
index 29634ae914c..a794f5db76d 100644
--- a/bmc-addons/bmc-resteasy-client-configurator/pom.xml
+++ b/bmc-addons/bmc-resteasy-client-configurator/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons
- 2.91.0
+ 2.93.0
../pom.xml
@@ -25,7 +25,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml
index 8cf961fe20a..f1a63c41eba 100644
--- a/bmc-addons/bmc-sasl/pom.xml
+++ b/bmc-addons/bmc-sasl/pom.xml
@@ -7,7 +7,7 @@
oci-java-sdk-addons
com.oracle.oci.sdk
- 2.91.0
+ 2.93.0
../pom.xml
@@ -62,7 +62,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml
index b92551ee6b7..9eac2a053bd 100644
--- a/bmc-addons/pom.xml
+++ b/bmc-addons/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml
index d8373dd06b4..21cdfdfc001 100644
--- a/bmc-adm/pom.xml
+++ b/bmc-adm/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-adm
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-aidataplatform/pom.xml b/bmc-aidataplatform/pom.xml
index 72a4246315f..6a5e437cf0a 100644
--- a/bmc-aidataplatform/pom.xml
+++ b/bmc-aidataplatform/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-aidataplatform
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml
index 102137f4456..678c6617dda 100644
--- a/bmc-aidocument/pom.xml
+++ b/bmc-aidocument/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-aidocument
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml
index ec42046ce80..503d9e56276 100644
--- a/bmc-ailanguage/pom.xml
+++ b/bmc-ailanguage/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-ailanguage
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml
index 64cfd90dc53..8fd7b2cc9f8 100644
--- a/bmc-aispeech/pom.xml
+++ b/bmc-aispeech/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-aispeech
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml
index 0c2fd602e71..43df15139d3 100644
--- a/bmc-aivision/pom.xml
+++ b/bmc-aivision/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-aivision
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml
index 5d47977b810..09e8db606d2 100644
--- a/bmc-analytics/pom.xml
+++ b/bmc-analytics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-analytics
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml
index 663df7205ff..40ba7c31997 100644
--- a/bmc-announcementsservice/pom.xml
+++ b/bmc-announcementsservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-announcementsservice
@@ -17,7 +17,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-apiaccesscontrol/pom.xml b/bmc-apiaccesscontrol/pom.xml
index b7b46c26060..4633853ff8a 100644
--- a/bmc-apiaccesscontrol/pom.xml
+++ b/bmc-apiaccesscontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-apiaccesscontrol
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml
index 646cda65675..ccc18e47d91 100644
--- a/bmc-apigateway/pom.xml
+++ b/bmc-apigateway/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-apigateway
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-apiplatform/pom.xml b/bmc-apiplatform/pom.xml
index 9e55800c521..f5dbc625549 100644
--- a/bmc-apiplatform/pom.xml
+++ b/bmc-apiplatform/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-apiplatform
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml
index 42451ab955d..dabc97052c9 100644
--- a/bmc-apmconfig/pom.xml
+++ b/bmc-apmconfig/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-apmconfig
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml
index 7a23e0e650b..bfca6e84e3e 100644
--- a/bmc-apmcontrolplane/pom.xml
+++ b/bmc-apmcontrolplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-apmcontrolplane
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml
index 9ba6e665adb..a0968cfc325 100644
--- a/bmc-apmsynthetics/pom.xml
+++ b/bmc-apmsynthetics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-apmsynthetics
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInText.java b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInText.java
index 13a30e15beb..234092ce0bd 100644
--- a/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInText.java
+++ b/bmc-apmsynthetics/src/main/java/com/oracle/bmc/apmsynthetics/model/PasswordInText.java
@@ -29,19 +29,25 @@ public static class Builder {
* Password.
**/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private String password;
+ private char[] password;
/**
* Password.
* @param password the value to set
* @return this builder
**/
- public Builder password(String password) {
+ public Builder password(char[] password) {
this.password = password;
this.__explicitlySet__.add("password");
return this;
}
+ public Builder password(String password) {
+ this.password = password != null ? password.toCharArray() : null;
+ this.__explicitlySet__.add("password");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -75,6 +81,13 @@ public Builder toBuilder() {
@Deprecated
public PasswordInText(String password) {
+ super();
+ this.password = password != null ? password.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ public PasswordInText(char[] password) {
super();
this.password = password;
}
@@ -83,13 +96,25 @@ public PasswordInText(String password) {
* Password.
**/
@com.fasterxml.jackson.annotation.JsonProperty("password")
- private final String password;
+ private final char[] password;
+
+ /**
+ * Password.
+ * return the value
+ * @Deprecated - Use getPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassword() {
+ return password != null ? new String(password) : null;
+ }
/**
* Password.
* @return the value
**/
- public String getPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("password")
+ public char[] getPassword__AsCharArray() {
return password;
}
diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml
index a3b7a8c6614..ee9d18d5998 100644
--- a/bmc-apmtraces/pom.xml
+++ b/bmc-apmtraces/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-apmtraces
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml
index 5b4031554a4..8bb3e61deff 100644
--- a/bmc-appmgmtcontrol/pom.xml
+++ b/bmc-appmgmtcontrol/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-appmgmtcontrol
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml
index c7c3b97c6eb..a59e9c68f8a 100644
--- a/bmc-artifacts/pom.xml
+++ b/bmc-artifacts/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-artifacts
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml
index 5d2613013bc..31de47c6c87 100644
--- a/bmc-audit/pom.xml
+++ b/bmc-audit/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml
index 2adf58b1621..edfe13cf7a4 100644
--- a/bmc-autoscaling/pom.xml
+++ b/bmc-autoscaling/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-autoscaling
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml
index 33ed4c28090..d1d511e4f48 100644
--- a/bmc-bastion/pom.xml
+++ b/bmc-bastion/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-bastion
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-batch/pom.xml b/bmc-batch/pom.xml
index ca794663575..87063de3135 100644
--- a/bmc-batch/pom.xml
+++ b/bmc-batch/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-batch
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/BatchComputing.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/BatchComputing.java
index ec467af1c65..cf2701ff111 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/BatchComputing.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/BatchComputing.java
@@ -380,7 +380,7 @@ DeleteBatchTaskEnvironmentResponse deleteBatchTaskEnvironment(
ListBatchJobTasksResponse listBatchJobTasks(ListBatchJobTasksRequest request);
/**
- * Lists the batch jobs by compartment or job [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJob to get the full details on a specific context
+ * Lists the batch jobs by compartment or job [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJob to get the full details on a specific context
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs.
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/BatchComputingAsync.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/BatchComputingAsync.java
index 7b6a64d033a..d06bb7d6a2f 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/BatchComputingAsync.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/BatchComputingAsync.java
@@ -476,7 +476,7 @@ java.util.concurrent.Future listBatchJobTasks(
handler);
/**
- * Lists the batch jobs by compartment or job [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJob to get the full details on a specific context
+ * Lists the batch jobs by compartment or job [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJob to get the full details on a specific context
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchContextShapesConverter.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchContextShapesConverter.java
index 192cdb81801..e572b47e5ce 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchContextShapesConverter.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchContextShapesConverter.java
@@ -64,6 +64,14 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getPage()));
}
+ if (request.getShapeType() != null) {
+ target =
+ target.queryParam(
+ "shapeType",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getShapeType().getValue()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchJobTasksConverter.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchJobTasksConverter.java
index bbb1d9a55c6..306aece089f 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchJobTasksConverter.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchJobTasksConverter.java
@@ -56,6 +56,38 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getName()));
}
+ if (request.getTaskId() != null) {
+ target =
+ target.queryParam(
+ "taskId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getTaskId()));
+ }
+
+ if (request.getGroupTaskName() != null) {
+ target =
+ target.queryParam(
+ "groupTaskName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getGroupTaskName()));
+ }
+
+ if (request.getType() != null) {
+ target =
+ target.queryParam(
+ "type",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getType().getValue()));
+ }
+
+ if (request.getHierarchyView() != null) {
+ target =
+ target.queryParam(
+ "hierarchyView",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getHierarchyView().getValue()));
+ }
+
if (request.getLimit() != null) {
target =
target.queryParam(
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchTasksConverter.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchTasksConverter.java
index fb8c98eb524..5ab76190706 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchTasksConverter.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/internal/http/ListBatchTasksConverter.java
@@ -65,6 +65,14 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getName()));
}
+ if (request.getTaskId() != null) {
+ target =
+ target.queryParam(
+ "taskId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getTaskId()));
+ }
+
if (request.getLimit() != null) {
target =
target.queryParam(
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchContext.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchContext.java
index 7430bd7c5e1..5e71d8d7282 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchContext.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchContext.java
@@ -207,14 +207,14 @@ public Builder lifecycleState(LifecycleState lifecycleState) {
return this;
}
/**
- * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
+ * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails")
private String lifecycleDetails;
/**
- * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
+ * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
*
* @param lifecycleDetails the value to set
* @return this builder
@@ -624,14 +624,14 @@ public LifecycleState getLifecycleState() {
}
/**
- * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
+ * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails")
private final String lifecycleDetails;
/**
- * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
+ * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
*
* @return the value
**/
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchContextSummary.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchContextSummary.java
index fec90bbf24e..e95a522bc04 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchContextSummary.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchContextSummary.java
@@ -189,14 +189,14 @@ public Builder lifecycleState(BatchContext.LifecycleState lifecycleState) {
return this;
}
/**
- * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
+ * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails")
private String lifecycleDetails;
/**
- * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
+ * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
*
* @param lifecycleDetails the value to set
* @return this builder
@@ -464,14 +464,14 @@ public BatchContext.LifecycleState getLifecycleState() {
}
/**
- * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
+ * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails")
private final String lifecycleDetails;
/**
- * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
+ * A message that describes the current state in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
*
* @return the value
**/
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTask.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTask.java
index cfc67fb65f2..2fafc060746 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTask.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTask.java
@@ -22,7 +22,11 @@
defaultImpl = BatchTask.class
)
@com.fasterxml.jackson.annotation.JsonSubTypes({
- @com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = ComputeTask.class, name = "COMPUTE")
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = ComputeTask.class,
+ name = "COMPUTE"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = GroupTask.class, name = "GROUP")
})
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public class BatchTask extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@@ -30,6 +34,8 @@ public class BatchTask extends com.oracle.bmc.http.internal.ExplicitlySetBmcMode
@java.beans.ConstructorProperties({
"id",
"name",
+ "hierarchicalName",
+ "groupTaskName",
"description",
"lifecycleState",
"lifecycleDetails",
@@ -40,6 +46,8 @@ public class BatchTask extends com.oracle.bmc.http.internal.ExplicitlySetBmcMode
protected BatchTask(
String id,
String name,
+ String hierarchicalName,
+ String groupTaskName,
String description,
LifecycleState lifecycleState,
String lifecycleDetails,
@@ -49,6 +57,8 @@ protected BatchTask(
super();
this.id = id;
this.name = name;
+ this.hierarchicalName = hierarchicalName;
+ this.groupTaskName = groupTaskName;
this.description = description;
this.lifecycleState = lifecycleState;
this.lifecycleDetails = lifecycleDetails;
@@ -85,6 +95,34 @@ public String getName() {
return name;
}
+ /**
+ * The hierarchical name of the task, which incorporates names of all parent group tasks, separated by "." (dot symbol). Maximum nesting depth is 4 levels. Example: groupTaskA.nestedGroupTaskB.thisTaskName
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("hierarchicalName")
+ private final String hierarchicalName;
+
+ /**
+ * The hierarchical name of the task, which incorporates names of all parent group tasks, separated by "." (dot symbol). Maximum nesting depth is 4 levels. Example: groupTaskA.nestedGroupTaskB.thisTaskName
+ * @return the value
+ **/
+ public String getHierarchicalName() {
+ return hierarchicalName;
+ }
+
+ /**
+ * The hierarchical name of the group task. Null for top-level tasks.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("groupTaskName")
+ private final String groupTaskName;
+
+ /**
+ * The hierarchical name of the group task. Null for top-level tasks.
+ * @return the value
+ **/
+ public String getGroupTaskName() {
+ return groupTaskName;
+ }
+
/**
* An optional description that provides additional context next to the displayName.
**/
@@ -197,13 +235,13 @@ public java.util.List getEntitlementClaims() {
}
/**
- * A list of tasks from the same job this task depends on referenced by name.
+ * A list of tasks on which this tasks depends, referenced by name. Dependencies must be within the same parent (job or group task). For tasks within a group task, all dependencies must also be within that same group task.
**/
@com.fasterxml.jackson.annotation.JsonProperty("dependencies")
private final java.util.List dependencies;
/**
- * A list of tasks from the same job this task depends on referenced by name.
+ * A list of tasks on which this tasks depends, referenced by name. Dependencies must be within the same parent (job or group task). For tasks within a group task, all dependencies must also be within that same group task.
* @return the value
**/
public java.util.List getDependencies() {
@@ -240,6 +278,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("id=").append(String.valueOf(this.id));
sb.append(", name=").append(String.valueOf(this.name));
+ sb.append(", hierarchicalName=").append(String.valueOf(this.hierarchicalName));
+ sb.append(", groupTaskName=").append(String.valueOf(this.groupTaskName));
sb.append(", description=").append(String.valueOf(this.description));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails));
@@ -262,6 +302,8 @@ public boolean equals(Object o) {
BatchTask other = (BatchTask) o;
return java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.name, other.name)
+ && java.util.Objects.equals(this.hierarchicalName, other.hierarchicalName)
+ && java.util.Objects.equals(this.groupTaskName, other.groupTaskName)
&& java.util.Objects.equals(this.description, other.description)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails)
@@ -277,6 +319,12 @@ public int hashCode() {
int result = 1;
result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode());
result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode());
+ result =
+ (result * PRIME)
+ + (this.hierarchicalName == null ? 43 : this.hierarchicalName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.groupTaskName == null ? 43 : this.groupTaskName.hashCode());
result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode());
result =
(result * PRIME)
@@ -302,6 +350,7 @@ public int hashCode() {
**/
public enum Type {
Compute("COMPUTE"),
+ Group("GROUP"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskExecutionDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskExecutionDetails.java
new file mode 100644
index 00000000000..25d4ec19260
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskExecutionDetails.java
@@ -0,0 +1,122 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Execution details for a batch task.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = BatchTaskExecutionDetails.class
+)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = ComputeTaskExecutionDetails.class,
+ name = "COMPUTE_TASK_EXECUTION_DETAILS"
+ )
+})
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class BatchTaskExecutionDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected BatchTaskExecutionDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("BatchTaskExecutionDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof BatchTaskExecutionDetails)) {
+ return false;
+ }
+
+ BatchTaskExecutionDetails other = (BatchTaskExecutionDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /**
+ * Type of the execution details.
+ **/
+ public enum Type {
+ ComputeTaskExecutionDetails("COMPUTE_TASK_EXECUTION_DETAILS"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
+ }
+ };
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskHierarchyView.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskHierarchyView.java
new file mode 100644
index 00000000000..c9097c3f762
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskHierarchyView.java
@@ -0,0 +1,42 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Defines the hierarchical scope of the tasks to be returned. When set to SHALLOW, which is default, only tasks contained directly (non-recursively) within current hierarchy entry are returned. When set to DEEP, tasks contained within current hierarchy entry and all its descendants recursively are returned. The default hierarchy entry is root, i.e. batch job itself. To use a different hierarchy entry, provide the group task name as a query parameter. The specified group task becomes the entry point instead of the batch job.
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+public enum BatchTaskHierarchyView {
+ Shallow("SHALLOW"),
+ Deep("DEEP"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (BatchTaskHierarchyView v : BatchTaskHierarchyView.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ BatchTaskHierarchyView(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static BatchTaskHierarchyView create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid BatchTaskHierarchyView: " + key);
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfile.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfile.java
index 21472571709..835c63ee0e3 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfile.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfile.java
@@ -31,6 +31,8 @@ public final class BatchTaskProfile extends com.oracle.bmc.http.internal.Explici
"description",
"minOcpus",
"minMemoryInGBs",
+ "minDiskSizeInGBs",
+ "extendedInformation",
"lifecycleState",
"timeCreated",
"timeUpdated",
@@ -45,6 +47,8 @@ public BatchTaskProfile(
String description,
Integer minOcpus,
Integer minMemoryInGBs,
+ Integer minDiskSizeInGBs,
+ BatchTaskProfileExtendedInformation extendedInformation,
LifecycleState lifecycleState,
java.util.Date timeCreated,
java.util.Date timeUpdated,
@@ -58,6 +62,8 @@ public BatchTaskProfile(
this.description = description;
this.minOcpus = minOcpus;
this.minMemoryInGBs = minMemoryInGBs;
+ this.minDiskSizeInGBs = minDiskSizeInGBs;
+ this.extendedInformation = extendedInformation;
this.lifecycleState = lifecycleState;
this.timeCreated = timeCreated;
this.timeUpdated = timeUpdated;
@@ -164,6 +170,32 @@ public Builder minMemoryInGBs(Integer minMemoryInGBs) {
this.__explicitlySet__.add("minMemoryInGBs");
return this;
}
+ /**
+ * The minimum required size of disk space in GBs.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("minDiskSizeInGBs")
+ private Integer minDiskSizeInGBs;
+
+ /**
+ * The minimum required size of disk space in GBs.
+ * @param minDiskSizeInGBs the value to set
+ * @return this builder
+ **/
+ public Builder minDiskSizeInGBs(Integer minDiskSizeInGBs) {
+ this.minDiskSizeInGBs = minDiskSizeInGBs;
+ this.__explicitlySet__.add("minDiskSizeInGBs");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("extendedInformation")
+ private BatchTaskProfileExtendedInformation extendedInformation;
+
+ public Builder extendedInformation(
+ BatchTaskProfileExtendedInformation extendedInformation) {
+ this.extendedInformation = extendedInformation;
+ this.__explicitlySet__.add("extendedInformation");
+ return this;
+ }
/**
* The current state of the batch task profile.
*
@@ -310,6 +342,8 @@ public BatchTaskProfile build() {
this.description,
this.minOcpus,
this.minMemoryInGBs,
+ this.minDiskSizeInGBs,
+ this.extendedInformation,
this.lifecycleState,
this.timeCreated,
this.timeUpdated,
@@ -342,6 +376,12 @@ public Builder copy(BatchTaskProfile model) {
if (model.wasPropertyExplicitlySet("minMemoryInGBs")) {
this.minMemoryInGBs(model.getMinMemoryInGBs());
}
+ if (model.wasPropertyExplicitlySet("minDiskSizeInGBs")) {
+ this.minDiskSizeInGBs(model.getMinDiskSizeInGBs());
+ }
+ if (model.wasPropertyExplicitlySet("extendedInformation")) {
+ this.extendedInformation(model.getExtendedInformation());
+ }
if (model.wasPropertyExplicitlySet("lifecycleState")) {
this.lifecycleState(model.getLifecycleState());
}
@@ -459,6 +499,27 @@ public Integer getMinMemoryInGBs() {
return minMemoryInGBs;
}
+ /**
+ * The minimum required size of disk space in GBs.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("minDiskSizeInGBs")
+ private final Integer minDiskSizeInGBs;
+
+ /**
+ * The minimum required size of disk space in GBs.
+ * @return the value
+ **/
+ public Integer getMinDiskSizeInGBs() {
+ return minDiskSizeInGBs;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("extendedInformation")
+ private final BatchTaskProfileExtendedInformation extendedInformation;
+
+ public BatchTaskProfileExtendedInformation getExtendedInformation() {
+ return extendedInformation;
+ }
+
/**
* The current state of the batch task profile.
*
@@ -648,6 +709,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", description=").append(String.valueOf(this.description));
sb.append(", minOcpus=").append(String.valueOf(this.minOcpus));
sb.append(", minMemoryInGBs=").append(String.valueOf(this.minMemoryInGBs));
+ sb.append(", minDiskSizeInGBs=").append(String.valueOf(this.minDiskSizeInGBs));
+ sb.append(", extendedInformation=").append(String.valueOf(this.extendedInformation));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
@@ -674,6 +737,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.description, other.description)
&& java.util.Objects.equals(this.minOcpus, other.minOcpus)
&& java.util.Objects.equals(this.minMemoryInGBs, other.minMemoryInGBs)
+ && java.util.Objects.equals(this.minDiskSizeInGBs, other.minDiskSizeInGBs)
+ && java.util.Objects.equals(this.extendedInformation, other.extendedInformation)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
@@ -697,6 +762,14 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.minMemoryInGBs == null ? 43 : this.minMemoryInGBs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.minDiskSizeInGBs == null ? 43 : this.minDiskSizeInGBs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.extendedInformation == null
+ ? 43
+ : this.extendedInformation.hashCode());
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfileExtendedInformation.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfileExtendedInformation.java
new file mode 100644
index 00000000000..940127ccf86
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfileExtendedInformation.java
@@ -0,0 +1,134 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Extended information for the task profile.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = BatchTaskProfileExtendedInformation.class
+)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CpuArchitectureTaskProfileExtendedInformation.class,
+ name = "CPU_ARCHITECTURE_TASK_PROFILE_EXTENDED_INFORMATION"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CpuShapeTaskProfileExtendedInformation.class,
+ name = "CPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = GpuShapeTaskProfileExtendedInformation.class,
+ name = "GPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION"
+ )
+})
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class BatchTaskProfileExtendedInformation
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected BatchTaskProfileExtendedInformation() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("BatchTaskProfileExtendedInformation(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof BatchTaskProfileExtendedInformation)) {
+ return false;
+ }
+
+ BatchTaskProfileExtendedInformation other = (BatchTaskProfileExtendedInformation) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /**
+ * Type of extended information.
+ **/
+ public enum Type {
+ CpuArchitectureTaskProfileExtendedInformation(
+ "CPU_ARCHITECTURE_TASK_PROFILE_EXTENDED_INFORMATION"),
+ CpuShapeTaskProfileExtendedInformation("CPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION"),
+ GpuShapeTaskProfileExtendedInformation("GPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
+ }
+ };
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfileSummary.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfileSummary.java
index 76521ba5ea8..cc335167da0 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfileSummary.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskProfileSummary.java
@@ -29,6 +29,8 @@ public final class BatchTaskProfileSummary
"description",
"minOcpus",
"minMemoryInGBs",
+ "minDiskSizeInGBs",
+ "extendedInformation",
"lifecycleState",
"timeCreated",
"timeUpdated",
@@ -43,6 +45,8 @@ public BatchTaskProfileSummary(
String description,
Integer minOcpus,
Integer minMemoryInGBs,
+ Integer minDiskSizeInGBs,
+ BatchTaskProfileExtendedInformation extendedInformation,
BatchTaskProfile.LifecycleState lifecycleState,
java.util.Date timeCreated,
java.util.Date timeUpdated,
@@ -56,6 +60,8 @@ public BatchTaskProfileSummary(
this.description = description;
this.minOcpus = minOcpus;
this.minMemoryInGBs = minMemoryInGBs;
+ this.minDiskSizeInGBs = minDiskSizeInGBs;
+ this.extendedInformation = extendedInformation;
this.lifecycleState = lifecycleState;
this.timeCreated = timeCreated;
this.timeUpdated = timeUpdated;
@@ -162,6 +168,32 @@ public Builder minMemoryInGBs(Integer minMemoryInGBs) {
this.__explicitlySet__.add("minMemoryInGBs");
return this;
}
+ /**
+ * The minimum required size of disk space in GBs.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("minDiskSizeInGBs")
+ private Integer minDiskSizeInGBs;
+
+ /**
+ * The minimum required size of disk space in GBs.
+ * @param minDiskSizeInGBs the value to set
+ * @return this builder
+ **/
+ public Builder minDiskSizeInGBs(Integer minDiskSizeInGBs) {
+ this.minDiskSizeInGBs = minDiskSizeInGBs;
+ this.__explicitlySet__.add("minDiskSizeInGBs");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("extendedInformation")
+ private BatchTaskProfileExtendedInformation extendedInformation;
+
+ public Builder extendedInformation(
+ BatchTaskProfileExtendedInformation extendedInformation) {
+ this.extendedInformation = extendedInformation;
+ this.__explicitlySet__.add("extendedInformation");
+ return this;
+ }
/**
* The current state of the batch task profile.
*
@@ -308,6 +340,8 @@ public BatchTaskProfileSummary build() {
this.description,
this.minOcpus,
this.minMemoryInGBs,
+ this.minDiskSizeInGBs,
+ this.extendedInformation,
this.lifecycleState,
this.timeCreated,
this.timeUpdated,
@@ -340,6 +374,12 @@ public Builder copy(BatchTaskProfileSummary model) {
if (model.wasPropertyExplicitlySet("minMemoryInGBs")) {
this.minMemoryInGBs(model.getMinMemoryInGBs());
}
+ if (model.wasPropertyExplicitlySet("minDiskSizeInGBs")) {
+ this.minDiskSizeInGBs(model.getMinDiskSizeInGBs());
+ }
+ if (model.wasPropertyExplicitlySet("extendedInformation")) {
+ this.extendedInformation(model.getExtendedInformation());
+ }
if (model.wasPropertyExplicitlySet("lifecycleState")) {
this.lifecycleState(model.getLifecycleState());
}
@@ -457,6 +497,27 @@ public Integer getMinMemoryInGBs() {
return minMemoryInGBs;
}
+ /**
+ * The minimum required size of disk space in GBs.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("minDiskSizeInGBs")
+ private final Integer minDiskSizeInGBs;
+
+ /**
+ * The minimum required size of disk space in GBs.
+ * @return the value
+ **/
+ public Integer getMinDiskSizeInGBs() {
+ return minDiskSizeInGBs;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("extendedInformation")
+ private final BatchTaskProfileExtendedInformation extendedInformation;
+
+ public BatchTaskProfileExtendedInformation getExtendedInformation() {
+ return extendedInformation;
+ }
+
/**
* The current state of the batch task profile.
*
@@ -597,6 +658,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", description=").append(String.valueOf(this.description));
sb.append(", minOcpus=").append(String.valueOf(this.minOcpus));
sb.append(", minMemoryInGBs=").append(String.valueOf(this.minMemoryInGBs));
+ sb.append(", minDiskSizeInGBs=").append(String.valueOf(this.minDiskSizeInGBs));
+ sb.append(", extendedInformation=").append(String.valueOf(this.extendedInformation));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
@@ -623,6 +686,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.description, other.description)
&& java.util.Objects.equals(this.minOcpus, other.minOcpus)
&& java.util.Objects.equals(this.minMemoryInGBs, other.minMemoryInGBs)
+ && java.util.Objects.equals(this.minDiskSizeInGBs, other.minDiskSizeInGBs)
+ && java.util.Objects.equals(this.extendedInformation, other.extendedInformation)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
@@ -646,6 +711,14 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.minMemoryInGBs == null ? 43 : this.minMemoryInGBs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.minDiskSizeInGBs == null ? 43 : this.minDiskSizeInGBs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.extendedInformation == null
+ ? 43
+ : this.extendedInformation.hashCode());
result =
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskSummary.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskSummary.java
index ad6253ab150..172950688c4 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskSummary.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/BatchTaskSummary.java
@@ -25,6 +25,10 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = ComputeTaskSummary.class,
name = "COMPUTE"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = GroupTaskSummary.class,
+ name = "GROUP"
)
})
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
@@ -34,6 +38,8 @@ public class BatchTaskSummary extends com.oracle.bmc.http.internal.ExplicitlySet
"id",
"jobId",
"name",
+ "hierarchicalName",
+ "groupTaskName",
"description",
"lifecycleState",
"lifecycleDetails"
@@ -42,6 +48,8 @@ protected BatchTaskSummary(
String id,
String jobId,
String name,
+ String hierarchicalName,
+ String groupTaskName,
String description,
BatchTask.LifecycleState lifecycleState,
String lifecycleDetails) {
@@ -49,6 +57,8 @@ protected BatchTaskSummary(
this.id = id;
this.jobId = jobId;
this.name = name;
+ this.hierarchicalName = hierarchicalName;
+ this.groupTaskName = groupTaskName;
this.description = description;
this.lifecycleState = lifecycleState;
this.lifecycleDetails = lifecycleDetails;
@@ -96,6 +106,34 @@ public String getName() {
return name;
}
+ /**
+ * The hierarchical name of the task, which incorporates names of all parent group tasks, separated by "." (dot symbol). Maximum nesting depth is 4 levels. Example: groupTaskA.nestedGroupTaskB.thisTaskName
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("hierarchicalName")
+ private final String hierarchicalName;
+
+ /**
+ * The hierarchical name of the task, which incorporates names of all parent group tasks, separated by "." (dot symbol). Maximum nesting depth is 4 levels. Example: groupTaskA.nestedGroupTaskB.thisTaskName
+ * @return the value
+ **/
+ public String getHierarchicalName() {
+ return hierarchicalName;
+ }
+
+ /**
+ * The hierarchical name of the group task. Null for top-level tasks.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("groupTaskName")
+ private final String groupTaskName;
+
+ /**
+ * The hierarchical name of the group task. Null for top-level tasks.
+ * @return the value
+ **/
+ public String getGroupTaskName() {
+ return groupTaskName;
+ }
+
/**
* An optional description that provides additional context next to the displayName.
**/
@@ -157,6 +195,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("id=").append(String.valueOf(this.id));
sb.append(", jobId=").append(String.valueOf(this.jobId));
sb.append(", name=").append(String.valueOf(this.name));
+ sb.append(", hierarchicalName=").append(String.valueOf(this.hierarchicalName));
+ sb.append(", groupTaskName=").append(String.valueOf(this.groupTaskName));
sb.append(", description=").append(String.valueOf(this.description));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails));
@@ -177,6 +217,8 @@ public boolean equals(Object o) {
return java.util.Objects.equals(this.id, other.id)
&& java.util.Objects.equals(this.jobId, other.jobId)
&& java.util.Objects.equals(this.name, other.name)
+ && java.util.Objects.equals(this.hierarchicalName, other.hierarchicalName)
+ && java.util.Objects.equals(this.groupTaskName, other.groupTaskName)
&& java.util.Objects.equals(this.description, other.description)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails)
@@ -190,6 +232,12 @@ public int hashCode() {
result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode());
result = (result * PRIME) + (this.jobId == null ? 43 : this.jobId.hashCode());
result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode());
+ result =
+ (result * PRIME)
+ + (this.hierarchicalName == null ? 43 : this.hierarchicalName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.groupTaskName == null ? 43 : this.groupTaskName.hashCode());
result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode());
result =
(result * PRIME)
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTask.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTask.java
index 27aa64b75e8..894f5da2493 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTask.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTask.java
@@ -43,6 +43,24 @@ public Builder name(String name) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("hierarchicalName")
+ private String hierarchicalName;
+
+ public Builder hierarchicalName(String hierarchicalName) {
+ this.hierarchicalName = hierarchicalName;
+ this.__explicitlySet__.add("hierarchicalName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("groupTaskName")
+ private String groupTaskName;
+
+ public Builder groupTaskName(String groupTaskName) {
+ this.groupTaskName = groupTaskName;
+ this.__explicitlySet__.add("groupTaskName");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("description")
private String description;
@@ -170,6 +188,23 @@ public Builder batchTaskEnvironmentId(String batchTaskEnvironmentId) {
this.__explicitlySet__.add("batchTaskEnvironmentId");
return this;
}
+ /**
+ * List of up to 30 most recent execution history entries, from newest to oldest. Be aware that the maximum number of items returned may change in the future.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("mostRecentExecutionHistory")
+ private java.util.List mostRecentExecutionHistory;
+
+ /**
+ * List of up to 30 most recent execution history entries, from newest to oldest. Be aware that the maximum number of items returned may change in the future.
+ * @param mostRecentExecutionHistory the value to set
+ * @return this builder
+ **/
+ public Builder mostRecentExecutionHistory(
+ java.util.List mostRecentExecutionHistory) {
+ this.mostRecentExecutionHistory = mostRecentExecutionHistory;
+ this.__explicitlySet__.add("mostRecentExecutionHistory");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -179,6 +214,8 @@ public ComputeTask build() {
new ComputeTask(
this.id,
this.name,
+ this.hierarchicalName,
+ this.groupTaskName,
this.description,
this.lifecycleState,
this.lifecycleDetails,
@@ -189,7 +226,8 @@ public ComputeTask build() {
this.command,
this.arguments,
this.fleetAssignmentPolicy,
- this.batchTaskEnvironmentId);
+ this.batchTaskEnvironmentId,
+ this.mostRecentExecutionHistory);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -204,6 +242,12 @@ public Builder copy(ComputeTask model) {
if (model.wasPropertyExplicitlySet("name")) {
this.name(model.getName());
}
+ if (model.wasPropertyExplicitlySet("hierarchicalName")) {
+ this.hierarchicalName(model.getHierarchicalName());
+ }
+ if (model.wasPropertyExplicitlySet("groupTaskName")) {
+ this.groupTaskName(model.getGroupTaskName());
+ }
if (model.wasPropertyExplicitlySet("description")) {
this.description(model.getDescription());
}
@@ -237,6 +281,9 @@ public Builder copy(ComputeTask model) {
if (model.wasPropertyExplicitlySet("batchTaskEnvironmentId")) {
this.batchTaskEnvironmentId(model.getBatchTaskEnvironmentId());
}
+ if (model.wasPropertyExplicitlySet("mostRecentExecutionHistory")) {
+ this.mostRecentExecutionHistory(model.getMostRecentExecutionHistory());
+ }
return this;
}
}
@@ -256,6 +303,8 @@ public Builder toBuilder() {
public ComputeTask(
String id,
String name,
+ String hierarchicalName,
+ String groupTaskName,
String description,
LifecycleState lifecycleState,
String lifecycleDetails,
@@ -266,10 +315,13 @@ public ComputeTask(
java.util.List command,
java.util.List arguments,
FleetAssignmentPolicy fleetAssignmentPolicy,
- String batchTaskEnvironmentId) {
+ String batchTaskEnvironmentId,
+ java.util.List mostRecentExecutionHistory) {
super(
id,
name,
+ hierarchicalName,
+ groupTaskName,
description,
lifecycleState,
lifecycleDetails,
@@ -281,6 +333,7 @@ public ComputeTask(
this.arguments = arguments;
this.fleetAssignmentPolicy = fleetAssignmentPolicy;
this.batchTaskEnvironmentId = batchTaskEnvironmentId;
+ this.mostRecentExecutionHistory = mostRecentExecutionHistory;
}
/**
@@ -346,6 +399,20 @@ public String getBatchTaskEnvironmentId() {
return batchTaskEnvironmentId;
}
+ /**
+ * List of up to 30 most recent execution history entries, from newest to oldest. Be aware that the maximum number of items returned may change in the future.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("mostRecentExecutionHistory")
+ private final java.util.List mostRecentExecutionHistory;
+
+ /**
+ * List of up to 30 most recent execution history entries, from newest to oldest. Be aware that the maximum number of items returned may change in the future.
+ * @return the value
+ **/
+ public java.util.List getMostRecentExecutionHistory() {
+ return mostRecentExecutionHistory;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -365,6 +432,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", arguments=").append(String.valueOf(this.arguments));
sb.append(", fleetAssignmentPolicy=").append(String.valueOf(this.fleetAssignmentPolicy));
sb.append(", batchTaskEnvironmentId=").append(String.valueOf(this.batchTaskEnvironmentId));
+ sb.append(", mostRecentExecutionHistory=")
+ .append(String.valueOf(this.mostRecentExecutionHistory));
sb.append(")");
return sb.toString();
}
@@ -385,6 +454,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.fleetAssignmentPolicy, other.fleetAssignmentPolicy)
&& java.util.Objects.equals(
this.batchTaskEnvironmentId, other.batchTaskEnvironmentId)
+ && java.util.Objects.equals(
+ this.mostRecentExecutionHistory, other.mostRecentExecutionHistory)
&& super.equals(other);
}
@@ -409,6 +480,11 @@ public int hashCode() {
+ (this.batchTaskEnvironmentId == null
? 43
: this.batchTaskEnvironmentId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.mostRecentExecutionHistory == null
+ ? 43
+ : this.mostRecentExecutionHistory.hashCode());
return result;
}
}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTaskExecutionDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTaskExecutionDetails.java
new file mode 100644
index 00000000000..0afe22b8fce
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTaskExecutionDetails.java
@@ -0,0 +1,440 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Execution details for a compute task.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = ComputeTaskExecutionDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class ComputeTaskExecutionDetails extends BatchTaskExecutionDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * A unique identifier for the task execution. Created as "taskId:taskVersion:runNumber".
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("executionId")
+ private String executionId;
+
+ /**
+ * A unique identifier for the task execution. Created as "taskId:taskVersion:runNumber".
+ * @param executionId the value to set
+ * @return this builder
+ **/
+ public Builder executionId(String executionId) {
+ this.executionId = executionId;
+ this.__explicitlySet__.add("executionId");
+ return this;
+ }
+ /**
+ * The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeTransitionedToWaitingDependencies")
+ private java.util.Date timeTransitionedToWaitingDependencies;
+
+ /**
+ * The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ * @param timeTransitionedToWaitingDependencies the value to set
+ * @return this builder
+ **/
+ public Builder timeTransitionedToWaitingDependencies(
+ java.util.Date timeTransitionedToWaitingDependencies) {
+ this.timeTransitionedToWaitingDependencies = timeTransitionedToWaitingDependencies;
+ this.__explicitlySet__.add("timeTransitionedToWaitingDependencies");
+ return this;
+ }
+ /**
+ * The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeTransitionedToWaitingQueued")
+ private java.util.Date timeTransitionedToWaitingQueued;
+
+ /**
+ * The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ * @param timeTransitionedToWaitingQueued the value to set
+ * @return this builder
+ **/
+ public Builder timeTransitionedToWaitingQueued(
+ java.util.Date timeTransitionedToWaitingQueued) {
+ this.timeTransitionedToWaitingQueued = timeTransitionedToWaitingQueued;
+ this.__explicitlySet__.add("timeTransitionedToWaitingQueued");
+ return this;
+ }
+ /**
+ * The date and time when the lifecycleState was changed to In_Progress, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeStarted")
+ private java.util.Date timeStarted;
+
+ /**
+ * The date and time when the lifecycleState was changed to In_Progress, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ * @param timeStarted the value to set
+ * @return this builder
+ **/
+ public Builder timeStarted(java.util.Date timeStarted) {
+ this.timeStarted = timeStarted;
+ this.__explicitlySet__.add("timeStarted");
+ return this;
+ }
+ /**
+ * The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted")
+ private java.util.Date timeCompleted;
+
+ /**
+ * The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ * @param timeCompleted the value to set
+ * @return this builder
+ **/
+ public Builder timeCompleted(java.util.Date timeCompleted) {
+ this.timeCompleted = timeCompleted;
+ this.__explicitlySet__.add("timeCompleted");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("fleetShape")
+ private FleetShapeExecutionDetails fleetShape;
+
+ public Builder fleetShape(FleetShapeExecutionDetails fleetShape) {
+ this.fleetShape = fleetShape;
+ this.__explicitlySet__.add("fleetShape");
+ return this;
+ }
+ /**
+ * The terminal lifecycle state of the task for this execution. Valid values are: SUCCEEDED, NEEDS_ATTENTION, CANCELED, or FAILED.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("completionLifecycleState")
+ private BatchTask.LifecycleState completionLifecycleState;
+
+ /**
+ * The terminal lifecycle state of the task for this execution. Valid values are: SUCCEEDED, NEEDS_ATTENTION, CANCELED, or FAILED.
+ * @param completionLifecycleState the value to set
+ * @return this builder
+ **/
+ public Builder completionLifecycleState(BatchTask.LifecycleState completionLifecycleState) {
+ this.completionLifecycleState = completionLifecycleState;
+ this.__explicitlySet__.add("completionLifecycleState");
+ return this;
+ }
+ /**
+ * List of error messages related to this task execution. Be aware that the maximum number of items returned may change in the future.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("errors")
+ private java.util.List errors;
+
+ /**
+ * List of error messages related to this task execution. Be aware that the maximum number of items returned may change in the future.
+ * @param errors the value to set
+ * @return this builder
+ **/
+ public Builder errors(java.util.List errors) {
+ this.errors = errors;
+ this.__explicitlySet__.add("errors");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ComputeTaskExecutionDetails build() {
+ ComputeTaskExecutionDetails model =
+ new ComputeTaskExecutionDetails(
+ this.executionId,
+ this.timeTransitionedToWaitingDependencies,
+ this.timeTransitionedToWaitingQueued,
+ this.timeStarted,
+ this.timeCompleted,
+ this.fleetShape,
+ this.completionLifecycleState,
+ this.errors);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ComputeTaskExecutionDetails model) {
+ if (model.wasPropertyExplicitlySet("executionId")) {
+ this.executionId(model.getExecutionId());
+ }
+ if (model.wasPropertyExplicitlySet("timeTransitionedToWaitingDependencies")) {
+ this.timeTransitionedToWaitingDependencies(
+ model.getTimeTransitionedToWaitingDependencies());
+ }
+ if (model.wasPropertyExplicitlySet("timeTransitionedToWaitingQueued")) {
+ this.timeTransitionedToWaitingQueued(model.getTimeTransitionedToWaitingQueued());
+ }
+ if (model.wasPropertyExplicitlySet("timeStarted")) {
+ this.timeStarted(model.getTimeStarted());
+ }
+ if (model.wasPropertyExplicitlySet("timeCompleted")) {
+ this.timeCompleted(model.getTimeCompleted());
+ }
+ if (model.wasPropertyExplicitlySet("fleetShape")) {
+ this.fleetShape(model.getFleetShape());
+ }
+ if (model.wasPropertyExplicitlySet("completionLifecycleState")) {
+ this.completionLifecycleState(model.getCompletionLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("errors")) {
+ this.errors(model.getErrors());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public ComputeTaskExecutionDetails(
+ String executionId,
+ java.util.Date timeTransitionedToWaitingDependencies,
+ java.util.Date timeTransitionedToWaitingQueued,
+ java.util.Date timeStarted,
+ java.util.Date timeCompleted,
+ FleetShapeExecutionDetails fleetShape,
+ BatchTask.LifecycleState completionLifecycleState,
+ java.util.List errors) {
+ super();
+ this.executionId = executionId;
+ this.timeTransitionedToWaitingDependencies = timeTransitionedToWaitingDependencies;
+ this.timeTransitionedToWaitingQueued = timeTransitionedToWaitingQueued;
+ this.timeStarted = timeStarted;
+ this.timeCompleted = timeCompleted;
+ this.fleetShape = fleetShape;
+ this.completionLifecycleState = completionLifecycleState;
+ this.errors = errors;
+ }
+
+ /**
+ * A unique identifier for the task execution. Created as "taskId:taskVersion:runNumber".
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("executionId")
+ private final String executionId;
+
+ /**
+ * A unique identifier for the task execution. Created as "taskId:taskVersion:runNumber".
+ * @return the value
+ **/
+ public String getExecutionId() {
+ return executionId;
+ }
+
+ /**
+ * The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeTransitionedToWaitingDependencies")
+ private final java.util.Date timeTransitionedToWaitingDependencies;
+
+ /**
+ * The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ * @return the value
+ **/
+ public java.util.Date getTimeTransitionedToWaitingDependencies() {
+ return timeTransitionedToWaitingDependencies;
+ }
+
+ /**
+ * The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeTransitionedToWaitingQueued")
+ private final java.util.Date timeTransitionedToWaitingQueued;
+
+ /**
+ * The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ * @return the value
+ **/
+ public java.util.Date getTimeTransitionedToWaitingQueued() {
+ return timeTransitionedToWaitingQueued;
+ }
+
+ /**
+ * The date and time when the lifecycleState was changed to In_Progress, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeStarted")
+ private final java.util.Date timeStarted;
+
+ /**
+ * The date and time when the lifecycleState was changed to In_Progress, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ * @return the value
+ **/
+ public java.util.Date getTimeStarted() {
+ return timeStarted;
+ }
+
+ /**
+ * The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeCompleted")
+ private final java.util.Date timeCompleted;
+
+ /**
+ * The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
+ * Example: {@code 2016-08-25T21:10:29.600Z}
+ * @return the value
+ **/
+ public java.util.Date getTimeCompleted() {
+ return timeCompleted;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("fleetShape")
+ private final FleetShapeExecutionDetails fleetShape;
+
+ public FleetShapeExecutionDetails getFleetShape() {
+ return fleetShape;
+ }
+
+ /**
+ * The terminal lifecycle state of the task for this execution. Valid values are: SUCCEEDED, NEEDS_ATTENTION, CANCELED, or FAILED.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("completionLifecycleState")
+ private final BatchTask.LifecycleState completionLifecycleState;
+
+ /**
+ * The terminal lifecycle state of the task for this execution. Valid values are: SUCCEEDED, NEEDS_ATTENTION, CANCELED, or FAILED.
+ * @return the value
+ **/
+ public BatchTask.LifecycleState getCompletionLifecycleState() {
+ return completionLifecycleState;
+ }
+
+ /**
+ * List of error messages related to this task execution. Be aware that the maximum number of items returned may change in the future.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("errors")
+ private final java.util.List errors;
+
+ /**
+ * List of error messages related to this task execution. Be aware that the maximum number of items returned may change in the future.
+ * @return the value
+ **/
+ public java.util.List getErrors() {
+ return errors;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("ComputeTaskExecutionDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", executionId=").append(String.valueOf(this.executionId));
+ sb.append(", timeTransitionedToWaitingDependencies=")
+ .append(String.valueOf(this.timeTransitionedToWaitingDependencies));
+ sb.append(", timeTransitionedToWaitingQueued=")
+ .append(String.valueOf(this.timeTransitionedToWaitingQueued));
+ sb.append(", timeStarted=").append(String.valueOf(this.timeStarted));
+ sb.append(", timeCompleted=").append(String.valueOf(this.timeCompleted));
+ sb.append(", fleetShape=").append(String.valueOf(this.fleetShape));
+ sb.append(", completionLifecycleState=")
+ .append(String.valueOf(this.completionLifecycleState));
+ sb.append(", errors=").append(String.valueOf(this.errors));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ComputeTaskExecutionDetails)) {
+ return false;
+ }
+
+ ComputeTaskExecutionDetails other = (ComputeTaskExecutionDetails) o;
+ return java.util.Objects.equals(this.executionId, other.executionId)
+ && java.util.Objects.equals(
+ this.timeTransitionedToWaitingDependencies,
+ other.timeTransitionedToWaitingDependencies)
+ && java.util.Objects.equals(
+ this.timeTransitionedToWaitingQueued, other.timeTransitionedToWaitingQueued)
+ && java.util.Objects.equals(this.timeStarted, other.timeStarted)
+ && java.util.Objects.equals(this.timeCompleted, other.timeCompleted)
+ && java.util.Objects.equals(this.fleetShape, other.fleetShape)
+ && java.util.Objects.equals(
+ this.completionLifecycleState, other.completionLifecycleState)
+ && java.util.Objects.equals(this.errors, other.errors)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.executionId == null ? 43 : this.executionId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeTransitionedToWaitingDependencies == null
+ ? 43
+ : this.timeTransitionedToWaitingDependencies.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeTransitionedToWaitingQueued == null
+ ? 43
+ : this.timeTransitionedToWaitingQueued.hashCode());
+ result = (result * PRIME) + (this.timeStarted == null ? 43 : this.timeStarted.hashCode());
+ result =
+ (result * PRIME)
+ + (this.timeCompleted == null ? 43 : this.timeCompleted.hashCode());
+ result = (result * PRIME) + (this.fleetShape == null ? 43 : this.fleetShape.hashCode());
+ result =
+ (result * PRIME)
+ + (this.completionLifecycleState == null
+ ? 43
+ : this.completionLifecycleState.hashCode());
+ result = (result * PRIME) + (this.errors == null ? 43 : this.errors.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTaskSummary.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTaskSummary.java
index 09a8a47659a..a2c49884a17 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTaskSummary.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ComputeTaskSummary.java
@@ -54,6 +54,24 @@ public Builder name(String name) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("hierarchicalName")
+ private String hierarchicalName;
+
+ public Builder hierarchicalName(String hierarchicalName) {
+ this.hierarchicalName = hierarchicalName;
+ this.__explicitlySet__.add("hierarchicalName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("groupTaskName")
+ private String groupTaskName;
+
+ public Builder groupTaskName(String groupTaskName) {
+ this.groupTaskName = groupTaskName;
+ this.__explicitlySet__.add("groupTaskName");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("description")
private String description;
@@ -90,6 +108,8 @@ public ComputeTaskSummary build() {
this.id,
this.jobId,
this.name,
+ this.hierarchicalName,
+ this.groupTaskName,
this.description,
this.lifecycleState,
this.lifecycleDetails);
@@ -110,6 +130,12 @@ public Builder copy(ComputeTaskSummary model) {
if (model.wasPropertyExplicitlySet("name")) {
this.name(model.getName());
}
+ if (model.wasPropertyExplicitlySet("hierarchicalName")) {
+ this.hierarchicalName(model.getHierarchicalName());
+ }
+ if (model.wasPropertyExplicitlySet("groupTaskName")) {
+ this.groupTaskName(model.getGroupTaskName());
+ }
if (model.wasPropertyExplicitlySet("description")) {
this.description(model.getDescription());
}
@@ -139,10 +165,20 @@ public ComputeTaskSummary(
String id,
String jobId,
String name,
+ String hierarchicalName,
+ String groupTaskName,
String description,
BatchTask.LifecycleState lifecycleState,
String lifecycleDetails) {
- super(id, jobId, name, description, lifecycleState, lifecycleDetails);
+ super(
+ id,
+ jobId,
+ name,
+ hierarchicalName,
+ groupTaskName,
+ description,
+ lifecycleState,
+ lifecycleDetails);
}
@Override
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CpuArchitectureTaskProfileExtendedInformation.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CpuArchitectureTaskProfileExtendedInformation.java
new file mode 100644
index 00000000000..e03688ae794
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CpuArchitectureTaskProfileExtendedInformation.java
@@ -0,0 +1,189 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Extended information about CPU architecture for the task profile.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CpuArchitectureTaskProfileExtendedInformation.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CpuArchitectureTaskProfileExtendedInformation
+ extends BatchTaskProfileExtendedInformation {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Type of CPU architecture.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("architecture")
+ private Architecture architecture;
+
+ /**
+ * Type of CPU architecture.
+ * @param architecture the value to set
+ * @return this builder
+ **/
+ public Builder architecture(Architecture architecture) {
+ this.architecture = architecture;
+ this.__explicitlySet__.add("architecture");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CpuArchitectureTaskProfileExtendedInformation build() {
+ CpuArchitectureTaskProfileExtendedInformation model =
+ new CpuArchitectureTaskProfileExtendedInformation(this.architecture);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CpuArchitectureTaskProfileExtendedInformation model) {
+ if (model.wasPropertyExplicitlySet("architecture")) {
+ this.architecture(model.getArchitecture());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CpuArchitectureTaskProfileExtendedInformation(Architecture architecture) {
+ super();
+ this.architecture = architecture;
+ }
+
+ /**
+ * Type of CPU architecture.
+ **/
+ public enum Architecture {
+ GenericX86("GENERIC_X86"),
+ GenericArm("GENERIC_ARM"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(Architecture.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Architecture v : Architecture.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Architecture(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Architecture create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Architecture', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * Type of CPU architecture.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("architecture")
+ private final Architecture architecture;
+
+ /**
+ * Type of CPU architecture.
+ * @return the value
+ **/
+ public Architecture getArchitecture() {
+ return architecture;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CpuArchitectureTaskProfileExtendedInformation(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", architecture=").append(String.valueOf(this.architecture));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CpuArchitectureTaskProfileExtendedInformation)) {
+ return false;
+ }
+
+ CpuArchitectureTaskProfileExtendedInformation other =
+ (CpuArchitectureTaskProfileExtendedInformation) o;
+ return java.util.Objects.equals(this.architecture, other.architecture)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.architecture == null ? 43 : this.architecture.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CpuFleetShapeExecutionDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CpuFleetShapeExecutionDetails.java
new file mode 100644
index 00000000000..486f23e42b1
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CpuFleetShapeExecutionDetails.java
@@ -0,0 +1,254 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Details about the CPU shape which was used for the task execution.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CpuFleetShapeExecutionDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CpuFleetShapeExecutionDetails extends FleetShapeExecutionDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Name of the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private String shapeName;
+
+ /**
+ * Name of the shape.
+ * @param shapeName the value to set
+ * @return this builder
+ **/
+ public Builder shapeName(String shapeName) {
+ this.shapeName = shapeName;
+ this.__explicitlySet__.add("shapeName");
+ return this;
+ }
+ /**
+ * Number of OCPUs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("ocpus")
+ private Integer ocpus;
+
+ /**
+ * Number of OCPUs provided by the shape.
+ * @param ocpus the value to set
+ * @return this builder
+ **/
+ public Builder ocpus(Integer ocpus) {
+ this.ocpus = ocpus;
+ this.__explicitlySet__.add("ocpus");
+ return this;
+ }
+ /**
+ * Amount of memory in GBs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs")
+ private Integer memoryInGBs;
+
+ /**
+ * Amount of memory in GBs provided by the shape.
+ * @param memoryInGBs the value to set
+ * @return this builder
+ **/
+ public Builder memoryInGBs(Integer memoryInGBs) {
+ this.memoryInGBs = memoryInGBs;
+ this.__explicitlySet__.add("memoryInGBs");
+ return this;
+ }
+ /**
+ * Amount of disk space provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private Integer diskSizeInGBs;
+
+ /**
+ * Amount of disk space provided by the shape.
+ * @param diskSizeInGBs the value to set
+ * @return this builder
+ **/
+ public Builder diskSizeInGBs(Integer diskSizeInGBs) {
+ this.diskSizeInGBs = diskSizeInGBs;
+ this.__explicitlySet__.add("diskSizeInGBs");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CpuFleetShapeExecutionDetails build() {
+ CpuFleetShapeExecutionDetails model =
+ new CpuFleetShapeExecutionDetails(
+ this.shapeName, this.ocpus, this.memoryInGBs, this.diskSizeInGBs);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CpuFleetShapeExecutionDetails model) {
+ if (model.wasPropertyExplicitlySet("shapeName")) {
+ this.shapeName(model.getShapeName());
+ }
+ if (model.wasPropertyExplicitlySet("ocpus")) {
+ this.ocpus(model.getOcpus());
+ }
+ if (model.wasPropertyExplicitlySet("memoryInGBs")) {
+ this.memoryInGBs(model.getMemoryInGBs());
+ }
+ if (model.wasPropertyExplicitlySet("diskSizeInGBs")) {
+ this.diskSizeInGBs(model.getDiskSizeInGBs());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CpuFleetShapeExecutionDetails(
+ String shapeName, Integer ocpus, Integer memoryInGBs, Integer diskSizeInGBs) {
+ super();
+ this.shapeName = shapeName;
+ this.ocpus = ocpus;
+ this.memoryInGBs = memoryInGBs;
+ this.diskSizeInGBs = diskSizeInGBs;
+ }
+
+ /**
+ * Name of the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private final String shapeName;
+
+ /**
+ * Name of the shape.
+ * @return the value
+ **/
+ public String getShapeName() {
+ return shapeName;
+ }
+
+ /**
+ * Number of OCPUs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("ocpus")
+ private final Integer ocpus;
+
+ /**
+ * Number of OCPUs provided by the shape.
+ * @return the value
+ **/
+ public Integer getOcpus() {
+ return ocpus;
+ }
+
+ /**
+ * Amount of memory in GBs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs")
+ private final Integer memoryInGBs;
+
+ /**
+ * Amount of memory in GBs provided by the shape.
+ * @return the value
+ **/
+ public Integer getMemoryInGBs() {
+ return memoryInGBs;
+ }
+
+ /**
+ * Amount of disk space provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private final Integer diskSizeInGBs;
+
+ /**
+ * Amount of disk space provided by the shape.
+ * @return the value
+ **/
+ public Integer getDiskSizeInGBs() {
+ return diskSizeInGBs;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CpuFleetShapeExecutionDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", shapeName=").append(String.valueOf(this.shapeName));
+ sb.append(", ocpus=").append(String.valueOf(this.ocpus));
+ sb.append(", memoryInGBs=").append(String.valueOf(this.memoryInGBs));
+ sb.append(", diskSizeInGBs=").append(String.valueOf(this.diskSizeInGBs));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CpuFleetShapeExecutionDetails)) {
+ return false;
+ }
+
+ CpuFleetShapeExecutionDetails other = (CpuFleetShapeExecutionDetails) o;
+ return java.util.Objects.equals(this.shapeName, other.shapeName)
+ && java.util.Objects.equals(this.ocpus, other.ocpus)
+ && java.util.Objects.equals(this.memoryInGBs, other.memoryInGBs)
+ && java.util.Objects.equals(this.diskSizeInGBs, other.diskSizeInGBs)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode());
+ result = (result * PRIME) + (this.ocpus == null ? 43 : this.ocpus.hashCode());
+ result = (result * PRIME) + (this.memoryInGBs == null ? 43 : this.memoryInGBs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.diskSizeInGBs == null ? 43 : this.diskSizeInGBs.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsAuthConfigurationDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CpuShapeTaskProfileExtendedInformation.java
similarity index 63%
rename from bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsAuthConfigurationDetails.java
rename to bmc-batch/src/main/java/com/oracle/bmc/batch/model/CpuShapeTaskProfileExtendedInformation.java
index 36557ded643..921f7225e27 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsAuthConfigurationDetails.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CpuShapeTaskProfileExtendedInformation.java
@@ -2,10 +2,10 @@
* Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
-package com.oracle.bmc.datascience.model;
+package com.oracle.bmc.batch.model;
/**
- * Configuration of IDCS AuthN/Z for online prediction
+ * Extended information for the CPU-specific task profile.
*
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
* that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
@@ -14,9 +14,9 @@
* {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
* (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
**/
-@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101")
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = CreateIdcsAuthConfigurationDetails.Builder.class
+ builder = CpuShapeTaskProfileExtendedInformation.Builder.class
)
@com.fasterxml.jackson.annotation.JsonTypeInfo(
use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
@@ -24,32 +24,33 @@
property = "type"
)
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
-public final class CreateIdcsAuthConfigurationDetails extends CreateAuthConfigurationDetails {
+public final class CpuShapeTaskProfileExtendedInformation
+ extends BatchTaskProfileExtendedInformation {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
/**
- * Identity Domain OCID
+ * A name of the CPU shape.
**/
- @com.fasterxml.jackson.annotation.JsonProperty("domainId")
- private String domainId;
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private String shapeName;
/**
- * Identity Domain OCID
- * @param domainId the value to set
+ * A name of the CPU shape.
+ * @param shapeName the value to set
* @return this builder
**/
- public Builder domainId(String domainId) {
- this.domainId = domainId;
- this.__explicitlySet__.add("domainId");
+ public Builder shapeName(String shapeName) {
+ this.shapeName = shapeName;
+ this.__explicitlySet__.add("shapeName");
return this;
}
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
- public CreateIdcsAuthConfigurationDetails build() {
- CreateIdcsAuthConfigurationDetails model =
- new CreateIdcsAuthConfigurationDetails(this.domainId);
+ public CpuShapeTaskProfileExtendedInformation build() {
+ CpuShapeTaskProfileExtendedInformation model =
+ new CpuShapeTaskProfileExtendedInformation(this.shapeName);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -57,9 +58,9 @@ public CreateIdcsAuthConfigurationDetails build() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(CreateIdcsAuthConfigurationDetails model) {
- if (model.wasPropertyExplicitlySet("domainId")) {
- this.domainId(model.getDomainId());
+ public Builder copy(CpuShapeTaskProfileExtendedInformation model) {
+ if (model.wasPropertyExplicitlySet("shapeName")) {
+ this.shapeName(model.getShapeName());
}
return this;
}
@@ -77,23 +78,23 @@ public Builder toBuilder() {
}
@Deprecated
- public CreateIdcsAuthConfigurationDetails(String domainId) {
+ public CpuShapeTaskProfileExtendedInformation(String shapeName) {
super();
- this.domainId = domainId;
+ this.shapeName = shapeName;
}
/**
- * Identity Domain OCID
+ * A name of the CPU shape.
**/
- @com.fasterxml.jackson.annotation.JsonProperty("domainId")
- private final String domainId;
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private final String shapeName;
/**
- * Identity Domain OCID
+ * A name of the CPU shape.
* @return the value
**/
- public String getDomainId() {
- return domainId;
+ public String getShapeName() {
+ return shapeName;
}
@Override
@@ -108,9 +109,9 @@ public String toString() {
*/
public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
- sb.append("CreateIdcsAuthConfigurationDetails(");
+ sb.append("CpuShapeTaskProfileExtendedInformation(");
sb.append("super=").append(super.toString(includeByteArrayContents));
- sb.append(", domainId=").append(String.valueOf(this.domainId));
+ sb.append(", shapeName=").append(String.valueOf(this.shapeName));
sb.append(")");
return sb.toString();
}
@@ -120,19 +121,19 @@ public boolean equals(Object o) {
if (this == o) {
return true;
}
- if (!(o instanceof CreateIdcsAuthConfigurationDetails)) {
+ if (!(o instanceof CpuShapeTaskProfileExtendedInformation)) {
return false;
}
- CreateIdcsAuthConfigurationDetails other = (CreateIdcsAuthConfigurationDetails) o;
- return java.util.Objects.equals(this.domainId, other.domainId) && super.equals(other);
+ CpuShapeTaskProfileExtendedInformation other = (CpuShapeTaskProfileExtendedInformation) o;
+ return java.util.Objects.equals(this.shapeName, other.shapeName) && super.equals(other);
}
@Override
public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
- result = (result * PRIME) + (this.domainId == null ? 43 : this.domainId.hashCode());
+ result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode());
return result;
}
}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskDetails.java
index d6bebad3a5e..a79ed2fa2d8 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskDetails.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskDetails.java
@@ -25,6 +25,10 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateComputeTaskDetails.class,
name = "COMPUTE"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateGroupTaskDetails.class,
+ name = "GROUP"
)
})
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
@@ -94,13 +98,13 @@ public java.util.List getEntitlementClaims() {
}
/**
- * A list of tasks from the same job this task depends on referenced by name.
+ * A list of tasks on which this tasks depends, referenced by name. Dependencies must be within the same parent (job or group task). For tasks within a group task, all dependencies must also be within that same group task.
**/
@com.fasterxml.jackson.annotation.JsonProperty("dependencies")
private final java.util.List dependencies;
/**
- * A list of tasks from the same job this task depends on referenced by name.
+ * A list of tasks on which this tasks depends, referenced by name. Dependencies must be within the same parent (job or group task). For tasks within a group task, all dependencies must also be within that same group task.
* @return the value
**/
public java.util.List getDependencies() {
@@ -186,6 +190,7 @@ public int hashCode() {
**/
public enum Type {
Compute("COMPUTE"),
+ Group("GROUP"),
;
private final String value;
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskProfileDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskProfileDetails.java
index 6e2f9eb9d84..b97a7ecda1f 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskProfileDetails.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskProfileDetails.java
@@ -30,6 +30,8 @@ public final class CreateBatchTaskProfileDetails
"description",
"minOcpus",
"minMemoryInGBs",
+ "minDiskSizeInGBs",
+ "extendedInformation",
"definedTags",
"freeformTags"
})
@@ -39,6 +41,8 @@ public CreateBatchTaskProfileDetails(
String description,
Integer minOcpus,
Integer minMemoryInGBs,
+ Integer minDiskSizeInGBs,
+ CreateBatchTaskProfileExtendedInformationDetails extendedInformation,
java.util.Map> definedTags,
java.util.Map freeformTags) {
super();
@@ -47,6 +51,8 @@ public CreateBatchTaskProfileDetails(
this.description = description;
this.minOcpus = minOcpus;
this.minMemoryInGBs = minMemoryInGBs;
+ this.minDiskSizeInGBs = minDiskSizeInGBs;
+ this.extendedInformation = extendedInformation;
this.definedTags = definedTags;
this.freeformTags = freeformTags;
}
@@ -137,6 +143,32 @@ public Builder minMemoryInGBs(Integer minMemoryInGBs) {
this.__explicitlySet__.add("minMemoryInGBs");
return this;
}
+ /**
+ * The minimum required size of disk space in GBs.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("minDiskSizeInGBs")
+ private Integer minDiskSizeInGBs;
+
+ /**
+ * The minimum required size of disk space in GBs.
+ * @param minDiskSizeInGBs the value to set
+ * @return this builder
+ **/
+ public Builder minDiskSizeInGBs(Integer minDiskSizeInGBs) {
+ this.minDiskSizeInGBs = minDiskSizeInGBs;
+ this.__explicitlySet__.add("minDiskSizeInGBs");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("extendedInformation")
+ private CreateBatchTaskProfileExtendedInformationDetails extendedInformation;
+
+ public Builder extendedInformation(
+ CreateBatchTaskProfileExtendedInformationDetails extendedInformation) {
+ this.extendedInformation = extendedInformation;
+ this.__explicitlySet__.add("extendedInformation");
+ return this;
+ }
/**
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
@@ -198,6 +230,8 @@ public CreateBatchTaskProfileDetails build() {
this.description,
this.minOcpus,
this.minMemoryInGBs,
+ this.minDiskSizeInGBs,
+ this.extendedInformation,
this.definedTags,
this.freeformTags);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -223,6 +257,12 @@ public Builder copy(CreateBatchTaskProfileDetails model) {
if (model.wasPropertyExplicitlySet("minMemoryInGBs")) {
this.minMemoryInGBs(model.getMinMemoryInGBs());
}
+ if (model.wasPropertyExplicitlySet("minDiskSizeInGBs")) {
+ this.minDiskSizeInGBs(model.getMinDiskSizeInGBs());
+ }
+ if (model.wasPropertyExplicitlySet("extendedInformation")) {
+ this.extendedInformation(model.getExtendedInformation());
+ }
if (model.wasPropertyExplicitlySet("definedTags")) {
this.definedTags(model.getDefinedTags());
}
@@ -318,6 +358,27 @@ public Integer getMinMemoryInGBs() {
return minMemoryInGBs;
}
+ /**
+ * The minimum required size of disk space in GBs.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("minDiskSizeInGBs")
+ private final Integer minDiskSizeInGBs;
+
+ /**
+ * The minimum required size of disk space in GBs.
+ * @return the value
+ **/
+ public Integer getMinDiskSizeInGBs() {
+ return minDiskSizeInGBs;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("extendedInformation")
+ private final CreateBatchTaskProfileExtendedInformationDetails extendedInformation;
+
+ public CreateBatchTaskProfileExtendedInformationDetails getExtendedInformation() {
+ return extendedInformation;
+ }
+
/**
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
@@ -381,6 +442,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", description=").append(String.valueOf(this.description));
sb.append(", minOcpus=").append(String.valueOf(this.minOcpus));
sb.append(", minMemoryInGBs=").append(String.valueOf(this.minMemoryInGBs));
+ sb.append(", minDiskSizeInGBs=").append(String.valueOf(this.minDiskSizeInGBs));
+ sb.append(", extendedInformation=").append(String.valueOf(this.extendedInformation));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(")");
@@ -402,6 +465,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.description, other.description)
&& java.util.Objects.equals(this.minOcpus, other.minOcpus)
&& java.util.Objects.equals(this.minMemoryInGBs, other.minMemoryInGBs)
+ && java.util.Objects.equals(this.minDiskSizeInGBs, other.minDiskSizeInGBs)
+ && java.util.Objects.equals(this.extendedInformation, other.extendedInformation)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& super.equals(other);
@@ -420,6 +485,14 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.minMemoryInGBs == null ? 43 : this.minMemoryInGBs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.minDiskSizeInGBs == null ? 43 : this.minDiskSizeInGBs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.extendedInformation == null
+ ? 43
+ : this.extendedInformation.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + super.hashCode();
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskProfileExtendedInformationDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskProfileExtendedInformationDetails.java
new file mode 100644
index 00000000000..169bdeba1c5
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateBatchTaskProfileExtendedInformationDetails.java
@@ -0,0 +1,124 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Extended information for the task profile.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = CreateBatchTaskProfileExtendedInformationDetails.class
+)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateGpuShapeTaskProfileExtendedInformationDetails.class,
+ name = "GPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateCpuShapeTaskProfileExtendedInformationDetails.class,
+ name = "CPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateCpuArchitectureTaskProfileExtendedInformationDetails.class,
+ name = "CPU_ARCHITECTURE_TASK_PROFILE_EXTENDED_INFORMATION"
+ )
+})
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class CreateBatchTaskProfileExtendedInformationDetails
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected CreateBatchTaskProfileExtendedInformationDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CreateBatchTaskProfileExtendedInformationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateBatchTaskProfileExtendedInformationDetails)) {
+ return false;
+ }
+
+ CreateBatchTaskProfileExtendedInformationDetails other =
+ (CreateBatchTaskProfileExtendedInformationDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /**
+ * Type of extended information.
+ **/
+ public enum Type {
+ CpuArchitectureTaskProfileExtendedInformation(
+ "CPU_ARCHITECTURE_TASK_PROFILE_EXTENDED_INFORMATION"),
+ CpuShapeTaskProfileExtendedInformation("CPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION"),
+ GpuShapeTaskProfileExtendedInformation("GPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Type: " + key);
+ }
+ };
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateCpuArchitectureTaskProfileExtendedInformationDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateCpuArchitectureTaskProfileExtendedInformationDetails.java
new file mode 100644
index 00000000000..4326d73be54
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateCpuArchitectureTaskProfileExtendedInformationDetails.java
@@ -0,0 +1,177 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Extended information about CPU architecture for the task profile.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateCpuArchitectureTaskProfileExtendedInformationDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateCpuArchitectureTaskProfileExtendedInformationDetails
+ extends CreateBatchTaskProfileExtendedInformationDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Type of CPU architecture.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("architecture")
+ private Architecture architecture;
+
+ /**
+ * Type of CPU architecture.
+ * @param architecture the value to set
+ * @return this builder
+ **/
+ public Builder architecture(Architecture architecture) {
+ this.architecture = architecture;
+ this.__explicitlySet__.add("architecture");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateCpuArchitectureTaskProfileExtendedInformationDetails build() {
+ CreateCpuArchitectureTaskProfileExtendedInformationDetails model =
+ new CreateCpuArchitectureTaskProfileExtendedInformationDetails(
+ this.architecture);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateCpuArchitectureTaskProfileExtendedInformationDetails model) {
+ if (model.wasPropertyExplicitlySet("architecture")) {
+ this.architecture(model.getArchitecture());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateCpuArchitectureTaskProfileExtendedInformationDetails(Architecture architecture) {
+ super();
+ this.architecture = architecture;
+ }
+
+ /**
+ * Type of CPU architecture.
+ **/
+ public enum Architecture {
+ GenericX86("GENERIC_X86"),
+ GenericArm("GENERIC_ARM"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Architecture v : Architecture.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Architecture(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Architecture create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Architecture: " + key);
+ }
+ };
+ /**
+ * Type of CPU architecture.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("architecture")
+ private final Architecture architecture;
+
+ /**
+ * Type of CPU architecture.
+ * @return the value
+ **/
+ public Architecture getArchitecture() {
+ return architecture;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CreateCpuArchitectureTaskProfileExtendedInformationDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", architecture=").append(String.valueOf(this.architecture));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateCpuArchitectureTaskProfileExtendedInformationDetails)) {
+ return false;
+ }
+
+ CreateCpuArchitectureTaskProfileExtendedInformationDetails other =
+ (CreateCpuArchitectureTaskProfileExtendedInformationDetails) o;
+ return java.util.Objects.equals(this.architecture, other.architecture)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.architecture == null ? 43 : this.architecture.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateCpuShapeTaskProfileExtendedInformationDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateCpuShapeTaskProfileExtendedInformationDetails.java
new file mode 100644
index 00000000000..8e71a45bdd2
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateCpuShapeTaskProfileExtendedInformationDetails.java
@@ -0,0 +1,140 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Extended information for the CPU-specific task profile.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateCpuShapeTaskProfileExtendedInformationDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateCpuShapeTaskProfileExtendedInformationDetails
+ extends CreateBatchTaskProfileExtendedInformationDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * A name of the CPU shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private String shapeName;
+
+ /**
+ * A name of the CPU shape.
+ * @param shapeName the value to set
+ * @return this builder
+ **/
+ public Builder shapeName(String shapeName) {
+ this.shapeName = shapeName;
+ this.__explicitlySet__.add("shapeName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateCpuShapeTaskProfileExtendedInformationDetails build() {
+ CreateCpuShapeTaskProfileExtendedInformationDetails model =
+ new CreateCpuShapeTaskProfileExtendedInformationDetails(this.shapeName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateCpuShapeTaskProfileExtendedInformationDetails model) {
+ if (model.wasPropertyExplicitlySet("shapeName")) {
+ this.shapeName(model.getShapeName());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateCpuShapeTaskProfileExtendedInformationDetails(String shapeName) {
+ super();
+ this.shapeName = shapeName;
+ }
+
+ /**
+ * A name of the CPU shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private final String shapeName;
+
+ /**
+ * A name of the CPU shape.
+ * @return the value
+ **/
+ public String getShapeName() {
+ return shapeName;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CreateCpuShapeTaskProfileExtendedInformationDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", shapeName=").append(String.valueOf(this.shapeName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateCpuShapeTaskProfileExtendedInformationDetails)) {
+ return false;
+ }
+
+ CreateCpuShapeTaskProfileExtendedInformationDetails other =
+ (CreateCpuShapeTaskProfileExtendedInformationDetails) o;
+ return java.util.Objects.equals(this.shapeName, other.shapeName) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateFixedGpuFleetShapeDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateFixedGpuFleetShapeDetails.java
new file mode 100644
index 00000000000..55cdddef18d
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateFixedGpuFleetShapeDetails.java
@@ -0,0 +1,178 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Fixed shape of the GPU fleet. Describes hardware resources of each node in the fleet.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateFixedGpuFleetShapeDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateFixedGpuFleetShapeDetails extends CreateGpuFleetShapeDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * The name of the fixed GPU fleet shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private String shapeName;
+
+ /**
+ * The name of the fixed GPU fleet shape.
+ * @param shapeName the value to set
+ * @return this builder
+ **/
+ public Builder shapeName(String shapeName) {
+ this.shapeName = shapeName;
+ this.__explicitlySet__.add("shapeName");
+ return this;
+ }
+ /**
+ * Amount of disk space in GBs required for the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private Integer diskSizeInGBs;
+
+ /**
+ * Amount of disk space in GBs required for the shape.
+ * @param diskSizeInGBs the value to set
+ * @return this builder
+ **/
+ public Builder diskSizeInGBs(Integer diskSizeInGBs) {
+ this.diskSizeInGBs = diskSizeInGBs;
+ this.__explicitlySet__.add("diskSizeInGBs");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateFixedGpuFleetShapeDetails build() {
+ CreateFixedGpuFleetShapeDetails model =
+ new CreateFixedGpuFleetShapeDetails(this.shapeName, this.diskSizeInGBs);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateFixedGpuFleetShapeDetails model) {
+ if (model.wasPropertyExplicitlySet("shapeName")) {
+ this.shapeName(model.getShapeName());
+ }
+ if (model.wasPropertyExplicitlySet("diskSizeInGBs")) {
+ this.diskSizeInGBs(model.getDiskSizeInGBs());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateFixedGpuFleetShapeDetails(String shapeName, Integer diskSizeInGBs) {
+ super();
+ this.shapeName = shapeName;
+ this.diskSizeInGBs = diskSizeInGBs;
+ }
+
+ /**
+ * The name of the fixed GPU fleet shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private final String shapeName;
+
+ /**
+ * The name of the fixed GPU fleet shape.
+ * @return the value
+ **/
+ public String getShapeName() {
+ return shapeName;
+ }
+
+ /**
+ * Amount of disk space in GBs required for the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private final Integer diskSizeInGBs;
+
+ /**
+ * Amount of disk space in GBs required for the shape.
+ * @return the value
+ **/
+ public Integer getDiskSizeInGBs() {
+ return diskSizeInGBs;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CreateFixedGpuFleetShapeDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", shapeName=").append(String.valueOf(this.shapeName));
+ sb.append(", diskSizeInGBs=").append(String.valueOf(this.diskSizeInGBs));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateFixedGpuFleetShapeDetails)) {
+ return false;
+ }
+
+ CreateFixedGpuFleetShapeDetails other = (CreateFixedGpuFleetShapeDetails) o;
+ return java.util.Objects.equals(this.shapeName, other.shapeName)
+ && java.util.Objects.equals(this.diskSizeInGBs, other.diskSizeInGBs)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.diskSizeInGBs == null ? 43 : this.diskSizeInGBs.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateFleetDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateFleetDetails.java
index f8706e7d44a..66bf08d6b57 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateFleetDetails.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateFleetDetails.java
@@ -22,6 +22,10 @@
defaultImpl = CreateFleetDetails.class
)
@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateServiceManagedGpuFleetDetails.class,
+ name = "SERVICE_MANAGED_GPU_FLEET"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateServiceManagedFleetDetails.class,
name = "SERVICE_MANAGED_FLEET"
@@ -79,6 +83,7 @@ public int hashCode() {
**/
public enum Type {
ServiceManagedFleet("SERVICE_MANAGED_FLEET"),
+ ServiceManagedGpuFleet("SERVICE_MANAGED_GPU_FLEET"),
;
private final String value;
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateGpuFleetShapeDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateGpuFleetShapeDetails.java
new file mode 100644
index 00000000000..3f4c2aeda11
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateGpuFleetShapeDetails.java
@@ -0,0 +1,111 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Shape of the GPU fleet. Describes hardware resources of each node in the fleet.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = CreateGpuFleetShapeDetails.class
+)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateFixedGpuFleetShapeDetails.class,
+ name = "FIXED_GPU_FLEET_SHAPE"
+ )
+})
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class CreateGpuFleetShapeDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected CreateGpuFleetShapeDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CreateGpuFleetShapeDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateGpuFleetShapeDetails)) {
+ return false;
+ }
+
+ CreateGpuFleetShapeDetails other = (CreateGpuFleetShapeDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /**
+ * Type of the GPU fleet shape. Also serves as a discriminator for sub-entities.
+ **/
+ public enum Type {
+ FixedGpuFleetShape("FIXED_GPU_FLEET_SHAPE"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Type: " + key);
+ }
+ };
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateGpuShapeTaskProfileExtendedInformationDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateGpuShapeTaskProfileExtendedInformationDetails.java
new file mode 100644
index 00000000000..83fe4f30946
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateGpuShapeTaskProfileExtendedInformationDetails.java
@@ -0,0 +1,140 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Extended information for the GPU-specific task profile.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateGpuShapeTaskProfileExtendedInformationDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateGpuShapeTaskProfileExtendedInformationDetails
+ extends CreateBatchTaskProfileExtendedInformationDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * A name of the GPU shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private String shapeName;
+
+ /**
+ * A name of the GPU shape.
+ * @param shapeName the value to set
+ * @return this builder
+ **/
+ public Builder shapeName(String shapeName) {
+ this.shapeName = shapeName;
+ this.__explicitlySet__.add("shapeName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateGpuShapeTaskProfileExtendedInformationDetails build() {
+ CreateGpuShapeTaskProfileExtendedInformationDetails model =
+ new CreateGpuShapeTaskProfileExtendedInformationDetails(this.shapeName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateGpuShapeTaskProfileExtendedInformationDetails model) {
+ if (model.wasPropertyExplicitlySet("shapeName")) {
+ this.shapeName(model.getShapeName());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateGpuShapeTaskProfileExtendedInformationDetails(String shapeName) {
+ super();
+ this.shapeName = shapeName;
+ }
+
+ /**
+ * A name of the GPU shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private final String shapeName;
+
+ /**
+ * A name of the GPU shape.
+ * @return the value
+ **/
+ public String getShapeName() {
+ return shapeName;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CreateGpuShapeTaskProfileExtendedInformationDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", shapeName=").append(String.valueOf(this.shapeName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateGpuShapeTaskProfileExtendedInformationDetails)) {
+ return false;
+ }
+
+ CreateGpuShapeTaskProfileExtendedInformationDetails other =
+ (CreateGpuShapeTaskProfileExtendedInformationDetails) o;
+ return java.util.Objects.equals(this.shapeName, other.shapeName) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateGroupTaskDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateGroupTaskDetails.java
new file mode 100644
index 00000000000..c2daa8cb9a0
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateGroupTaskDetails.java
@@ -0,0 +1,210 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Group task is a construct that represents a container of tasks for execution.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateGroupTaskDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateGroupTaskDetails extends CreateBatchTaskDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("name")
+ private String name;
+
+ public Builder name(String name) {
+ this.name = name;
+ this.__explicitlySet__.add("name");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("description")
+ private String description;
+
+ public Builder description(String description) {
+ this.description = description;
+ this.__explicitlySet__.add("description");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("entitlementClaims")
+ private java.util.List entitlementClaims;
+
+ public Builder entitlementClaims(java.util.List entitlementClaims) {
+ this.entitlementClaims = entitlementClaims;
+ this.__explicitlySet__.add("entitlementClaims");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dependencies")
+ private java.util.List dependencies;
+
+ public Builder dependencies(java.util.List dependencies) {
+ this.dependencies = dependencies;
+ this.__explicitlySet__.add("dependencies");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentVariables")
+ private java.util.List environmentVariables;
+
+ public Builder environmentVariables(
+ java.util.List environmentVariables) {
+ this.environmentVariables = environmentVariables;
+ this.__explicitlySet__.add("environmentVariables");
+ return this;
+ }
+ /**
+ * A list of tasks to be executed within this group task.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("tasks")
+ private java.util.List tasks;
+
+ /**
+ * A list of tasks to be executed within this group task.
+ * @param tasks the value to set
+ * @return this builder
+ **/
+ public Builder tasks(java.util.List tasks) {
+ this.tasks = tasks;
+ this.__explicitlySet__.add("tasks");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateGroupTaskDetails build() {
+ CreateGroupTaskDetails model =
+ new CreateGroupTaskDetails(
+ this.name,
+ this.description,
+ this.entitlementClaims,
+ this.dependencies,
+ this.environmentVariables,
+ this.tasks);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateGroupTaskDetails model) {
+ if (model.wasPropertyExplicitlySet("name")) {
+ this.name(model.getName());
+ }
+ if (model.wasPropertyExplicitlySet("description")) {
+ this.description(model.getDescription());
+ }
+ if (model.wasPropertyExplicitlySet("entitlementClaims")) {
+ this.entitlementClaims(model.getEntitlementClaims());
+ }
+ if (model.wasPropertyExplicitlySet("dependencies")) {
+ this.dependencies(model.getDependencies());
+ }
+ if (model.wasPropertyExplicitlySet("environmentVariables")) {
+ this.environmentVariables(model.getEnvironmentVariables());
+ }
+ if (model.wasPropertyExplicitlySet("tasks")) {
+ this.tasks(model.getTasks());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateGroupTaskDetails(
+ String name,
+ String description,
+ java.util.List entitlementClaims,
+ java.util.List dependencies,
+ java.util.List environmentVariables,
+ java.util.List tasks) {
+ super(name, description, entitlementClaims, dependencies, environmentVariables);
+ this.tasks = tasks;
+ }
+
+ /**
+ * A list of tasks to be executed within this group task.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("tasks")
+ private final java.util.List tasks;
+
+ /**
+ * A list of tasks to be executed within this group task.
+ * @return the value
+ **/
+ public java.util.List getTasks() {
+ return tasks;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CreateGroupTaskDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", tasks=").append(String.valueOf(this.tasks));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateGroupTaskDetails)) {
+ return false;
+ }
+
+ CreateGroupTaskDetails other = (CreateGroupTaskDetails) o;
+ return java.util.Objects.equals(this.tasks, other.tasks) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.tasks == null ? 43 : this.tasks.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedGpuFleetDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedGpuFleetDetails.java
new file mode 100644
index 00000000000..f969406d61f
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/CreateServiceManagedGpuFleetDetails.java
@@ -0,0 +1,205 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Service managed GPU Fleet configuration of the batch context.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateServiceManagedGpuFleetDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateServiceManagedGpuFleetDetails extends CreateFleetDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Name of the service managed GPU fleet.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("name")
+ private String name;
+
+ /**
+ * Name of the service managed GPU fleet.
+ * @param name the value to set
+ * @return this builder
+ **/
+ public Builder name(String name) {
+ this.name = name;
+ this.__explicitlySet__.add("name");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("shape")
+ private CreateGpuFleetShapeDetails shape;
+
+ public Builder shape(CreateGpuFleetShapeDetails shape) {
+ this.shape = shape;
+ this.__explicitlySet__.add("shape");
+ return this;
+ }
+ /**
+ * Maximum number of concurrent tasks for the service managed GPU fleet.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("maxConcurrentTasks")
+ private Integer maxConcurrentTasks;
+
+ /**
+ * Maximum number of concurrent tasks for the service managed GPU fleet.
+ * @param maxConcurrentTasks the value to set
+ * @return this builder
+ **/
+ public Builder maxConcurrentTasks(Integer maxConcurrentTasks) {
+ this.maxConcurrentTasks = maxConcurrentTasks;
+ this.__explicitlySet__.add("maxConcurrentTasks");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateServiceManagedGpuFleetDetails build() {
+ CreateServiceManagedGpuFleetDetails model =
+ new CreateServiceManagedGpuFleetDetails(
+ this.name, this.shape, this.maxConcurrentTasks);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateServiceManagedGpuFleetDetails model) {
+ if (model.wasPropertyExplicitlySet("name")) {
+ this.name(model.getName());
+ }
+ if (model.wasPropertyExplicitlySet("shape")) {
+ this.shape(model.getShape());
+ }
+ if (model.wasPropertyExplicitlySet("maxConcurrentTasks")) {
+ this.maxConcurrentTasks(model.getMaxConcurrentTasks());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateServiceManagedGpuFleetDetails(
+ String name, CreateGpuFleetShapeDetails shape, Integer maxConcurrentTasks) {
+ super();
+ this.name = name;
+ this.shape = shape;
+ this.maxConcurrentTasks = maxConcurrentTasks;
+ }
+
+ /**
+ * Name of the service managed GPU fleet.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("name")
+ private final String name;
+
+ /**
+ * Name of the service managed GPU fleet.
+ * @return the value
+ **/
+ public String getName() {
+ return name;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("shape")
+ private final CreateGpuFleetShapeDetails shape;
+
+ public CreateGpuFleetShapeDetails getShape() {
+ return shape;
+ }
+
+ /**
+ * Maximum number of concurrent tasks for the service managed GPU fleet.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("maxConcurrentTasks")
+ private final Integer maxConcurrentTasks;
+
+ /**
+ * Maximum number of concurrent tasks for the service managed GPU fleet.
+ * @return the value
+ **/
+ public Integer getMaxConcurrentTasks() {
+ return maxConcurrentTasks;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CreateServiceManagedGpuFleetDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", name=").append(String.valueOf(this.name));
+ sb.append(", shape=").append(String.valueOf(this.shape));
+ sb.append(", maxConcurrentTasks=").append(String.valueOf(this.maxConcurrentTasks));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateServiceManagedGpuFleetDetails)) {
+ return false;
+ }
+
+ CreateServiceManagedGpuFleetDetails other = (CreateServiceManagedGpuFleetDetails) o;
+ return java.util.Objects.equals(this.name, other.name)
+ && java.util.Objects.equals(this.shape, other.shape)
+ && java.util.Objects.equals(this.maxConcurrentTasks, other.maxConcurrentTasks)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode());
+ result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode());
+ result =
+ (result * PRIME)
+ + (this.maxConcurrentTasks == null
+ ? 43
+ : this.maxConcurrentTasks.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsAuthConfiguration.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/FixedGpuFleetShape.java
similarity index 55%
rename from bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsAuthConfiguration.java
rename to bmc-batch/src/main/java/com/oracle/bmc/batch/model/FixedGpuFleetShape.java
index 7bb6872408b..e516b7b5d52 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsAuthConfiguration.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/FixedGpuFleetShape.java
@@ -2,10 +2,10 @@
* Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
-package com.oracle.bmc.datascience.model;
+package com.oracle.bmc.batch.model;
/**
- * Configuration of IDCS AuthN/Z for online prediction
+ * Fixed shape of the GPU fleet. Describes hardware resources of each node in the fleet.
*
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
* that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
@@ -14,9 +14,9 @@
* {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
* (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
**/
-@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101")
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
- builder = IdcsAuthConfiguration.Builder.class
+ builder = FixedGpuFleetShape.Builder.class
)
@com.fasterxml.jackson.annotation.JsonTypeInfo(
use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
@@ -24,48 +24,47 @@
property = "type"
)
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
-public final class IdcsAuthConfiguration extends AuthConfiguration {
+public final class FixedGpuFleetShape extends GpuFleetShape {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
/**
- * Identity Domain OCID
+ * The name of the fixed GPU fleet shape.
**/
- @com.fasterxml.jackson.annotation.JsonProperty("domainId")
- private String domainId;
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private String shapeName;
/**
- * Identity Domain OCID
- * @param domainId the value to set
+ * The name of the fixed GPU fleet shape.
+ * @param shapeName the value to set
* @return this builder
**/
- public Builder domainId(String domainId) {
- this.domainId = domainId;
- this.__explicitlySet__.add("domainId");
+ public Builder shapeName(String shapeName) {
+ this.shapeName = shapeName;
+ this.__explicitlySet__.add("shapeName");
return this;
}
/**
- * Name of the IDCS application
+ * Amount of disk space in GBs required for the shape.
**/
- @com.fasterxml.jackson.annotation.JsonProperty("applicationName")
- private String applicationName;
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private Integer diskSizeInGBs;
/**
- * Name of the IDCS application
- * @param applicationName the value to set
+ * Amount of disk space in GBs required for the shape.
+ * @param diskSizeInGBs the value to set
* @return this builder
**/
- public Builder applicationName(String applicationName) {
- this.applicationName = applicationName;
- this.__explicitlySet__.add("applicationName");
+ public Builder diskSizeInGBs(Integer diskSizeInGBs) {
+ this.diskSizeInGBs = diskSizeInGBs;
+ this.__explicitlySet__.add("diskSizeInGBs");
return this;
}
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
- public IdcsAuthConfiguration build() {
- IdcsAuthConfiguration model =
- new IdcsAuthConfiguration(this.domainId, this.applicationName);
+ public FixedGpuFleetShape build() {
+ FixedGpuFleetShape model = new FixedGpuFleetShape(this.shapeName, this.diskSizeInGBs);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -73,12 +72,12 @@ public IdcsAuthConfiguration build() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
- public Builder copy(IdcsAuthConfiguration model) {
- if (model.wasPropertyExplicitlySet("domainId")) {
- this.domainId(model.getDomainId());
+ public Builder copy(FixedGpuFleetShape model) {
+ if (model.wasPropertyExplicitlySet("shapeName")) {
+ this.shapeName(model.getShapeName());
}
- if (model.wasPropertyExplicitlySet("applicationName")) {
- this.applicationName(model.getApplicationName());
+ if (model.wasPropertyExplicitlySet("diskSizeInGBs")) {
+ this.diskSizeInGBs(model.getDiskSizeInGBs());
}
return this;
}
@@ -96,38 +95,38 @@ public Builder toBuilder() {
}
@Deprecated
- public IdcsAuthConfiguration(String domainId, String applicationName) {
+ public FixedGpuFleetShape(String shapeName, Integer diskSizeInGBs) {
super();
- this.domainId = domainId;
- this.applicationName = applicationName;
+ this.shapeName = shapeName;
+ this.diskSizeInGBs = diskSizeInGBs;
}
/**
- * Identity Domain OCID
+ * The name of the fixed GPU fleet shape.
**/
- @com.fasterxml.jackson.annotation.JsonProperty("domainId")
- private final String domainId;
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private final String shapeName;
/**
- * Identity Domain OCID
+ * The name of the fixed GPU fleet shape.
* @return the value
**/
- public String getDomainId() {
- return domainId;
+ public String getShapeName() {
+ return shapeName;
}
/**
- * Name of the IDCS application
+ * Amount of disk space in GBs required for the shape.
**/
- @com.fasterxml.jackson.annotation.JsonProperty("applicationName")
- private final String applicationName;
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private final Integer diskSizeInGBs;
/**
- * Name of the IDCS application
+ * Amount of disk space in GBs required for the shape.
* @return the value
**/
- public String getApplicationName() {
- return applicationName;
+ public Integer getDiskSizeInGBs() {
+ return diskSizeInGBs;
}
@Override
@@ -142,10 +141,10 @@ public String toString() {
*/
public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
- sb.append("IdcsAuthConfiguration(");
+ sb.append("FixedGpuFleetShape(");
sb.append("super=").append(super.toString(includeByteArrayContents));
- sb.append(", domainId=").append(String.valueOf(this.domainId));
- sb.append(", applicationName=").append(String.valueOf(this.applicationName));
+ sb.append(", shapeName=").append(String.valueOf(this.shapeName));
+ sb.append(", diskSizeInGBs=").append(String.valueOf(this.diskSizeInGBs));
sb.append(")");
return sb.toString();
}
@@ -155,13 +154,13 @@ public boolean equals(Object o) {
if (this == o) {
return true;
}
- if (!(o instanceof IdcsAuthConfiguration)) {
+ if (!(o instanceof FixedGpuFleetShape)) {
return false;
}
- IdcsAuthConfiguration other = (IdcsAuthConfiguration) o;
- return java.util.Objects.equals(this.domainId, other.domainId)
- && java.util.Objects.equals(this.applicationName, other.applicationName)
+ FixedGpuFleetShape other = (FixedGpuFleetShape) o;
+ return java.util.Objects.equals(this.shapeName, other.shapeName)
+ && java.util.Objects.equals(this.diskSizeInGBs, other.diskSizeInGBs)
&& super.equals(other);
}
@@ -169,10 +168,10 @@ public boolean equals(Object o) {
public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
- result = (result * PRIME) + (this.domainId == null ? 43 : this.domainId.hashCode());
+ result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode());
result =
(result * PRIME)
- + (this.applicationName == null ? 43 : this.applicationName.hashCode());
+ + (this.diskSizeInGBs == null ? 43 : this.diskSizeInGBs.hashCode());
return result;
}
}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/Fleet.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/Fleet.java
index b6e409eb932..4ab80e6fba2 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/Fleet.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/Fleet.java
@@ -25,6 +25,10 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = ServiceManagedFleet.class,
name = "SERVICE_MANAGED_FLEET"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = ServiceManagedGpuFleet.class,
+ name = "SERVICE_MANAGED_GPU_FLEET"
)
})
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
@@ -79,6 +83,7 @@ public int hashCode() {
**/
public enum Type {
ServiceManagedFleet("SERVICE_MANAGED_FLEET"),
+ ServiceManagedGpuFleet("SERVICE_MANAGED_GPU_FLEET"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/FleetShape.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/FleetShape.java
index f6686dbe066..8ca5b11f9d7 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/FleetShape.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/FleetShape.java
@@ -19,12 +19,13 @@
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class FleetShape extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"shapeName", "ocpus", "memoryInGBs"})
- public FleetShape(String shapeName, Integer ocpus, Integer memoryInGBs) {
+ @java.beans.ConstructorProperties({"shapeName", "ocpus", "memoryInGBs", "diskSizeInGBs"})
+ public FleetShape(String shapeName, Integer ocpus, Integer memoryInGBs, Integer diskSizeInGBs) {
super();
this.shapeName = shapeName;
this.ocpus = ocpus;
this.memoryInGBs = memoryInGBs;
+ this.diskSizeInGBs = diskSizeInGBs;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -46,13 +47,13 @@ public Builder shapeName(String shapeName) {
return this;
}
/**
- * Number of OCPUs required by the shape.
+ * Number of OCPUs required for the shape.
**/
@com.fasterxml.jackson.annotation.JsonProperty("ocpus")
private Integer ocpus;
/**
- * Number of OCPUs required by the shape.
+ * Number of OCPUs required for the shape.
* @param ocpus the value to set
* @return this builder
**/
@@ -62,13 +63,13 @@ public Builder ocpus(Integer ocpus) {
return this;
}
/**
- * Amount of memory in GBs required by the shape.
+ * Amount of memory in GBs required for the shape.
**/
@com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs")
private Integer memoryInGBs;
/**
- * Amount of memory in GBs required by the shape.
+ * Amount of memory in GBs required for the shape.
* @param memoryInGBs the value to set
* @return this builder
**/
@@ -77,12 +78,30 @@ public Builder memoryInGBs(Integer memoryInGBs) {
this.__explicitlySet__.add("memoryInGBs");
return this;
}
+ /**
+ * Amount of disk space in GBs required for the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private Integer diskSizeInGBs;
+
+ /**
+ * Amount of disk space in GBs required for the shape.
+ * @param diskSizeInGBs the value to set
+ * @return this builder
+ **/
+ public Builder diskSizeInGBs(Integer diskSizeInGBs) {
+ this.diskSizeInGBs = diskSizeInGBs;
+ this.__explicitlySet__.add("diskSizeInGBs");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public FleetShape build() {
- FleetShape model = new FleetShape(this.shapeName, this.ocpus, this.memoryInGBs);
+ FleetShape model =
+ new FleetShape(
+ this.shapeName, this.ocpus, this.memoryInGBs, this.diskSizeInGBs);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -100,6 +119,9 @@ public Builder copy(FleetShape model) {
if (model.wasPropertyExplicitlySet("memoryInGBs")) {
this.memoryInGBs(model.getMemoryInGBs());
}
+ if (model.wasPropertyExplicitlySet("diskSizeInGBs")) {
+ this.diskSizeInGBs(model.getDiskSizeInGBs());
+ }
return this;
}
}
@@ -130,13 +152,13 @@ public String getShapeName() {
}
/**
- * Number of OCPUs required by the shape.
+ * Number of OCPUs required for the shape.
**/
@com.fasterxml.jackson.annotation.JsonProperty("ocpus")
private final Integer ocpus;
/**
- * Number of OCPUs required by the shape.
+ * Number of OCPUs required for the shape.
* @return the value
**/
public Integer getOcpus() {
@@ -144,19 +166,33 @@ public Integer getOcpus() {
}
/**
- * Amount of memory in GBs required by the shape.
+ * Amount of memory in GBs required for the shape.
**/
@com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs")
private final Integer memoryInGBs;
/**
- * Amount of memory in GBs required by the shape.
+ * Amount of memory in GBs required for the shape.
* @return the value
**/
public Integer getMemoryInGBs() {
return memoryInGBs;
}
+ /**
+ * Amount of disk space in GBs required for the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private final Integer diskSizeInGBs;
+
+ /**
+ * Amount of disk space in GBs required for the shape.
+ * @return the value
+ **/
+ public Integer getDiskSizeInGBs() {
+ return diskSizeInGBs;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -174,6 +210,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("shapeName=").append(String.valueOf(this.shapeName));
sb.append(", ocpus=").append(String.valueOf(this.ocpus));
sb.append(", memoryInGBs=").append(String.valueOf(this.memoryInGBs));
+ sb.append(", diskSizeInGBs=").append(String.valueOf(this.diskSizeInGBs));
sb.append(")");
return sb.toString();
}
@@ -191,6 +228,7 @@ public boolean equals(Object o) {
return java.util.Objects.equals(this.shapeName, other.shapeName)
&& java.util.Objects.equals(this.ocpus, other.ocpus)
&& java.util.Objects.equals(this.memoryInGBs, other.memoryInGBs)
+ && java.util.Objects.equals(this.diskSizeInGBs, other.diskSizeInGBs)
&& super.equals(other);
}
@@ -201,6 +239,9 @@ public int hashCode() {
result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode());
result = (result * PRIME) + (this.ocpus == null ? 43 : this.ocpus.hashCode());
result = (result * PRIME) + (this.memoryInGBs == null ? 43 : this.memoryInGBs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.diskSizeInGBs == null ? 43 : this.diskSizeInGBs.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/FleetShapeExecutionDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/FleetShapeExecutionDetails.java
new file mode 100644
index 00000000000..6d26325466e
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/FleetShapeExecutionDetails.java
@@ -0,0 +1,127 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Details about the shape which was used for the task execution.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = FleetShapeExecutionDetails.class
+)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CpuFleetShapeExecutionDetails.class,
+ name = "CPU_FLEET_SHAPE_EXECUTION_DETAILS"
+ ),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = GpuFleetShapeExecutionDetails.class,
+ name = "GPU_FLEET_SHAPE_EXECUTION_DETAILS"
+ )
+})
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class FleetShapeExecutionDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected FleetShapeExecutionDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("FleetShapeExecutionDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof FleetShapeExecutionDetails)) {
+ return false;
+ }
+
+ FleetShapeExecutionDetails other = (FleetShapeExecutionDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /**
+ * Type of the shape.
+ **/
+ public enum Type {
+ CpuFleetShapeExecutionDetails("CPU_FLEET_SHAPE_EXECUTION_DETAILS"),
+ GpuFleetShapeExecutionDetails("GPU_FLEET_SHAPE_EXECUTION_DETAILS"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
+ }
+ };
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GpuFleetShape.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GpuFleetShape.java
new file mode 100644
index 00000000000..6897b97dd76
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GpuFleetShape.java
@@ -0,0 +1,122 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Shape of the GPU fleet. Describes hardware resources of each node in the fleet.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = GpuFleetShape.class
+)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = FixedGpuFleetShape.class,
+ name = "FIXED_GPU_FLEET_SHAPE"
+ )
+})
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class GpuFleetShape extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected GpuFleetShape() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("GpuFleetShape(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GpuFleetShape)) {
+ return false;
+ }
+
+ GpuFleetShape other = (GpuFleetShape) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /**
+ * Type of the GPU fleet shape. Also serves as a discriminator for sub-entities.
+ **/
+ public enum Type {
+ FixedGpuFleetShape("FIXED_GPU_FLEET_SHAPE"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by this
+ * version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
+ }
+ };
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GpuFleetShapeExecutionDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GpuFleetShapeExecutionDetails.java
new file mode 100644
index 00000000000..a01cff8a8c3
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GpuFleetShapeExecutionDetails.java
@@ -0,0 +1,299 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Details about the GPU shape which was used for the task execution.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = GpuFleetShapeExecutionDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class GpuFleetShapeExecutionDetails extends FleetShapeExecutionDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Name of the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private String shapeName;
+
+ /**
+ * Name of the shape.
+ * @param shapeName the value to set
+ * @return this builder
+ **/
+ public Builder shapeName(String shapeName) {
+ this.shapeName = shapeName;
+ this.__explicitlySet__.add("shapeName");
+ return this;
+ }
+ /**
+ * Number of OCPUs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("ocpus")
+ private Integer ocpus;
+
+ /**
+ * Number of OCPUs provided by the shape.
+ * @param ocpus the value to set
+ * @return this builder
+ **/
+ public Builder ocpus(Integer ocpus) {
+ this.ocpus = ocpus;
+ this.__explicitlySet__.add("ocpus");
+ return this;
+ }
+ /**
+ * Amount of memory in GBs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs")
+ private Integer memoryInGBs;
+
+ /**
+ * Amount of memory in GBs provided by the shape.
+ * @param memoryInGBs the value to set
+ * @return this builder
+ **/
+ public Builder memoryInGBs(Integer memoryInGBs) {
+ this.memoryInGBs = memoryInGBs;
+ this.__explicitlySet__.add("memoryInGBs");
+ return this;
+ }
+ /**
+ * Amount of disk space provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private Integer diskSizeInGBs;
+
+ /**
+ * Amount of disk space provided by the shape.
+ * @param diskSizeInGBs the value to set
+ * @return this builder
+ **/
+ public Builder diskSizeInGBs(Integer diskSizeInGBs) {
+ this.diskSizeInGBs = diskSizeInGBs;
+ this.__explicitlySet__.add("diskSizeInGBs");
+ return this;
+ }
+ /**
+ * The number of GPUs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("gpus")
+ private Integer gpus;
+
+ /**
+ * The number of GPUs provided by the shape.
+ * @param gpus the value to set
+ * @return this builder
+ **/
+ public Builder gpus(Integer gpus) {
+ this.gpus = gpus;
+ this.__explicitlySet__.add("gpus");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public GpuFleetShapeExecutionDetails build() {
+ GpuFleetShapeExecutionDetails model =
+ new GpuFleetShapeExecutionDetails(
+ this.shapeName,
+ this.ocpus,
+ this.memoryInGBs,
+ this.diskSizeInGBs,
+ this.gpus);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(GpuFleetShapeExecutionDetails model) {
+ if (model.wasPropertyExplicitlySet("shapeName")) {
+ this.shapeName(model.getShapeName());
+ }
+ if (model.wasPropertyExplicitlySet("ocpus")) {
+ this.ocpus(model.getOcpus());
+ }
+ if (model.wasPropertyExplicitlySet("memoryInGBs")) {
+ this.memoryInGBs(model.getMemoryInGBs());
+ }
+ if (model.wasPropertyExplicitlySet("diskSizeInGBs")) {
+ this.diskSizeInGBs(model.getDiskSizeInGBs());
+ }
+ if (model.wasPropertyExplicitlySet("gpus")) {
+ this.gpus(model.getGpus());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public GpuFleetShapeExecutionDetails(
+ String shapeName,
+ Integer ocpus,
+ Integer memoryInGBs,
+ Integer diskSizeInGBs,
+ Integer gpus) {
+ super();
+ this.shapeName = shapeName;
+ this.ocpus = ocpus;
+ this.memoryInGBs = memoryInGBs;
+ this.diskSizeInGBs = diskSizeInGBs;
+ this.gpus = gpus;
+ }
+
+ /**
+ * Name of the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private final String shapeName;
+
+ /**
+ * Name of the shape.
+ * @return the value
+ **/
+ public String getShapeName() {
+ return shapeName;
+ }
+
+ /**
+ * Number of OCPUs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("ocpus")
+ private final Integer ocpus;
+
+ /**
+ * Number of OCPUs provided by the shape.
+ * @return the value
+ **/
+ public Integer getOcpus() {
+ return ocpus;
+ }
+
+ /**
+ * Amount of memory in GBs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs")
+ private final Integer memoryInGBs;
+
+ /**
+ * Amount of memory in GBs provided by the shape.
+ * @return the value
+ **/
+ public Integer getMemoryInGBs() {
+ return memoryInGBs;
+ }
+
+ /**
+ * Amount of disk space provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("diskSizeInGBs")
+ private final Integer diskSizeInGBs;
+
+ /**
+ * Amount of disk space provided by the shape.
+ * @return the value
+ **/
+ public Integer getDiskSizeInGBs() {
+ return diskSizeInGBs;
+ }
+
+ /**
+ * The number of GPUs provided by the shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("gpus")
+ private final Integer gpus;
+
+ /**
+ * The number of GPUs provided by the shape.
+ * @return the value
+ **/
+ public Integer getGpus() {
+ return gpus;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("GpuFleetShapeExecutionDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", shapeName=").append(String.valueOf(this.shapeName));
+ sb.append(", ocpus=").append(String.valueOf(this.ocpus));
+ sb.append(", memoryInGBs=").append(String.valueOf(this.memoryInGBs));
+ sb.append(", diskSizeInGBs=").append(String.valueOf(this.diskSizeInGBs));
+ sb.append(", gpus=").append(String.valueOf(this.gpus));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GpuFleetShapeExecutionDetails)) {
+ return false;
+ }
+
+ GpuFleetShapeExecutionDetails other = (GpuFleetShapeExecutionDetails) o;
+ return java.util.Objects.equals(this.shapeName, other.shapeName)
+ && java.util.Objects.equals(this.ocpus, other.ocpus)
+ && java.util.Objects.equals(this.memoryInGBs, other.memoryInGBs)
+ && java.util.Objects.equals(this.diskSizeInGBs, other.diskSizeInGBs)
+ && java.util.Objects.equals(this.gpus, other.gpus)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode());
+ result = (result * PRIME) + (this.ocpus == null ? 43 : this.ocpus.hashCode());
+ result = (result * PRIME) + (this.memoryInGBs == null ? 43 : this.memoryInGBs.hashCode());
+ result =
+ (result * PRIME)
+ + (this.diskSizeInGBs == null ? 43 : this.diskSizeInGBs.hashCode());
+ result = (result * PRIME) + (this.gpus == null ? 43 : this.gpus.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GpuShapeTaskProfileExtendedInformation.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GpuShapeTaskProfileExtendedInformation.java
new file mode 100644
index 00000000000..d55bcce1dd9
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GpuShapeTaskProfileExtendedInformation.java
@@ -0,0 +1,139 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Extended information for the GPU-specific task profile.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = GpuShapeTaskProfileExtendedInformation.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class GpuShapeTaskProfileExtendedInformation
+ extends BatchTaskProfileExtendedInformation {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * A name of the GPU shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private String shapeName;
+
+ /**
+ * A name of the GPU shape.
+ * @param shapeName the value to set
+ * @return this builder
+ **/
+ public Builder shapeName(String shapeName) {
+ this.shapeName = shapeName;
+ this.__explicitlySet__.add("shapeName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public GpuShapeTaskProfileExtendedInformation build() {
+ GpuShapeTaskProfileExtendedInformation model =
+ new GpuShapeTaskProfileExtendedInformation(this.shapeName);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(GpuShapeTaskProfileExtendedInformation model) {
+ if (model.wasPropertyExplicitlySet("shapeName")) {
+ this.shapeName(model.getShapeName());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public GpuShapeTaskProfileExtendedInformation(String shapeName) {
+ super();
+ this.shapeName = shapeName;
+ }
+
+ /**
+ * A name of the GPU shape.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("shapeName")
+ private final String shapeName;
+
+ /**
+ * A name of the GPU shape.
+ * @return the value
+ **/
+ public String getShapeName() {
+ return shapeName;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("GpuShapeTaskProfileExtendedInformation(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", shapeName=").append(String.valueOf(this.shapeName));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GpuShapeTaskProfileExtendedInformation)) {
+ return false;
+ }
+
+ GpuShapeTaskProfileExtendedInformation other = (GpuShapeTaskProfileExtendedInformation) o;
+ return java.util.Objects.equals(this.shapeName, other.shapeName) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.shapeName == null ? 43 : this.shapeName.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GroupTask.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GroupTask.java
new file mode 100644
index 00000000000..27d4e2ddc8b
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GroupTask.java
@@ -0,0 +1,288 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Group task is a construct that represents a container of tasks for execution.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = GroupTask.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class GroupTask extends BatchTask {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("name")
+ private String name;
+
+ public Builder name(String name) {
+ this.name = name;
+ this.__explicitlySet__.add("name");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("hierarchicalName")
+ private String hierarchicalName;
+
+ public Builder hierarchicalName(String hierarchicalName) {
+ this.hierarchicalName = hierarchicalName;
+ this.__explicitlySet__.add("hierarchicalName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("groupTaskName")
+ private String groupTaskName;
+
+ public Builder groupTaskName(String groupTaskName) {
+ this.groupTaskName = groupTaskName;
+ this.__explicitlySet__.add("groupTaskName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("description")
+ private String description;
+
+ public Builder description(String description) {
+ this.description = description;
+ this.__explicitlySet__.add("description");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails")
+ private String lifecycleDetails;
+
+ public Builder lifecycleDetails(String lifecycleDetails) {
+ this.lifecycleDetails = lifecycleDetails;
+ this.__explicitlySet__.add("lifecycleDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("entitlementClaims")
+ private java.util.List entitlementClaims;
+
+ public Builder entitlementClaims(java.util.List entitlementClaims) {
+ this.entitlementClaims = entitlementClaims;
+ this.__explicitlySet__.add("entitlementClaims");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dependencies")
+ private java.util.List dependencies;
+
+ public Builder dependencies(java.util.List dependencies) {
+ this.dependencies = dependencies;
+ this.__explicitlySet__.add("dependencies");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentVariables")
+ private java.util.List environmentVariables;
+
+ public Builder environmentVariables(
+ java.util.List environmentVariables) {
+ this.environmentVariables = environmentVariables;
+ this.__explicitlySet__.add("environmentVariables");
+ return this;
+ }
+ /**
+ * The names of tasks contained directly (non-recursively) within this group task.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("tasks")
+ private java.util.List tasks;
+
+ /**
+ * The names of tasks contained directly (non-recursively) within this group task.
+ * @param tasks the value to set
+ * @return this builder
+ **/
+ public Builder tasks(java.util.List tasks) {
+ this.tasks = tasks;
+ this.__explicitlySet__.add("tasks");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public GroupTask build() {
+ GroupTask model =
+ new GroupTask(
+ this.id,
+ this.name,
+ this.hierarchicalName,
+ this.groupTaskName,
+ this.description,
+ this.lifecycleState,
+ this.lifecycleDetails,
+ this.entitlementClaims,
+ this.dependencies,
+ this.environmentVariables,
+ this.tasks);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(GroupTask model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("name")) {
+ this.name(model.getName());
+ }
+ if (model.wasPropertyExplicitlySet("hierarchicalName")) {
+ this.hierarchicalName(model.getHierarchicalName());
+ }
+ if (model.wasPropertyExplicitlySet("groupTaskName")) {
+ this.groupTaskName(model.getGroupTaskName());
+ }
+ if (model.wasPropertyExplicitlySet("description")) {
+ this.description(model.getDescription());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleDetails")) {
+ this.lifecycleDetails(model.getLifecycleDetails());
+ }
+ if (model.wasPropertyExplicitlySet("entitlementClaims")) {
+ this.entitlementClaims(model.getEntitlementClaims());
+ }
+ if (model.wasPropertyExplicitlySet("dependencies")) {
+ this.dependencies(model.getDependencies());
+ }
+ if (model.wasPropertyExplicitlySet("environmentVariables")) {
+ this.environmentVariables(model.getEnvironmentVariables());
+ }
+ if (model.wasPropertyExplicitlySet("tasks")) {
+ this.tasks(model.getTasks());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public GroupTask(
+ String id,
+ String name,
+ String hierarchicalName,
+ String groupTaskName,
+ String description,
+ LifecycleState lifecycleState,
+ String lifecycleDetails,
+ java.util.List entitlementClaims,
+ java.util.List dependencies,
+ java.util.List environmentVariables,
+ java.util.List tasks) {
+ super(
+ id,
+ name,
+ hierarchicalName,
+ groupTaskName,
+ description,
+ lifecycleState,
+ lifecycleDetails,
+ entitlementClaims,
+ dependencies,
+ environmentVariables);
+ this.tasks = tasks;
+ }
+
+ /**
+ * The names of tasks contained directly (non-recursively) within this group task.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("tasks")
+ private final java.util.List tasks;
+
+ /**
+ * The names of tasks contained directly (non-recursively) within this group task.
+ * @return the value
+ **/
+ public java.util.List getTasks() {
+ return tasks;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("GroupTask(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", tasks=").append(String.valueOf(this.tasks));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GroupTask)) {
+ return false;
+ }
+
+ GroupTask other = (GroupTask) o;
+ return java.util.Objects.equals(this.tasks, other.tasks) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.tasks == null ? 43 : this.tasks.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GroupTaskSummary.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GroupTaskSummary.java
new file mode 100644
index 00000000000..d08269c104d
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/GroupTaskSummary.java
@@ -0,0 +1,257 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Summary information about a group task.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = GroupTaskSummary.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class GroupTaskSummary extends BatchTaskSummary {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("jobId")
+ private String jobId;
+
+ public Builder jobId(String jobId) {
+ this.jobId = jobId;
+ this.__explicitlySet__.add("jobId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("name")
+ private String name;
+
+ public Builder name(String name) {
+ this.name = name;
+ this.__explicitlySet__.add("name");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("hierarchicalName")
+ private String hierarchicalName;
+
+ public Builder hierarchicalName(String hierarchicalName) {
+ this.hierarchicalName = hierarchicalName;
+ this.__explicitlySet__.add("hierarchicalName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("groupTaskName")
+ private String groupTaskName;
+
+ public Builder groupTaskName(String groupTaskName) {
+ this.groupTaskName = groupTaskName;
+ this.__explicitlySet__.add("groupTaskName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("description")
+ private String description;
+
+ public Builder description(String description) {
+ this.description = description;
+ this.__explicitlySet__.add("description");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private BatchTask.LifecycleState lifecycleState;
+
+ public Builder lifecycleState(BatchTask.LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails")
+ private String lifecycleDetails;
+
+ public Builder lifecycleDetails(String lifecycleDetails) {
+ this.lifecycleDetails = lifecycleDetails;
+ this.__explicitlySet__.add("lifecycleDetails");
+ return this;
+ }
+ /**
+ * The count of tasks contained directly (non-recursively) within this group task.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("taskCount")
+ private Integer taskCount;
+
+ /**
+ * The count of tasks contained directly (non-recursively) within this group task.
+ * @param taskCount the value to set
+ * @return this builder
+ **/
+ public Builder taskCount(Integer taskCount) {
+ this.taskCount = taskCount;
+ this.__explicitlySet__.add("taskCount");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public GroupTaskSummary build() {
+ GroupTaskSummary model =
+ new GroupTaskSummary(
+ this.id,
+ this.jobId,
+ this.name,
+ this.hierarchicalName,
+ this.groupTaskName,
+ this.description,
+ this.lifecycleState,
+ this.lifecycleDetails,
+ this.taskCount);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(GroupTaskSummary model) {
+ if (model.wasPropertyExplicitlySet("id")) {
+ this.id(model.getId());
+ }
+ if (model.wasPropertyExplicitlySet("jobId")) {
+ this.jobId(model.getJobId());
+ }
+ if (model.wasPropertyExplicitlySet("name")) {
+ this.name(model.getName());
+ }
+ if (model.wasPropertyExplicitlySet("hierarchicalName")) {
+ this.hierarchicalName(model.getHierarchicalName());
+ }
+ if (model.wasPropertyExplicitlySet("groupTaskName")) {
+ this.groupTaskName(model.getGroupTaskName());
+ }
+ if (model.wasPropertyExplicitlySet("description")) {
+ this.description(model.getDescription());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleDetails")) {
+ this.lifecycleDetails(model.getLifecycleDetails());
+ }
+ if (model.wasPropertyExplicitlySet("taskCount")) {
+ this.taskCount(model.getTaskCount());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public GroupTaskSummary(
+ String id,
+ String jobId,
+ String name,
+ String hierarchicalName,
+ String groupTaskName,
+ String description,
+ BatchTask.LifecycleState lifecycleState,
+ String lifecycleDetails,
+ Integer taskCount) {
+ super(
+ id,
+ jobId,
+ name,
+ hierarchicalName,
+ groupTaskName,
+ description,
+ lifecycleState,
+ lifecycleDetails);
+ this.taskCount = taskCount;
+ }
+
+ /**
+ * The count of tasks contained directly (non-recursively) within this group task.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("taskCount")
+ private final Integer taskCount;
+
+ /**
+ * The count of tasks contained directly (non-recursively) within this group task.
+ * @return the value
+ **/
+ public Integer getTaskCount() {
+ return taskCount;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("GroupTaskSummary(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", taskCount=").append(String.valueOf(this.taskCount));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof GroupTaskSummary)) {
+ return false;
+ }
+
+ GroupTaskSummary other = (GroupTaskSummary) o;
+ return java.util.Objects.equals(this.taskCount, other.taskCount) && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.taskCount == null ? 43 : this.taskCount.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/LoggingConfiguration.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/LoggingConfiguration.java
index ac4ac712482..4b01a8920df 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/LoggingConfiguration.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/LoggingConfiguration.java
@@ -5,7 +5,7 @@
package com.oracle.bmc.batch.model;
/**
- * Logging configuration for batch context.
+ * Logging configuration of the batch context.
*
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
* that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
@@ -75,7 +75,7 @@ public int hashCode() {
}
/**
- * Discriminator for sub-entities.
+ * Type of the logging configuration. Discriminator for sub-entities.
**/
public enum Type {
OciLogging("OCI_LOGGING"),
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/OciLoggingConfiguration.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/OciLoggingConfiguration.java
index 6db51c4b263..be58847cff5 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/OciLoggingConfiguration.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/OciLoggingConfiguration.java
@@ -59,13 +59,31 @@ public Builder logId(String logId) {
this.__explicitlySet__.add("logId");
return this;
}
+ /**
+ * A switch to enable or disable propagation of job and task events to the customer's logs in OCI logging service.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isJobTaskEventsPropagationEnabled")
+ private Boolean isJobTaskEventsPropagationEnabled;
+
+ /**
+ * A switch to enable or disable propagation of job and task events to the customer's logs in OCI logging service.
+ * @param isJobTaskEventsPropagationEnabled the value to set
+ * @return this builder
+ **/
+ public Builder isJobTaskEventsPropagationEnabled(
+ Boolean isJobTaskEventsPropagationEnabled) {
+ this.isJobTaskEventsPropagationEnabled = isJobTaskEventsPropagationEnabled;
+ this.__explicitlySet__.add("isJobTaskEventsPropagationEnabled");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public OciLoggingConfiguration build() {
OciLoggingConfiguration model =
- new OciLoggingConfiguration(this.logGroupId, this.logId);
+ new OciLoggingConfiguration(
+ this.logGroupId, this.logId, this.isJobTaskEventsPropagationEnabled);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -80,6 +98,10 @@ public Builder copy(OciLoggingConfiguration model) {
if (model.wasPropertyExplicitlySet("logId")) {
this.logId(model.getLogId());
}
+ if (model.wasPropertyExplicitlySet("isJobTaskEventsPropagationEnabled")) {
+ this.isJobTaskEventsPropagationEnabled(
+ model.getIsJobTaskEventsPropagationEnabled());
+ }
return this;
}
}
@@ -96,10 +118,12 @@ public Builder toBuilder() {
}
@Deprecated
- public OciLoggingConfiguration(String logGroupId, String logId) {
+ public OciLoggingConfiguration(
+ String logGroupId, String logId, Boolean isJobTaskEventsPropagationEnabled) {
super();
this.logGroupId = logGroupId;
this.logId = logId;
+ this.isJobTaskEventsPropagationEnabled = isJobTaskEventsPropagationEnabled;
}
/**
@@ -130,6 +154,20 @@ public String getLogId() {
return logId;
}
+ /**
+ * A switch to enable or disable propagation of job and task events to the customer's logs in OCI logging service.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isJobTaskEventsPropagationEnabled")
+ private final Boolean isJobTaskEventsPropagationEnabled;
+
+ /**
+ * A switch to enable or disable propagation of job and task events to the customer's logs in OCI logging service.
+ * @return the value
+ **/
+ public Boolean getIsJobTaskEventsPropagationEnabled() {
+ return isJobTaskEventsPropagationEnabled;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -146,6 +184,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", logGroupId=").append(String.valueOf(this.logGroupId));
sb.append(", logId=").append(String.valueOf(this.logId));
+ sb.append(", isJobTaskEventsPropagationEnabled=")
+ .append(String.valueOf(this.isJobTaskEventsPropagationEnabled));
sb.append(")");
return sb.toString();
}
@@ -162,6 +202,9 @@ public boolean equals(Object o) {
OciLoggingConfiguration other = (OciLoggingConfiguration) o;
return java.util.Objects.equals(this.logGroupId, other.logGroupId)
&& java.util.Objects.equals(this.logId, other.logId)
+ && java.util.Objects.equals(
+ this.isJobTaskEventsPropagationEnabled,
+ other.isJobTaskEventsPropagationEnabled)
&& super.equals(other);
}
@@ -171,6 +214,11 @@ public int hashCode() {
int result = super.hashCode();
result = (result * PRIME) + (this.logGroupId == null ? 43 : this.logGroupId.hashCode());
result = (result * PRIME) + (this.logId == null ? 43 : this.logId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.isJobTaskEventsPropagationEnabled == null
+ ? 43
+ : this.isJobTaskEventsPropagationEnabled.hashCode());
return result;
}
}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedFleet.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedFleet.java
index 18b4c112de8..5925254b5db 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedFleet.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedFleet.java
@@ -85,13 +85,13 @@ public Builder state(String state) {
return this;
}
/**
- * A message that describes the current state of the service manage fleet configuration in more detail.
+ * A message that describes the current state of the service managed fleet configuration in more detail.
**/
@com.fasterxml.jackson.annotation.JsonProperty("details")
private String details;
/**
- * A message that describes the current state of the service manage fleet configuration in more detail.
+ * A message that describes the current state of the service managed fleet configuration in more detail.
* @param details the value to set
* @return this builder
**/
@@ -215,13 +215,13 @@ public String getState() {
}
/**
- * A message that describes the current state of the service manage fleet configuration in more detail.
+ * A message that describes the current state of the service managed fleet configuration in more detail.
**/
@com.fasterxml.jackson.annotation.JsonProperty("details")
private final String details;
/**
- * A message that describes the current state of the service manage fleet configuration in more detail.
+ * A message that describes the current state of the service managed fleet configuration in more detail.
* @return the value
**/
public String getDetails() {
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedGpuFleet.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedGpuFleet.java
new file mode 100644
index 00000000000..4387d096d27
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ServiceManagedGpuFleet.java
@@ -0,0 +1,287 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * Service managed GPU Fleet configuration of the batch context.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = ServiceManagedGpuFleet.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class ServiceManagedGpuFleet extends Fleet {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * Name of the service managed GPU fleet.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("name")
+ private String name;
+
+ /**
+ * Name of the service managed GPU fleet.
+ * @param name the value to set
+ * @return this builder
+ **/
+ public Builder name(String name) {
+ this.name = name;
+ this.__explicitlySet__.add("name");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("shape")
+ private GpuFleetShape shape;
+
+ public Builder shape(GpuFleetShape shape) {
+ this.shape = shape;
+ this.__explicitlySet__.add("shape");
+ return this;
+ }
+ /**
+ * Maximum number of concurrent tasks for the service managed GPU fleet.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("maxConcurrentTasks")
+ private Integer maxConcurrentTasks;
+
+ /**
+ * Maximum number of concurrent tasks for the service managed GPU fleet.
+ * @param maxConcurrentTasks the value to set
+ * @return this builder
+ **/
+ public Builder maxConcurrentTasks(Integer maxConcurrentTasks) {
+ this.maxConcurrentTasks = maxConcurrentTasks;
+ this.__explicitlySet__.add("maxConcurrentTasks");
+ return this;
+ }
+ /**
+ * Current state of the service managed GPU fleet configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("state")
+ private String state;
+
+ /**
+ * Current state of the service managed GPU fleet configuration.
+ * @param state the value to set
+ * @return this builder
+ **/
+ public Builder state(String state) {
+ this.state = state;
+ this.__explicitlySet__.add("state");
+ return this;
+ }
+ /**
+ * A message that describes the current state of the service managed GPU fleet configuration in more detail.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("details")
+ private String details;
+
+ /**
+ * A message that describes the current state of the service managed GPU fleet configuration in more detail.
+ * @param details the value to set
+ * @return this builder
+ **/
+ public Builder details(String details) {
+ this.details = details;
+ this.__explicitlySet__.add("details");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public ServiceManagedGpuFleet build() {
+ ServiceManagedGpuFleet model =
+ new ServiceManagedGpuFleet(
+ this.name,
+ this.shape,
+ this.maxConcurrentTasks,
+ this.state,
+ this.details);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(ServiceManagedGpuFleet model) {
+ if (model.wasPropertyExplicitlySet("name")) {
+ this.name(model.getName());
+ }
+ if (model.wasPropertyExplicitlySet("shape")) {
+ this.shape(model.getShape());
+ }
+ if (model.wasPropertyExplicitlySet("maxConcurrentTasks")) {
+ this.maxConcurrentTasks(model.getMaxConcurrentTasks());
+ }
+ if (model.wasPropertyExplicitlySet("state")) {
+ this.state(model.getState());
+ }
+ if (model.wasPropertyExplicitlySet("details")) {
+ this.details(model.getDetails());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public ServiceManagedGpuFleet(
+ String name,
+ GpuFleetShape shape,
+ Integer maxConcurrentTasks,
+ String state,
+ String details) {
+ super();
+ this.name = name;
+ this.shape = shape;
+ this.maxConcurrentTasks = maxConcurrentTasks;
+ this.state = state;
+ this.details = details;
+ }
+
+ /**
+ * Name of the service managed GPU fleet.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("name")
+ private final String name;
+
+ /**
+ * Name of the service managed GPU fleet.
+ * @return the value
+ **/
+ public String getName() {
+ return name;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("shape")
+ private final GpuFleetShape shape;
+
+ public GpuFleetShape getShape() {
+ return shape;
+ }
+
+ /**
+ * Maximum number of concurrent tasks for the service managed GPU fleet.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("maxConcurrentTasks")
+ private final Integer maxConcurrentTasks;
+
+ /**
+ * Maximum number of concurrent tasks for the service managed GPU fleet.
+ * @return the value
+ **/
+ public Integer getMaxConcurrentTasks() {
+ return maxConcurrentTasks;
+ }
+
+ /**
+ * Current state of the service managed GPU fleet configuration.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("state")
+ private final String state;
+
+ /**
+ * Current state of the service managed GPU fleet configuration.
+ * @return the value
+ **/
+ public String getState() {
+ return state;
+ }
+
+ /**
+ * A message that describes the current state of the service managed GPU fleet configuration in more detail.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("details")
+ private final String details;
+
+ /**
+ * A message that describes the current state of the service managed GPU fleet configuration in more detail.
+ * @return the value
+ **/
+ public String getDetails() {
+ return details;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("ServiceManagedGpuFleet(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", name=").append(String.valueOf(this.name));
+ sb.append(", shape=").append(String.valueOf(this.shape));
+ sb.append(", maxConcurrentTasks=").append(String.valueOf(this.maxConcurrentTasks));
+ sb.append(", state=").append(String.valueOf(this.state));
+ sb.append(", details=").append(String.valueOf(this.details));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof ServiceManagedGpuFleet)) {
+ return false;
+ }
+
+ ServiceManagedGpuFleet other = (ServiceManagedGpuFleet) o;
+ return java.util.Objects.equals(this.name, other.name)
+ && java.util.Objects.equals(this.shape, other.shape)
+ && java.util.Objects.equals(this.maxConcurrentTasks, other.maxConcurrentTasks)
+ && java.util.Objects.equals(this.state, other.state)
+ && java.util.Objects.equals(this.details, other.details)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode());
+ result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode());
+ result =
+ (result * PRIME)
+ + (this.maxConcurrentTasks == null
+ ? 43
+ : this.maxConcurrentTasks.hashCode());
+ result = (result * PRIME) + (this.state == null ? 43 : this.state.hashCode());
+ result = (result * PRIME) + (this.details == null ? 43 : this.details.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ShapeType.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ShapeType.java
new file mode 100644
index 00000000000..3ace53746e9
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/ShapeType.java
@@ -0,0 +1,42 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * The type of a shape.
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+public enum ShapeType {
+ Cpu("CPU"),
+ Gpu("GPU"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ShapeType v : ShapeType.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ ShapeType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ShapeType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid ShapeType: " + key);
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateBatchContextDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateBatchContextDetails.java
index 05b917b700e..f408a8fe4e1 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateBatchContextDetails.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateBatchContextDetails.java
@@ -30,7 +30,8 @@ public final class UpdateBatchContextDetails
"freeformTags",
"definedTags",
"jobPriorityConfigurations",
- "entitlements"
+ "entitlements",
+ "loggingConfiguration"
})
public UpdateBatchContextDetails(
String displayName,
@@ -38,7 +39,8 @@ public UpdateBatchContextDetails(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.List jobPriorityConfigurations,
- java.util.Map entitlements) {
+ java.util.Map entitlements,
+ UpdateLoggingConfigurationDetails loggingConfiguration) {
super();
this.displayName = displayName;
this.description = description;
@@ -46,6 +48,7 @@ public UpdateBatchContextDetails(
this.definedTags = definedTags;
this.jobPriorityConfigurations = jobPriorityConfigurations;
this.entitlements = entitlements;
+ this.loggingConfiguration = loggingConfiguration;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -169,6 +172,16 @@ public Builder entitlements(java.util.Map entitlements) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("loggingConfiguration")
+ private UpdateLoggingConfigurationDetails loggingConfiguration;
+
+ public Builder loggingConfiguration(
+ UpdateLoggingConfigurationDetails loggingConfiguration) {
+ this.loggingConfiguration = loggingConfiguration;
+ this.__explicitlySet__.add("loggingConfiguration");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -180,7 +193,8 @@ public UpdateBatchContextDetails build() {
this.freeformTags,
this.definedTags,
this.jobPriorityConfigurations,
- this.entitlements);
+ this.entitlements,
+ this.loggingConfiguration);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -207,6 +221,9 @@ public Builder copy(UpdateBatchContextDetails model) {
if (model.wasPropertyExplicitlySet("entitlements")) {
this.entitlements(model.getEntitlements());
}
+ if (model.wasPropertyExplicitlySet("loggingConfiguration")) {
+ this.loggingConfiguration(model.getLoggingConfiguration());
+ }
return this;
}
}
@@ -326,6 +343,13 @@ public java.util.Map getEntitlements() {
return entitlements;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("loggingConfiguration")
+ private final UpdateLoggingConfigurationDetails loggingConfiguration;
+
+ public UpdateLoggingConfigurationDetails getLoggingConfiguration() {
+ return loggingConfiguration;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -347,6 +371,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", jobPriorityConfigurations=")
.append(String.valueOf(this.jobPriorityConfigurations));
sb.append(", entitlements=").append(String.valueOf(this.entitlements));
+ sb.append(", loggingConfiguration=").append(String.valueOf(this.loggingConfiguration));
sb.append(")");
return sb.toString();
}
@@ -368,6 +393,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.jobPriorityConfigurations, other.jobPriorityConfigurations)
&& java.util.Objects.equals(this.entitlements, other.entitlements)
+ && java.util.Objects.equals(this.loggingConfiguration, other.loggingConfiguration)
&& super.equals(other);
}
@@ -385,6 +411,11 @@ public int hashCode() {
? 43
: this.jobPriorityConfigurations.hashCode());
result = (result * PRIME) + (this.entitlements == null ? 43 : this.entitlements.hashCode());
+ result =
+ (result * PRIME)
+ + (this.loggingConfiguration == null
+ ? 43
+ : this.loggingConfiguration.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateLoggingConfigurationDetails.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateLoggingConfigurationDetails.java
new file mode 100644
index 00000000000..35b0c76ed7c
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateLoggingConfigurationDetails.java
@@ -0,0 +1,112 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * The data to update logging configuration of the batch context.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type",
+ defaultImpl = UpdateLoggingConfigurationDetails.class
+)
+@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = UpdateOciLoggingConfiguration.class,
+ name = "OCI_LOGGING"
+ )
+})
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class UpdateLoggingConfigurationDetails
+ extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({})
+ protected UpdateLoggingConfigurationDetails() {
+ super();
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("UpdateLoggingConfigurationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateLoggingConfigurationDetails)) {
+ return false;
+ }
+
+ UpdateLoggingConfigurationDetails other = (UpdateLoggingConfigurationDetails) o;
+ return super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+
+ /**
+ * Type of the logging configuration. Discriminator for sub-entities.
+ **/
+ public enum Type {
+ OciLogging("OCI_LOGGING"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Type: " + key);
+ }
+ };
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateOciLoggingConfiguration.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateOciLoggingConfiguration.java
new file mode 100644
index 00000000000..d81d90732b5
--- /dev/null
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/model/UpdateOciLoggingConfiguration.java
@@ -0,0 +1,148 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.batch.model;
+
+/**
+ * The data to update logging configuration for OCI Logging service.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20251031")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = UpdateOciLoggingConfiguration.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class UpdateOciLoggingConfiguration extends UpdateLoggingConfigurationDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /**
+ * A switch to enable or disable propagation of job and task events to the customer's logs in OCI logging service.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isJobTaskEventsPropagationEnabled")
+ private Boolean isJobTaskEventsPropagationEnabled;
+
+ /**
+ * A switch to enable or disable propagation of job and task events to the customer's logs in OCI logging service.
+ * @param isJobTaskEventsPropagationEnabled the value to set
+ * @return this builder
+ **/
+ public Builder isJobTaskEventsPropagationEnabled(
+ Boolean isJobTaskEventsPropagationEnabled) {
+ this.isJobTaskEventsPropagationEnabled = isJobTaskEventsPropagationEnabled;
+ this.__explicitlySet__.add("isJobTaskEventsPropagationEnabled");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public UpdateOciLoggingConfiguration build() {
+ UpdateOciLoggingConfiguration model =
+ new UpdateOciLoggingConfiguration(this.isJobTaskEventsPropagationEnabled);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(UpdateOciLoggingConfiguration model) {
+ if (model.wasPropertyExplicitlySet("isJobTaskEventsPropagationEnabled")) {
+ this.isJobTaskEventsPropagationEnabled(
+ model.getIsJobTaskEventsPropagationEnabled());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public UpdateOciLoggingConfiguration(Boolean isJobTaskEventsPropagationEnabled) {
+ super();
+ this.isJobTaskEventsPropagationEnabled = isJobTaskEventsPropagationEnabled;
+ }
+
+ /**
+ * A switch to enable or disable propagation of job and task events to the customer's logs in OCI logging service.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isJobTaskEventsPropagationEnabled")
+ private final Boolean isJobTaskEventsPropagationEnabled;
+
+ /**
+ * A switch to enable or disable propagation of job and task events to the customer's logs in OCI logging service.
+ * @return the value
+ **/
+ public Boolean getIsJobTaskEventsPropagationEnabled() {
+ return isJobTaskEventsPropagationEnabled;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("UpdateOciLoggingConfiguration(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", isJobTaskEventsPropagationEnabled=")
+ .append(String.valueOf(this.isJobTaskEventsPropagationEnabled));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof UpdateOciLoggingConfiguration)) {
+ return false;
+ }
+
+ UpdateOciLoggingConfiguration other = (UpdateOciLoggingConfiguration) o;
+ return java.util.Objects.equals(
+ this.isJobTaskEventsPropagationEnabled,
+ other.isJobTaskEventsPropagationEnabled)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.isJobTaskEventsPropagationEnabled == null
+ ? 43
+ : this.isJobTaskEventsPropagationEnabled.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/GetBatchTaskRequest.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/GetBatchTaskRequest.java
index 6d3bdae56c1..1f674b2a987 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/GetBatchTaskRequest.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/GetBatchTaskRequest.java
@@ -23,12 +23,12 @@ public String getBatchJobId() {
return batchJobId;
}
/**
- * The name of the batch task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
*/
private String taskName;
/**
- * The name of the batch task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
*/
public String getTaskName() {
return taskName;
@@ -76,12 +76,12 @@ public Builder batchJobId(String batchJobId) {
}
/**
- * The name of the batch task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
*/
private String taskName = null;
/**
- * The name of the batch task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
* @param taskName the value to set
* @return this builder instance
*/
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchContextShapesRequest.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchContextShapesRequest.java
index 47b56a3a81d..3aabd679f53 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchContextShapesRequest.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchContextShapesRequest.java
@@ -68,6 +68,17 @@ public Integer getLimit() {
public String getPage() {
return page;
}
+ /**
+ * The type of a shape.
+ */
+ private com.oracle.bmc.batch.model.ShapeType shapeType;
+
+ /**
+ * The type of a shape.
+ */
+ public com.oracle.bmc.batch.model.ShapeType getShapeType() {
+ return shapeType;
+ }
/**
* Unique Oracle-assigned identifier for the request. If you need to contact
* Oracle about a particular request, please provide the request ID.
@@ -167,6 +178,21 @@ public Builder page(String page) {
return this;
}
+ /**
+ * The type of a shape.
+ */
+ private com.oracle.bmc.batch.model.ShapeType shapeType = null;
+
+ /**
+ * The type of a shape.
+ * @param shapeType the value to set
+ * @return this builder instance
+ */
+ public Builder shapeType(com.oracle.bmc.batch.model.ShapeType shapeType) {
+ this.shapeType = shapeType;
+ return this;
+ }
+
/**
* Unique Oracle-assigned identifier for the request. If you need to contact
* Oracle about a particular request, please provide the request ID.
@@ -222,6 +248,7 @@ public Builder copy(ListBatchContextShapesRequest o) {
availabilityDomain(o.getAvailabilityDomain());
limit(o.getLimit());
page(o.getPage());
+ shapeType(o.getShapeType());
opcRequestId(o.getOpcRequestId());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
@@ -259,9 +286,10 @@ public ListBatchContextShapesRequest buildWithoutInvocationCallback() {
request.availabilityDomain = availabilityDomain;
request.limit = limit;
request.page = page;
+ request.shapeType = shapeType;
request.opcRequestId = opcRequestId;
return request;
- // new ListBatchContextShapesRequest(compartmentId, availabilityDomain, limit, page, opcRequestId);
+ // new ListBatchContextShapesRequest(compartmentId, availabilityDomain, limit, page, shapeType, opcRequestId);
}
}
@@ -275,6 +303,7 @@ public Builder toBuilder() {
.availabilityDomain(availabilityDomain)
.limit(limit)
.page(page)
+ .shapeType(shapeType)
.opcRequestId(opcRequestId);
}
@@ -295,6 +324,7 @@ public String toString() {
sb.append(",availabilityDomain=").append(String.valueOf(this.availabilityDomain));
sb.append(",limit=").append(String.valueOf(this.limit));
sb.append(",page=").append(String.valueOf(this.page));
+ sb.append(",shapeType=").append(String.valueOf(this.shapeType));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
sb.append(")");
return sb.toString();
@@ -315,6 +345,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain)
&& java.util.Objects.equals(this.limit, other.limit)
&& java.util.Objects.equals(this.page, other.page)
+ && java.util.Objects.equals(this.shapeType, other.shapeType)
&& java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
}
@@ -332,6 +363,7 @@ public int hashCode() {
: this.availabilityDomain.hashCode());
result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode());
result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
+ result = (result * PRIME) + (this.shapeType == null ? 43 : this.shapeType.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
return result;
}
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchJobTasksRequest.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchJobTasksRequest.java
index f609ab0078f..6962a801465 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchJobTasksRequest.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchJobTasksRequest.java
@@ -38,16 +38,60 @@ public com.oracle.bmc.batch.model.BatchTask.LifecycleState getLifecycleState() {
return lifecycleState;
}
/**
- * The name of the task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
*/
private String name;
/**
- * The name of the task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
*/
public String getName() {
return name;
}
+ /**
+ * The UUID of the batch task. Mutually exclusive with the task name and group task name query parameters: you can't pass both.
+ */
+ private String taskId;
+
+ /**
+ * The UUID of the batch task. Mutually exclusive with the task name and group task name query parameters: you can't pass both.
+ */
+ public String getTaskId() {
+ return taskId;
+ }
+ /**
+ * Hierarchical name of the group task. A filter to return only tasks contained within the selected group task. Omit to return top-level tasks only. Can be combined with task name query parameter, in which case task name becomes a hierarchical name relative to the selected group task, e.g. ?groupTaskName=A.B&taskName=C.D is equal to ?taskName=A.B.C.D. Mutually exclusive with the task id query parameter: you can't pass both.
+ */
+ private String groupTaskName;
+
+ /**
+ * Hierarchical name of the group task. A filter to return only tasks contained within the selected group task. Omit to return top-level tasks only. Can be combined with task name query parameter, in which case task name becomes a hierarchical name relative to the selected group task, e.g. ?groupTaskName=A.B&taskName=C.D is equal to ?taskName=A.B.C.D. Mutually exclusive with the task id query parameter: you can't pass both.
+ */
+ public String getGroupTaskName() {
+ return groupTaskName;
+ }
+ /**
+ * Filter tasks by type. Valid values are: COMPUTE, GROUP.
+ */
+ private com.oracle.bmc.batch.model.BatchTask.Type type;
+
+ /**
+ * Filter tasks by type. Valid values are: COMPUTE, GROUP.
+ */
+ public com.oracle.bmc.batch.model.BatchTask.Type getType() {
+ return type;
+ }
+ /**
+ * Defines the hierarchical scope of the tasks to be returned. When set to SHALLOW, which is default, only tasks contained directly (non-recursively) within current hierarchy entry are returned. When set to DEEP, tasks contained within current hierarchy entry and all its descendants recursively are returned. The default hierarchy entry is root, i.e. batch job itself. To use a different hierarchy entry, provide the group task name as a query parameter. The specified group task becomes the entry point instead of the batch job.
+ */
+ private com.oracle.bmc.batch.model.BatchTaskHierarchyView hierarchyView;
+
+ /**
+ * Defines the hierarchical scope of the tasks to be returned. When set to SHALLOW, which is default, only tasks contained directly (non-recursively) within current hierarchy entry are returned. When set to DEEP, tasks contained within current hierarchy entry and all its descendants recursively are returned. The default hierarchy entry is root, i.e. batch job itself. To use a different hierarchy entry, provide the group task name as a query parameter. The specified group task becomes the entry point instead of the batch job.
+ */
+ public com.oracle.bmc.batch.model.BatchTaskHierarchyView getHierarchyView() {
+ return hierarchyView;
+ }
/**
* For list pagination. The maximum number of results per page, or items to return in a
* paginated "List" call. For important details about how pagination works, see
@@ -169,12 +213,12 @@ public Builder lifecycleState(
}
/**
- * The name of the task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
*/
private String name = null;
/**
- * The name of the task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
* @param name the value to set
* @return this builder instance
*/
@@ -183,6 +227,67 @@ public Builder name(String name) {
return this;
}
+ /**
+ * The UUID of the batch task. Mutually exclusive with the task name and group task name query parameters: you can't pass both.
+ */
+ private String taskId = null;
+
+ /**
+ * The UUID of the batch task. Mutually exclusive with the task name and group task name query parameters: you can't pass both.
+ * @param taskId the value to set
+ * @return this builder instance
+ */
+ public Builder taskId(String taskId) {
+ this.taskId = taskId;
+ return this;
+ }
+
+ /**
+ * Hierarchical name of the group task. A filter to return only tasks contained within the selected group task. Omit to return top-level tasks only. Can be combined with task name query parameter, in which case task name becomes a hierarchical name relative to the selected group task, e.g. ?groupTaskName=A.B&taskName=C.D is equal to ?taskName=A.B.C.D. Mutually exclusive with the task id query parameter: you can't pass both.
+ */
+ private String groupTaskName = null;
+
+ /**
+ * Hierarchical name of the group task. A filter to return only tasks contained within the selected group task. Omit to return top-level tasks only. Can be combined with task name query parameter, in which case task name becomes a hierarchical name relative to the selected group task, e.g. ?groupTaskName=A.B&taskName=C.D is equal to ?taskName=A.B.C.D. Mutually exclusive with the task id query parameter: you can't pass both.
+ * @param groupTaskName the value to set
+ * @return this builder instance
+ */
+ public Builder groupTaskName(String groupTaskName) {
+ this.groupTaskName = groupTaskName;
+ return this;
+ }
+
+ /**
+ * Filter tasks by type. Valid values are: COMPUTE, GROUP.
+ */
+ private com.oracle.bmc.batch.model.BatchTask.Type type = null;
+
+ /**
+ * Filter tasks by type. Valid values are: COMPUTE, GROUP.
+ * @param type the value to set
+ * @return this builder instance
+ */
+ public Builder type(com.oracle.bmc.batch.model.BatchTask.Type type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Defines the hierarchical scope of the tasks to be returned. When set to SHALLOW, which is default, only tasks contained directly (non-recursively) within current hierarchy entry are returned. When set to DEEP, tasks contained within current hierarchy entry and all its descendants recursively are returned. The default hierarchy entry is root, i.e. batch job itself. To use a different hierarchy entry, provide the group task name as a query parameter. The specified group task becomes the entry point instead of the batch job.
+ */
+ private com.oracle.bmc.batch.model.BatchTaskHierarchyView hierarchyView = null;
+
+ /**
+ * Defines the hierarchical scope of the tasks to be returned. When set to SHALLOW, which is default, only tasks contained directly (non-recursively) within current hierarchy entry are returned. When set to DEEP, tasks contained within current hierarchy entry and all its descendants recursively are returned. The default hierarchy entry is root, i.e. batch job itself. To use a different hierarchy entry, provide the group task name as a query parameter. The specified group task becomes the entry point instead of the batch job.
+ * @param hierarchyView the value to set
+ * @return this builder instance
+ */
+ public Builder hierarchyView(
+ com.oracle.bmc.batch.model.BatchTaskHierarchyView hierarchyView) {
+ this.hierarchyView = hierarchyView;
+ return this;
+ }
+
/**
* For list pagination. The maximum number of results per page, or items to return in a
* paginated "List" call. For important details about how pagination works, see
@@ -311,6 +416,10 @@ public Builder copy(ListBatchJobTasksRequest o) {
batchJobId(o.getBatchJobId());
lifecycleState(o.getLifecycleState());
name(o.getName());
+ taskId(o.getTaskId());
+ groupTaskName(o.getGroupTaskName());
+ type(o.getType());
+ hierarchyView(o.getHierarchyView());
limit(o.getLimit());
page(o.getPage());
sortOrder(o.getSortOrder());
@@ -351,13 +460,17 @@ public ListBatchJobTasksRequest buildWithoutInvocationCallback() {
request.batchJobId = batchJobId;
request.lifecycleState = lifecycleState;
request.name = name;
+ request.taskId = taskId;
+ request.groupTaskName = groupTaskName;
+ request.type = type;
+ request.hierarchyView = hierarchyView;
request.limit = limit;
request.page = page;
request.sortOrder = sortOrder;
request.sortBy = sortBy;
request.opcRequestId = opcRequestId;
return request;
- // new ListBatchJobTasksRequest(batchJobId, lifecycleState, name, limit, page, sortOrder, sortBy, opcRequestId);
+ // new ListBatchJobTasksRequest(batchJobId, lifecycleState, name, taskId, groupTaskName, type, hierarchyView, limit, page, sortOrder, sortBy, opcRequestId);
}
}
@@ -370,6 +483,10 @@ public Builder toBuilder() {
.batchJobId(batchJobId)
.lifecycleState(lifecycleState)
.name(name)
+ .taskId(taskId)
+ .groupTaskName(groupTaskName)
+ .type(type)
+ .hierarchyView(hierarchyView)
.limit(limit)
.page(page)
.sortOrder(sortOrder)
@@ -393,6 +510,10 @@ public String toString() {
sb.append(",batchJobId=").append(String.valueOf(this.batchJobId));
sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(",name=").append(String.valueOf(this.name));
+ sb.append(",taskId=").append(String.valueOf(this.taskId));
+ sb.append(",groupTaskName=").append(String.valueOf(this.groupTaskName));
+ sb.append(",type=").append(String.valueOf(this.type));
+ sb.append(",hierarchyView=").append(String.valueOf(this.hierarchyView));
sb.append(",limit=").append(String.valueOf(this.limit));
sb.append(",page=").append(String.valueOf(this.page));
sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
@@ -416,6 +537,10 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.batchJobId, other.batchJobId)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.name, other.name)
+ && java.util.Objects.equals(this.taskId, other.taskId)
+ && java.util.Objects.equals(this.groupTaskName, other.groupTaskName)
+ && java.util.Objects.equals(this.type, other.type)
+ && java.util.Objects.equals(this.hierarchyView, other.hierarchyView)
&& java.util.Objects.equals(this.limit, other.limit)
&& java.util.Objects.equals(this.page, other.page)
&& java.util.Objects.equals(this.sortOrder, other.sortOrder)
@@ -432,6 +557,14 @@ public int hashCode() {
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode());
+ result = (result * PRIME) + (this.taskId == null ? 43 : this.taskId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.groupTaskName == null ? 43 : this.groupTaskName.hashCode());
+ result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode());
+ result =
+ (result * PRIME)
+ + (this.hierarchyView == null ? 43 : this.hierarchyView.hashCode());
result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode());
result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode());
diff --git a/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchTasksRequest.java b/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchTasksRequest.java
index 93122a111f4..2561fd15aeb 100644
--- a/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchTasksRequest.java
+++ b/bmc-batch/src/main/java/com/oracle/bmc/batch/requests/ListBatchTasksRequest.java
@@ -49,16 +49,27 @@ public com.oracle.bmc.batch.model.BatchTask.LifecycleState getLifecycleState() {
return lifecycleState;
}
/**
- * The name of the task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
*/
private String name;
/**
- * The name of the task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
*/
public String getName() {
return name;
}
+ /**
+ * The UUID of the batch task. Mutually exclusive with the task name and group task name query parameters: you can't pass both.
+ */
+ private String taskId;
+
+ /**
+ * The UUID of the batch task. Mutually exclusive with the task name and group task name query parameters: you can't pass both.
+ */
+ public String getTaskId() {
+ return taskId;
+ }
/**
* For list pagination. The maximum number of results per page, or items to return in a
* paginated "List" call. For important details about how pagination works, see
@@ -195,12 +206,12 @@ public Builder lifecycleState(
}
/**
- * The name of the task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
*/
private String name = null;
/**
- * The name of the task.
+ * The hierarchical name of the batch task. Mutually exclusive with the task id query parameter: you can't pass both.
* @param name the value to set
* @return this builder instance
*/
@@ -209,6 +220,21 @@ public Builder name(String name) {
return this;
}
+ /**
+ * The UUID of the batch task. Mutually exclusive with the task name and group task name query parameters: you can't pass both.
+ */
+ private String taskId = null;
+
+ /**
+ * The UUID of the batch task. Mutually exclusive with the task name and group task name query parameters: you can't pass both.
+ * @param taskId the value to set
+ * @return this builder instance
+ */
+ public Builder taskId(String taskId) {
+ this.taskId = taskId;
+ return this;
+ }
+
/**
* For list pagination. The maximum number of results per page, or items to return in a
* paginated "List" call. For important details about how pagination works, see
@@ -338,6 +364,7 @@ public Builder copy(ListBatchTasksRequest o) {
batchJobId(o.getBatchJobId());
lifecycleState(o.getLifecycleState());
name(o.getName());
+ taskId(o.getTaskId());
limit(o.getLimit());
page(o.getPage());
sortOrder(o.getSortOrder());
@@ -379,13 +406,14 @@ public ListBatchTasksRequest buildWithoutInvocationCallback() {
request.batchJobId = batchJobId;
request.lifecycleState = lifecycleState;
request.name = name;
+ request.taskId = taskId;
request.limit = limit;
request.page = page;
request.sortOrder = sortOrder;
request.sortBy = sortBy;
request.opcRequestId = opcRequestId;
return request;
- // new ListBatchTasksRequest(compartmentId, batchJobId, lifecycleState, name, limit, page, sortOrder, sortBy, opcRequestId);
+ // new ListBatchTasksRequest(compartmentId, batchJobId, lifecycleState, name, taskId, limit, page, sortOrder, sortBy, opcRequestId);
}
}
@@ -399,6 +427,7 @@ public Builder toBuilder() {
.batchJobId(batchJobId)
.lifecycleState(lifecycleState)
.name(name)
+ .taskId(taskId)
.limit(limit)
.page(page)
.sortOrder(sortOrder)
@@ -423,6 +452,7 @@ public String toString() {
sb.append(",batchJobId=").append(String.valueOf(this.batchJobId));
sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(",name=").append(String.valueOf(this.name));
+ sb.append(",taskId=").append(String.valueOf(this.taskId));
sb.append(",limit=").append(String.valueOf(this.limit));
sb.append(",page=").append(String.valueOf(this.page));
sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
@@ -447,6 +477,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.batchJobId, other.batchJobId)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.name, other.name)
+ && java.util.Objects.equals(this.taskId, other.taskId)
&& java.util.Objects.equals(this.limit, other.limit)
&& java.util.Objects.equals(this.page, other.page)
&& java.util.Objects.equals(this.sortOrder, other.sortOrder)
@@ -466,6 +497,7 @@ public int hashCode() {
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode());
+ result = (result * PRIME) + (this.taskId == null ? 43 : this.taskId.hashCode());
result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode());
result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode());
result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode());
diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml
index 361699a560a..b176a466a2f 100644
--- a/bmc-bds/pom.xml
+++ b/bmc-bds/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-bds
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateBdsMetastoreConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateBdsMetastoreConfigurationDetails.java
index 830c03424c3..a735d9678b0 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateBdsMetastoreConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateBdsMetastoreConfigurationDetails.java
@@ -22,10 +22,22 @@
public final class ActivateBdsMetastoreConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"bdsApiKeyPassphrase", "clusterAdminPassword", "secretId"})
public ActivateBdsMetastoreConfigurationDetails(
String bdsApiKeyPassphrase, String clusterAdminPassword, String secretId) {
super();
+ this.bdsApiKeyPassphrase =
+ bdsApiKeyPassphrase != null ? bdsApiKeyPassphrase.toCharArray() : null;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"bdsApiKeyPassphrase", "clusterAdminPassword", "secretId"})
+ public ActivateBdsMetastoreConfigurationDetails(
+ char[] bdsApiKeyPassphrase, char[] clusterAdminPassword, String secretId) {
+ super();
this.bdsApiKeyPassphrase = bdsApiKeyPassphrase;
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -37,34 +49,50 @@ public static class Builder {
* Base-64 encoded passphrase of the BDS Api Key. Set only if metastore's type is EXTERNAL.
**/
@com.fasterxml.jackson.annotation.JsonProperty("bdsApiKeyPassphrase")
- private String bdsApiKeyPassphrase;
+ private char[] bdsApiKeyPassphrase;
/**
* Base-64 encoded passphrase of the BDS Api Key. Set only if metastore's type is EXTERNAL.
* @param bdsApiKeyPassphrase the value to set
* @return this builder
**/
- public Builder bdsApiKeyPassphrase(String bdsApiKeyPassphrase) {
+ public Builder bdsApiKeyPassphrase(char[] bdsApiKeyPassphrase) {
this.bdsApiKeyPassphrase = bdsApiKeyPassphrase;
this.__explicitlySet__.add("bdsApiKeyPassphrase");
return this;
}
+
+ public Builder bdsApiKeyPassphrase(String bdsApiKeyPassphrase) {
+ this.bdsApiKeyPassphrase =
+ bdsApiKeyPassphrase != null ? bdsApiKeyPassphrase.toCharArray() : null;
+ this.__explicitlySet__.add("bdsApiKeyPassphrase");
+ return this;
+ }
+
/**
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -125,13 +153,25 @@ public Builder toBuilder() {
* Base-64 encoded passphrase of the BDS Api Key. Set only if metastore's type is EXTERNAL.
**/
@com.fasterxml.jackson.annotation.JsonProperty("bdsApiKeyPassphrase")
- private final String bdsApiKeyPassphrase;
+ private final char[] bdsApiKeyPassphrase;
+
+ /**
+ * Base-64 encoded passphrase of the BDS Api Key. Set only if metastore's type is EXTERNAL.
+ * return the value
+ * @Deprecated - Use getBdsApiKeyPassphrase__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getBdsApiKeyPassphrase() {
+ return bdsApiKeyPassphrase != null ? new String(bdsApiKeyPassphrase) : null;
+ }
/**
* Base-64 encoded passphrase of the BDS Api Key. Set only if metastore's type is EXTERNAL.
* @return the value
**/
- public String getBdsApiKeyPassphrase() {
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsApiKeyPassphrase")
+ public char[] getBdsApiKeyPassphrase__AsCharArray() {
return bdsApiKeyPassphrase;
}
@@ -139,13 +179,25 @@ public String getBdsApiKeyPassphrase() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateIamUserSyncConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateIamUserSyncConfigurationDetails.java
index ef70c4791db..21b712d01f2 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateIamUserSyncConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateIamUserSyncConfigurationDetails.java
@@ -22,13 +22,26 @@
public final class ActivateIamUserSyncConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public ActivateIamUserSyncConfigurationDetails(
+ String clusterAdminPassword,
+ String secretId,
+ Boolean isPosixAttributesAdditionRequired) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.isPosixAttributesAdditionRequired = isPosixAttributesAdditionRequired;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
"isPosixAttributesAdditionRequired"
})
public ActivateIamUserSyncConfigurationDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
Boolean isPosixAttributesAdditionRequired) {
super();
@@ -43,18 +56,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -135,13 +156,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateUpstConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateUpstConfigurationDetails.java
index 229d554f6b0..df7165c40f2 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateUpstConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ActivateUpstConfigurationDetails.java
@@ -22,6 +22,21 @@
public final class ActivateUpstConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public ActivateUpstConfigurationDetails(
+ String clusterAdminPassword,
+ String secretId,
+ String vaultId,
+ String masterEncryptionKeyId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.vaultId = vaultId;
+ this.masterEncryptionKeyId = masterEncryptionKeyId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
@@ -29,7 +44,7 @@ public final class ActivateUpstConfigurationDetails
"masterEncryptionKeyId"
})
public ActivateUpstConfigurationDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
String vaultId,
String masterEncryptionKeyId) {
@@ -46,18 +61,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -156,13 +179,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddAutoScalingConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddAutoScalingConfigurationDetails.java
index fcc10b09cc5..b8f7222ac5f 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddAutoScalingConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddAutoScalingConfigurationDetails.java
@@ -22,6 +22,27 @@
public final class AddAutoScalingConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public AddAutoScalingConfigurationDetails(
+ String displayName,
+ Node.NodeType nodeType,
+ Boolean isEnabled,
+ String clusterAdminPassword,
+ String secretId,
+ AutoScalePolicy policy,
+ AddAutoScalePolicyDetails policyDetails) {
+ super();
+ this.displayName = displayName;
+ this.nodeType = nodeType;
+ this.isEnabled = isEnabled;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.policy = policy;
+ this.policyDetails = policyDetails;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"displayName",
"nodeType",
@@ -35,7 +56,7 @@ public AddAutoScalingConfigurationDetails(
String displayName,
Node.NodeType nodeType,
Boolean isEnabled,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
AutoScalePolicy policy,
AddAutoScalePolicyDetails policyDetails) {
@@ -103,18 +124,26 @@ public Builder isEnabled(Boolean isEnabled) {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -253,13 +282,25 @@ public Boolean getIsEnabled() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddBlockStorageDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddBlockStorageDetails.java
index d441e92689e..d0f74815234 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddBlockStorageDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddBlockStorageDetails.java
@@ -22,6 +22,23 @@
public final class AddBlockStorageDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public AddBlockStorageDetails(
+ String clusterAdminPassword,
+ String secretId,
+ Long blockVolumeSizeInGBs,
+ NodeType nodeType,
+ java.util.List nodeIds) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.blockVolumeSizeInGBs = blockVolumeSizeInGBs;
+ this.nodeType = nodeType;
+ this.nodeIds = nodeIds;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
@@ -30,7 +47,7 @@ public final class AddBlockStorageDetails
"nodeIds"
})
public AddBlockStorageDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
Long blockVolumeSizeInGBs,
NodeType nodeType,
@@ -49,18 +66,26 @@ public static class Builder {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -193,13 +218,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddCloudSqlDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddCloudSqlDetails.java
index defd6cbbd32..2f0e5c333bd 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddCloudSqlDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddCloudSqlDetails.java
@@ -20,6 +20,21 @@
)
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class AddCloudSqlDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ public AddCloudSqlDetails(
+ String shape,
+ ShapeConfigDetails shapeConfig,
+ Long blockVolumeSizeInGBs,
+ String clusterAdminPassword) {
+ super();
+ this.shape = shape;
+ this.shapeConfig = shapeConfig;
+ this.blockVolumeSizeInGBs = blockVolumeSizeInGBs;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
@Deprecated
@java.beans.ConstructorProperties({
"shape",
@@ -31,7 +46,7 @@ public AddCloudSqlDetails(
String shape,
ShapeConfigDetails shapeConfig,
Long blockVolumeSizeInGBs,
- String clusterAdminPassword) {
+ char[] clusterAdminPassword) {
super();
this.shape = shape;
this.shapeConfig = shapeConfig;
@@ -88,19 +103,26 @@ public Builder blockVolumeSizeInGBs(Long blockVolumeSizeInGBs) {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -187,13 +209,25 @@ public Long getBlockVolumeSizeInGBs() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddKafkaDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddKafkaDetails.java
index a2bb577f3a9..bca5a7207f2 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddKafkaDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddKafkaDetails.java
@@ -18,6 +18,25 @@
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AddKafkaDetails.Builder.class)
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class AddKafkaDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ public AddKafkaDetails(
+ String shape,
+ Integer numberOfKafkaNodes,
+ ShapeConfigDetails shapeConfig,
+ Long blockVolumeSizeInGBs,
+ String clusterAdminPassword,
+ String secretId) {
+ super();
+ this.shape = shape;
+ this.numberOfKafkaNodes = numberOfKafkaNodes;
+ this.shapeConfig = shapeConfig;
+ this.blockVolumeSizeInGBs = blockVolumeSizeInGBs;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
@Deprecated
@java.beans.ConstructorProperties({
"shape",
@@ -32,7 +51,7 @@ public AddKafkaDetails(
Integer numberOfKafkaNodes,
ShapeConfigDetails shapeConfig,
Long blockVolumeSizeInGBs,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId) {
super();
this.shape = shape;
@@ -108,18 +127,26 @@ public Builder blockVolumeSizeInGBs(Long blockVolumeSizeInGBs) {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -245,13 +272,25 @@ public Long getBlockVolumeSizeInGBs() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddMasterNodesDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddMasterNodesDetails.java
index 790d6c16b9b..bc2e13a81b2 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddMasterNodesDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddMasterNodesDetails.java
@@ -22,6 +22,25 @@
public final class AddMasterNodesDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public AddMasterNodesDetails(
+ String clusterAdminPassword,
+ String secretId,
+ Integer numberOfMasterNodes,
+ String shape,
+ Long blockVolumeSizeInGBs,
+ ShapeConfigDetails shapeConfig) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.numberOfMasterNodes = numberOfMasterNodes;
+ this.shape = shape;
+ this.blockVolumeSizeInGBs = blockVolumeSizeInGBs;
+ this.shapeConfig = shapeConfig;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
@@ -31,7 +50,7 @@ public final class AddMasterNodesDetails
"shapeConfig"
})
public AddMasterNodesDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
Integer numberOfMasterNodes,
String shape,
@@ -52,18 +71,26 @@ public static class Builder {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -197,13 +224,25 @@ public Builder toBuilder() {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded Cluster Admin Password for cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddUtilityNodesDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddUtilityNodesDetails.java
index ee851089693..106c614be03 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddUtilityNodesDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddUtilityNodesDetails.java
@@ -22,6 +22,25 @@
public final class AddUtilityNodesDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public AddUtilityNodesDetails(
+ String clusterAdminPassword,
+ String secretId,
+ Integer numberOfUtilityNodes,
+ String shape,
+ Long blockVolumeSizeInGBs,
+ ShapeConfigDetails shapeConfig) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.numberOfUtilityNodes = numberOfUtilityNodes;
+ this.shape = shape;
+ this.blockVolumeSizeInGBs = blockVolumeSizeInGBs;
+ this.shapeConfig = shapeConfig;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
@@ -31,7 +50,7 @@ public final class AddUtilityNodesDetails
"shapeConfig"
})
public AddUtilityNodesDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
Integer numberOfUtilityNodes,
String shape,
@@ -52,18 +71,26 @@ public static class Builder {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -197,13 +224,25 @@ public Builder toBuilder() {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded Cluster Admin Password for cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddWorkerNodesDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddWorkerNodesDetails.java
index b118cc55d0e..48f87e63d02 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddWorkerNodesDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/AddWorkerNodesDetails.java
@@ -22,6 +22,27 @@
public final class AddWorkerNodesDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public AddWorkerNodesDetails(
+ String clusterAdminPassword,
+ String secretId,
+ Integer numberOfWorkerNodes,
+ NodeType nodeType,
+ String shape,
+ Long blockVolumeSizeInGBs,
+ ShapeConfigDetails shapeConfig) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.numberOfWorkerNodes = numberOfWorkerNodes;
+ this.nodeType = nodeType;
+ this.shape = shape;
+ this.blockVolumeSizeInGBs = blockVolumeSizeInGBs;
+ this.shapeConfig = shapeConfig;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
@@ -32,7 +53,7 @@ public final class AddWorkerNodesDetails
"shapeConfig"
})
public AddWorkerNodesDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
Integer numberOfWorkerNodes,
NodeType nodeType,
@@ -55,18 +76,26 @@ public static class Builder {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -222,13 +251,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCertificateConfiguration.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCertificateConfiguration.java
index 71d461201a8..4f6cc831e99 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCertificateConfiguration.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsCertificateConfiguration.java
@@ -364,6 +364,7 @@ public enum LifecycleState {
Deleting("DELETING"),
Deleted("DELETED"),
Failed("FAILED"),
+ Updating("UPDATING"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsInstanceResetPasswordDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsInstanceResetPasswordDetails.java
index 5aaca6fddd4..46632ba2e36 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsInstanceResetPasswordDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/BdsInstanceResetPasswordDetails.java
@@ -22,10 +22,21 @@
public final class BdsInstanceResetPasswordDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId", "service"})
public BdsInstanceResetPasswordDetails(
String clusterAdminPassword, String secretId, Service service) {
super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.service = service;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId", "service"})
+ public BdsInstanceResetPasswordDetails(
+ char[] clusterAdminPassword, String secretId, Service service) {
+ super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
this.service = service;
@@ -37,18 +48,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the cluster admin user.
**/
@@ -125,13 +144,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ChangeShapeDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ChangeShapeDetails.java
index 5c8b34b54bd..aaf96b38737 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ChangeShapeDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ChangeShapeDetails.java
@@ -21,10 +21,21 @@
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class ChangeShapeDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId", "nodes"})
public ChangeShapeDetails(
String clusterAdminPassword, String secretId, ChangeShapeNodes nodes) {
super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.nodes = nodes;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId", "nodes"})
+ public ChangeShapeDetails(
+ char[] clusterAdminPassword, String secretId, ChangeShapeNodes nodes) {
+ super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
this.nodes = nodes;
@@ -36,18 +47,26 @@ public static class Builder {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -116,13 +135,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsApiKeyDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsApiKeyDetails.java
index 1d98ffa13ac..16deb89654e 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsApiKeyDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsApiKeyDetails.java
@@ -22,6 +22,22 @@
public final class CreateBdsApiKeyDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateBdsApiKeyDetails(
+ String userId,
+ String passphrase,
+ String defaultRegion,
+ String keyAlias,
+ String domainOcid) {
+ super();
+ this.userId = userId;
+ this.passphrase = passphrase != null ? passphrase.toCharArray() : null;
+ this.defaultRegion = defaultRegion;
+ this.keyAlias = keyAlias;
+ this.domainOcid = domainOcid;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"userId",
"passphrase",
@@ -31,7 +47,7 @@ public final class CreateBdsApiKeyDetails
})
public CreateBdsApiKeyDetails(
String userId,
- String passphrase,
+ char[] passphrase,
String defaultRegion,
String keyAlias,
String domainOcid) {
@@ -65,18 +81,25 @@ public Builder userId(String userId) {
* Base64 passphrase used to secure the private key which will be created on user behalf.
**/
@com.fasterxml.jackson.annotation.JsonProperty("passphrase")
- private String passphrase;
+ private char[] passphrase;
/**
* Base64 passphrase used to secure the private key which will be created on user behalf.
* @param passphrase the value to set
* @return this builder
**/
- public Builder passphrase(String passphrase) {
+ public Builder passphrase(char[] passphrase) {
this.passphrase = passphrase;
this.__explicitlySet__.add("passphrase");
return this;
}
+
+ public Builder passphrase(String passphrase) {
+ this.passphrase = passphrase != null ? passphrase.toCharArray() : null;
+ this.__explicitlySet__.add("passphrase");
+ return this;
+ }
+
/**
* The name of the region to establish the Object Storage endpoint. See https://docs.oracle.com/en-us/iaas/api/#/en/identity/20160918/Region/
* for additional information.
@@ -201,13 +224,25 @@ public String getUserId() {
* Base64 passphrase used to secure the private key which will be created on user behalf.
**/
@com.fasterxml.jackson.annotation.JsonProperty("passphrase")
- private final String passphrase;
+ private final char[] passphrase;
+
+ /**
+ * Base64 passphrase used to secure the private key which will be created on user behalf.
+ * return the value
+ * @Deprecated - Use getPassphrase__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassphrase() {
+ return passphrase != null ? new String(passphrase) : null;
+ }
/**
* Base64 passphrase used to secure the private key which will be created on user behalf.
* @return the value
**/
- public String getPassphrase() {
+ @com.fasterxml.jackson.annotation.JsonProperty("passphrase")
+ public char[] getPassphrase__AsCharArray() {
return passphrase;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCertificateConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCertificateConfigurationDetails.java
index ee9681bcd8e..ad47ff0ba90 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCertificateConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsCertificateConfigurationDetails.java
@@ -26,24 +26,18 @@ public final class CreateBdsCertificateConfigurationDetails
"displayName",
"certificateAuthorityId",
"certificateType",
- "compartmentId",
- "clusterAdminPassword",
- "secretId"
+ "compartmentId"
})
public CreateBdsCertificateConfigurationDetails(
String displayName,
String certificateAuthorityId,
BdsCertificateConfiguration.Type certificateType,
- String compartmentId,
- String clusterAdminPassword,
- String secretId) {
+ String compartmentId) {
super();
this.displayName = displayName;
this.certificateAuthorityId = certificateAuthorityId;
this.certificateType = certificateType;
this.compartmentId = compartmentId;
- this.clusterAdminPassword = clusterAdminPassword;
- this.secretId = secretId;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -112,38 +106,6 @@ public Builder compartmentId(String compartmentId) {
this.__explicitlySet__.add("compartmentId");
return this;
}
- /**
- * Base-64 encoded password for the cluster admin user.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
-
- /**
- * Base-64 encoded password for the cluster admin user.
- * @param clusterAdminPassword the value to set
- * @return this builder
- **/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
- this.clusterAdminPassword = clusterAdminPassword;
- this.__explicitlySet__.add("clusterAdminPassword");
- return this;
- }
- /**
- * The secretId for the clusterAdminPassword.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("secretId")
- private String secretId;
-
- /**
- * The secretId for the clusterAdminPassword.
- * @param secretId the value to set
- * @return this builder
- **/
- public Builder secretId(String secretId) {
- this.secretId = secretId;
- this.__explicitlySet__.add("secretId");
- return this;
- }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -154,9 +116,7 @@ public CreateBdsCertificateConfigurationDetails build() {
this.displayName,
this.certificateAuthorityId,
this.certificateType,
- this.compartmentId,
- this.clusterAdminPassword,
- this.secretId);
+ this.compartmentId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -177,12 +137,6 @@ public Builder copy(CreateBdsCertificateConfigurationDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
- if (model.wasPropertyExplicitlySet("clusterAdminPassword")) {
- this.clusterAdminPassword(model.getClusterAdminPassword());
- }
- if (model.wasPropertyExplicitlySet("secretId")) {
- this.secretId(model.getSecretId());
- }
return this;
}
}
@@ -254,34 +208,6 @@ public String getCompartmentId() {
return compartmentId;
}
- /**
- * Base-64 encoded password for the cluster admin user.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
-
- /**
- * Base-64 encoded password for the cluster admin user.
- * @return the value
- **/
- public String getClusterAdminPassword() {
- return clusterAdminPassword;
- }
-
- /**
- * The secretId for the clusterAdminPassword.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("secretId")
- private final String secretId;
-
- /**
- * The secretId for the clusterAdminPassword.
- * @return the value
- **/
- public String getSecretId() {
- return secretId;
- }
-
@Override
public String toString() {
return this.toString(true);
@@ -300,8 +226,6 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", certificateAuthorityId=").append(String.valueOf(this.certificateAuthorityId));
sb.append(", certificateType=").append(String.valueOf(this.certificateType));
sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
- sb.append(", clusterAdminPassword=").append("");
- sb.append(", secretId=").append(String.valueOf(this.secretId));
sb.append(")");
return sb.toString();
}
@@ -322,8 +246,6 @@ public boolean equals(Object o) {
this.certificateAuthorityId, other.certificateAuthorityId)
&& java.util.Objects.equals(this.certificateType, other.certificateType)
&& java.util.Objects.equals(this.compartmentId, other.compartmentId)
- && java.util.Objects.equals(this.clusterAdminPassword, other.clusterAdminPassword)
- && java.util.Objects.equals(this.secretId, other.secretId)
&& super.equals(other);
}
@@ -343,12 +265,6 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
- result =
- (result * PRIME)
- + (this.clusterAdminPassword == null
- ? 43
- : this.clusterAdminPassword.hashCode());
- result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsInstanceDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsInstanceDetails.java
index fbef91ff9b3..9160ab52ccb 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsInstanceDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsInstanceDetails.java
@@ -22,6 +22,49 @@
public final class CreateBdsInstanceDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateBdsInstanceDetails(
+ String compartmentId,
+ String displayName,
+ BdsInstance.ClusterVersion clusterVersion,
+ String clusterPublicKey,
+ String clusterAdminPassword,
+ String secretId,
+ Boolean isSecretReused,
+ Boolean isHighAvailability,
+ Boolean isSecure,
+ NetworkConfig networkConfig,
+ String bootstrapScriptUrl,
+ java.util.List nodes,
+ String kerberosRealmName,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ String kmsKeyId,
+ BdsInstance.ClusterProfile clusterProfile,
+ BdsClusterVersionSummary bdsClusterVersionSummary) {
+ super();
+ this.compartmentId = compartmentId;
+ this.displayName = displayName;
+ this.clusterVersion = clusterVersion;
+ this.clusterPublicKey = clusterPublicKey;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.isSecretReused = isSecretReused;
+ this.isHighAvailability = isHighAvailability;
+ this.isSecure = isSecure;
+ this.networkConfig = networkConfig;
+ this.bootstrapScriptUrl = bootstrapScriptUrl;
+ this.nodes = nodes;
+ this.kerberosRealmName = kerberosRealmName;
+ this.freeformTags = freeformTags;
+ this.definedTags = definedTags;
+ this.kmsKeyId = kmsKeyId;
+ this.clusterProfile = clusterProfile;
+ this.bdsClusterVersionSummary = bdsClusterVersionSummary;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"compartmentId",
"displayName",
@@ -47,7 +90,7 @@ public CreateBdsInstanceDetails(
String displayName,
BdsInstance.ClusterVersion clusterVersion,
String clusterPublicKey,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
Boolean isSecretReused,
Boolean isHighAvailability,
@@ -152,18 +195,26 @@ public Builder clusterPublicKey(String clusterPublicKey) {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user. Not required if the secretId is specified.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user. Not required if the secretId is specified.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -529,13 +580,25 @@ public String getClusterPublicKey() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user. Not required if the secretId is specified.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user. Not required if the secretId is specified.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user. Not required if the secretId is specified.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsMetastoreConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsMetastoreConfigurationDetails.java
index 366c5ceb9a7..719b2f502d3 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsMetastoreConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateBdsMetastoreConfigurationDetails.java
@@ -22,6 +22,26 @@
public final class CreateBdsMetastoreConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateBdsMetastoreConfigurationDetails(
+ String displayName,
+ String metastoreId,
+ String bdsApiKeyId,
+ String bdsApiKeyPassphrase,
+ String clusterAdminPassword,
+ String secretId) {
+ super();
+ this.displayName = displayName;
+ this.metastoreId = metastoreId;
+ this.bdsApiKeyId = bdsApiKeyId;
+ this.bdsApiKeyPassphrase =
+ bdsApiKeyPassphrase != null ? bdsApiKeyPassphrase.toCharArray() : null;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"displayName",
"metastoreId",
@@ -34,8 +54,8 @@ public CreateBdsMetastoreConfigurationDetails(
String displayName,
String metastoreId,
String bdsApiKeyId,
- String bdsApiKeyPassphrase,
- String clusterAdminPassword,
+ char[] bdsApiKeyPassphrase,
+ char[] clusterAdminPassword,
String secretId) {
super();
this.displayName = displayName;
@@ -100,34 +120,50 @@ public Builder bdsApiKeyId(String bdsApiKeyId) {
* Base-64 encoded passphrase of the BDS Api Key.
**/
@com.fasterxml.jackson.annotation.JsonProperty("bdsApiKeyPassphrase")
- private String bdsApiKeyPassphrase;
+ private char[] bdsApiKeyPassphrase;
/**
* Base-64 encoded passphrase of the BDS Api Key.
* @param bdsApiKeyPassphrase the value to set
* @return this builder
**/
- public Builder bdsApiKeyPassphrase(String bdsApiKeyPassphrase) {
+ public Builder bdsApiKeyPassphrase(char[] bdsApiKeyPassphrase) {
this.bdsApiKeyPassphrase = bdsApiKeyPassphrase;
this.__explicitlySet__.add("bdsApiKeyPassphrase");
return this;
}
+
+ public Builder bdsApiKeyPassphrase(String bdsApiKeyPassphrase) {
+ this.bdsApiKeyPassphrase =
+ bdsApiKeyPassphrase != null ? bdsApiKeyPassphrase.toCharArray() : null;
+ this.__explicitlySet__.add("bdsApiKeyPassphrase");
+ return this;
+ }
+
/**
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -244,13 +280,25 @@ public String getBdsApiKeyId() {
* Base-64 encoded passphrase of the BDS Api Key.
**/
@com.fasterxml.jackson.annotation.JsonProperty("bdsApiKeyPassphrase")
- private final String bdsApiKeyPassphrase;
+ private final char[] bdsApiKeyPassphrase;
+
+ /**
+ * Base-64 encoded passphrase of the BDS Api Key.
+ * return the value
+ * @Deprecated - Use getBdsApiKeyPassphrase__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getBdsApiKeyPassphrase() {
+ return bdsApiKeyPassphrase != null ? new String(bdsApiKeyPassphrase) : null;
+ }
/**
* Base-64 encoded passphrase of the BDS Api Key.
* @return the value
**/
- public String getBdsApiKeyPassphrase() {
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsApiKeyPassphrase")
+ public char[] getBdsApiKeyPassphrase__AsCharArray() {
return bdsApiKeyPassphrase;
}
@@ -258,13 +306,25 @@ public String getBdsApiKeyPassphrase() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateIdentityConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateIdentityConfigurationDetails.java
index 49e0e00b8f7..61438c8ee9d 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateIdentityConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateIdentityConfigurationDetails.java
@@ -22,6 +22,27 @@
public final class CreateIdentityConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateIdentityConfigurationDetails(
+ String clusterAdminPassword,
+ String secretId,
+ String displayName,
+ String identityDomainId,
+ String confidentialApplicationId,
+ UpstConfigurationDetails upstConfigurationDetails,
+ IamUserSyncConfigurationDetails iamUserSyncConfigurationDetails) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.displayName = displayName;
+ this.identityDomainId = identityDomainId;
+ this.confidentialApplicationId = confidentialApplicationId;
+ this.upstConfigurationDetails = upstConfigurationDetails;
+ this.iamUserSyncConfigurationDetails = iamUserSyncConfigurationDetails;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
@@ -32,7 +53,7 @@ public final class CreateIdentityConfigurationDetails
"iamUserSyncConfigurationDetails"
})
public CreateIdentityConfigurationDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
String displayName,
String identityDomainId,
@@ -55,18 +76,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -212,13 +241,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeReplaceConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeReplaceConfigurationDetails.java
index 37734187a4c..a3a2488050a 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeReplaceConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateNodeReplaceConfigurationDetails.java
@@ -22,6 +22,25 @@
public final class CreateNodeReplaceConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateNodeReplaceConfigurationDetails(
+ LevelTypeDetails levelTypeDetails,
+ String displayName,
+ String clusterAdminPassword,
+ String secretId,
+ NodeReplaceConfiguration.MetricType metricType,
+ Integer durationInMinutes) {
+ super();
+ this.levelTypeDetails = levelTypeDetails;
+ this.displayName = displayName;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.metricType = metricType;
+ this.durationInMinutes = durationInMinutes;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"levelTypeDetails",
"displayName",
@@ -33,7 +52,7 @@ public final class CreateNodeReplaceConfigurationDetails
public CreateNodeReplaceConfigurationDetails(
LevelTypeDetails levelTypeDetails,
String displayName,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
NodeReplaceConfiguration.MetricType metricType,
Integer durationInMinutes) {
@@ -77,18 +96,26 @@ public Builder displayName(String displayName) {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -216,13 +243,25 @@ public String getDisplayName() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateResourcePrincipalConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateResourcePrincipalConfigurationDetails.java
index ccd6a9d5256..19e66af29cd 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateResourcePrincipalConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/CreateResourcePrincipalConfigurationDetails.java
@@ -22,6 +22,21 @@
public final class CreateResourcePrincipalConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public CreateResourcePrincipalConfigurationDetails(
+ String displayName,
+ String clusterAdminPassword,
+ String secretId,
+ Integer sessionTokenLifeSpanDurationInHours) {
+ super();
+ this.displayName = displayName;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.sessionTokenLifeSpanDurationInHours = sessionTokenLifeSpanDurationInHours;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"displayName",
"clusterAdminPassword",
@@ -30,7 +45,7 @@ public final class CreateResourcePrincipalConfigurationDetails
})
public CreateResourcePrincipalConfigurationDetails(
String displayName,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
Integer sessionTokenLifeSpanDurationInHours) {
super();
@@ -62,18 +77,26 @@ public Builder displayName(String displayName) {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -172,13 +195,25 @@ public String getDisplayName() {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded Cluster Admin Password for cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DeactivateIamUserSyncConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DeactivateIamUserSyncConfigurationDetails.java
index 9a3dda422ef..11f9f6307ef 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DeactivateIamUserSyncConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DeactivateIamUserSyncConfigurationDetails.java
@@ -22,8 +22,17 @@
public final class DeactivateIamUserSyncConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public DeactivateIamUserSyncConfigurationDetails(String clusterAdminPassword, String secretId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public DeactivateIamUserSyncConfigurationDetails(char[] clusterAdminPassword, String secretId) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -35,18 +44,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -104,13 +121,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DeactivateUpstConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DeactivateUpstConfigurationDetails.java
index 9c695e2fe98..f9ba2dadaa1 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DeactivateUpstConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DeactivateUpstConfigurationDetails.java
@@ -22,8 +22,17 @@
public final class DeactivateUpstConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public DeactivateUpstConfigurationDetails(String clusterAdminPassword, String secretId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public DeactivateUpstConfigurationDetails(char[] clusterAdminPassword, String secretId) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -35,18 +44,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -104,13 +121,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DisableCertificateDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DisableCertificateDetails.java
index d29d11b43b7..3113eefce75 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DisableCertificateDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/DisableCertificateDetails.java
@@ -22,10 +22,21 @@
public final class DisableCertificateDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId", "services"})
public DisableCertificateDetails(
String clusterAdminPassword, String secretId, java.util.List services) {
super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.services = services;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId", "services"})
+ public DisableCertificateDetails(
+ char[] clusterAdminPassword, String secretId, java.util.List services) {
+ super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
this.services = services;
@@ -37,18 +48,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -125,13 +144,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/EnableCertificateDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/EnableCertificateDetails.java
index 737d4e6be25..8ddd878d8b3 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/EnableCertificateDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/EnableCertificateDetails.java
@@ -22,6 +22,25 @@
public final class EnableCertificateDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public EnableCertificateDetails(
+ String clusterAdminPassword,
+ String secretId,
+ java.util.List services,
+ String rootCertificate,
+ java.util.List hostCertDetails,
+ String serverKeyPassword) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.services = services;
+ this.rootCertificate = rootCertificate;
+ this.hostCertDetails = hostCertDetails;
+ this.serverKeyPassword = serverKeyPassword != null ? serverKeyPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
@@ -31,12 +50,12 @@ public final class EnableCertificateDetails
"serverKeyPassword"
})
public EnableCertificateDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
java.util.List services,
String rootCertificate,
java.util.List hostCertDetails,
- String serverKeyPassword) {
+ char[] serverKeyPassword) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -52,18 +71,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -132,19 +159,26 @@ public Builder hostCertDetails(java.util.List hostCertDetails)
* Base-64 encoded password for CA certificate's private key. This value can be empty.
**/
@com.fasterxml.jackson.annotation.JsonProperty("serverKeyPassword")
- private String serverKeyPassword;
+ private char[] serverKeyPassword;
/**
* Base-64 encoded password for CA certificate's private key. This value can be empty.
* @param serverKeyPassword the value to set
* @return this builder
**/
- public Builder serverKeyPassword(String serverKeyPassword) {
+ public Builder serverKeyPassword(char[] serverKeyPassword) {
this.serverKeyPassword = serverKeyPassword;
this.__explicitlySet__.add("serverKeyPassword");
return this;
}
+ public Builder serverKeyPassword(String serverKeyPassword) {
+ this.serverKeyPassword =
+ serverKeyPassword != null ? serverKeyPassword.toCharArray() : null;
+ this.__explicitlySet__.add("serverKeyPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -202,13 +236,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
@@ -272,13 +318,25 @@ public java.util.List getHostCertDetails() {
* Base-64 encoded password for CA certificate's private key. This value can be empty.
**/
@com.fasterxml.jackson.annotation.JsonProperty("serverKeyPassword")
- private final String serverKeyPassword;
+ private final char[] serverKeyPassword;
+
+ /**
+ * Base-64 encoded password for CA certificate's private key. This value can be empty.
+ * return the value
+ * @Deprecated - Use getServerKeyPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getServerKeyPassword() {
+ return serverKeyPassword != null ? new String(serverKeyPassword) : null;
+ }
/**
* Base-64 encoded password for CA certificate's private key. This value can be empty.
* @return the value
**/
- public String getServerKeyPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("serverKeyPassword")
+ public char[] getServerKeyPassword__AsCharArray() {
return serverKeyPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ExecuteBootstrapScriptDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ExecuteBootstrapScriptDetails.java
index 989d87a3614..80bc833e761 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ExecuteBootstrapScriptDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ExecuteBootstrapScriptDetails.java
@@ -22,10 +22,21 @@
public final class ExecuteBootstrapScriptDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId", "bootstrapScriptUrl"})
public ExecuteBootstrapScriptDetails(
String clusterAdminPassword, String secretId, String bootstrapScriptUrl) {
super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.bootstrapScriptUrl = bootstrapScriptUrl;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId", "bootstrapScriptUrl"})
+ public ExecuteBootstrapScriptDetails(
+ char[] clusterAdminPassword, String secretId, String bootstrapScriptUrl) {
+ super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
this.bootstrapScriptUrl = bootstrapScriptUrl;
@@ -37,18 +48,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -125,13 +144,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ForceRefreshResourcePrincipalDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ForceRefreshResourcePrincipalDetails.java
index 73c5b2cc0e0..dc52a2dc35f 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ForceRefreshResourcePrincipalDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ForceRefreshResourcePrincipalDetails.java
@@ -22,8 +22,17 @@
public final class ForceRefreshResourcePrincipalDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public ForceRefreshResourcePrincipalDetails(String clusterAdminPassword, String secretId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public ForceRefreshResourcePrincipalDetails(char[] clusterAdminPassword, String secretId) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -35,18 +44,26 @@ public static class Builder {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -104,13 +121,25 @@ public Builder toBuilder() {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded Cluster Admin Password for cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/GenerateBdsCertificateDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/GenerateBdsCertificateDetails.java
index 219c613265d..fd821f68ffb 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/GenerateBdsCertificateDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/GenerateBdsCertificateDetails.java
@@ -22,6 +22,19 @@
public final class GenerateBdsCertificateDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public GenerateBdsCertificateDetails(
+ ManageBdsCertificateLevelTypeDetails manageCertificateLevelTypeDetails,
+ String clusterAdminPassword,
+ String secretId) {
+ super();
+ this.manageCertificateLevelTypeDetails = manageCertificateLevelTypeDetails;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"manageCertificateLevelTypeDetails",
"clusterAdminPassword",
@@ -29,7 +42,7 @@ public final class GenerateBdsCertificateDetails
})
public GenerateBdsCertificateDetails(
ManageBdsCertificateLevelTypeDetails manageCertificateLevelTypeDetails,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId) {
super();
this.manageCertificateLevelTypeDetails = manageCertificateLevelTypeDetails;
@@ -53,18 +66,26 @@ public Builder manageCertificateLevelTypeDetails(
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -135,13 +156,25 @@ public ManageBdsCertificateLevelTypeDetails getManageCertificateLevelTypeDetails
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/HostCertDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/HostCertDetails.java
index 06b9cb7a7d3..fb069abec87 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/HostCertDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/HostCertDetails.java
@@ -19,8 +19,17 @@
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class HostCertDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"hostName", "certificate", "privateKey"})
public HostCertDetails(String hostName, String certificate, String privateKey) {
+ super();
+ this.hostName = hostName;
+ this.certificate = certificate;
+ this.privateKey = privateKey != null ? privateKey.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"hostName", "certificate", "privateKey"})
+ public HostCertDetails(String hostName, String certificate, char[] privateKey) {
super();
this.hostName = hostName;
this.certificate = certificate;
@@ -65,19 +74,25 @@ public Builder certificate(String certificate) {
* Private key of the provided certificate
**/
@com.fasterxml.jackson.annotation.JsonProperty("privateKey")
- private String privateKey;
+ private char[] privateKey;
/**
* Private key of the provided certificate
* @param privateKey the value to set
* @return this builder
**/
- public Builder privateKey(String privateKey) {
+ public Builder privateKey(char[] privateKey) {
this.privateKey = privateKey;
this.__explicitlySet__.add("privateKey");
return this;
}
+ public Builder privateKey(String privateKey) {
+ this.privateKey = privateKey != null ? privateKey.toCharArray() : null;
+ this.__explicitlySet__.add("privateKey");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -148,13 +163,25 @@ public String getCertificate() {
* Private key of the provided certificate
**/
@com.fasterxml.jackson.annotation.JsonProperty("privateKey")
- private final String privateKey;
+ private final char[] privateKey;
+
+ /**
+ * Private key of the provided certificate
+ * return the value
+ * @Deprecated - Use getPrivateKey__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPrivateKey() {
+ return privateKey != null ? new String(privateKey) : null;
+ }
/**
* Private key of the provided certificate
* @return the value
**/
- public String getPrivateKey() {
+ @com.fasterxml.jackson.annotation.JsonProperty("privateKey")
+ public char[] getPrivateKey__AsCharArray() {
return privateKey;
}
@@ -174,7 +201,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("hostName=").append(String.valueOf(this.hostName));
sb.append(", certificate=").append(String.valueOf(this.certificate));
- sb.append(", privateKey=").append(String.valueOf(this.privateKey));
+ sb.append(", privateKey=").append("");
sb.append(")");
return sb.toString();
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/InstallOsPatchDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/InstallOsPatchDetails.java
index c46d9db1f89..6314b56d4a1 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/InstallOsPatchDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/InstallOsPatchDetails.java
@@ -22,6 +22,23 @@
public final class InstallOsPatchDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public InstallOsPatchDetails(
+ String osPatchVersion,
+ String clusterAdminPassword,
+ String secretId,
+ PatchingConfigs patchingConfigs,
+ Boolean isDryRun) {
+ super();
+ this.osPatchVersion = osPatchVersion;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.patchingConfigs = patchingConfigs;
+ this.isDryRun = isDryRun;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"osPatchVersion",
"clusterAdminPassword",
@@ -31,7 +48,7 @@ public final class InstallOsPatchDetails
})
public InstallOsPatchDetails(
String osPatchVersion,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
PatchingConfigs patchingConfigs,
Boolean isDryRun) {
@@ -65,18 +82,26 @@ public Builder osPatchVersion(String osPatchVersion) {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -186,13 +211,25 @@ public String getOsPatchVersion() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/InstallPatchDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/InstallPatchDetails.java
index 5b716ceccfb..24cfde80815 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/InstallPatchDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/InstallPatchDetails.java
@@ -20,6 +20,21 @@
)
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class InstallPatchDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ public InstallPatchDetails(
+ String version,
+ String clusterAdminPassword,
+ String secretId,
+ OdhPatchingConfig patchingConfig) {
+ super();
+ this.version = version;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.patchingConfig = patchingConfig;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
@Deprecated
@java.beans.ConstructorProperties({
"version",
@@ -29,7 +44,7 @@ public final class InstallPatchDetails extends com.oracle.bmc.http.internal.Expl
})
public InstallPatchDetails(
String version,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
OdhPatchingConfig patchingConfig) {
super();
@@ -61,18 +76,26 @@ public Builder version(String version) {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -162,13 +185,25 @@ public String getVersion() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/PasswordSummary.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/PasswordSummary.java
index af39935df49..7c818b41cea 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/PasswordSummary.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/PasswordSummary.java
@@ -19,8 +19,15 @@
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class PasswordSummary extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"adminPassword"})
public PasswordSummary(String adminPassword) {
+ super();
+ this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"adminPassword"})
+ public PasswordSummary(char[] adminPassword) {
super();
this.adminPassword = adminPassword;
}
@@ -31,19 +38,25 @@ public static class Builder {
* Base-64 encoded new admin password for the requested service after the reset operation.
**/
@com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
- private String adminPassword;
+ private char[] adminPassword;
/**
* Base-64 encoded new admin password for the requested service after the reset operation.
* @param adminPassword the value to set
* @return this builder
**/
- public Builder adminPassword(String adminPassword) {
+ public Builder adminPassword(char[] adminPassword) {
this.adminPassword = adminPassword;
this.__explicitlySet__.add("adminPassword");
return this;
}
+ public Builder adminPassword(String adminPassword) {
+ this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("adminPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -79,13 +92,25 @@ public Builder toBuilder() {
* Base-64 encoded new admin password for the requested service after the reset operation.
**/
@com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
- private final String adminPassword;
+ private final char[] adminPassword;
+
+ /**
+ * Base-64 encoded new admin password for the requested service after the reset operation.
+ * return the value
+ * @Deprecated - Use getAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getAdminPassword() {
+ return adminPassword != null ? new String(adminPassword) : null;
+ }
/**
* Base-64 encoded new admin password for the requested service after the reset operation.
* @return the value
**/
- public String getAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("adminPassword")
+ public char[] getAdminPassword__AsCharArray() {
return adminPassword;
}
@@ -103,7 +128,7 @@ public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("PasswordSummary(");
sb.append("super=").append(super.toString());
- sb.append("adminPassword=").append(String.valueOf(this.adminPassword));
+ sb.append("adminPassword=").append("");
sb.append(")");
return sb.toString();
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RefreshConfidentialApplicationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RefreshConfidentialApplicationDetails.java
index 7cdfdf54442..88fa7b9f427 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RefreshConfidentialApplicationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RefreshConfidentialApplicationDetails.java
@@ -22,8 +22,17 @@
public final class RefreshConfidentialApplicationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public RefreshConfidentialApplicationDetails(String clusterAdminPassword, String secretId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public RefreshConfidentialApplicationDetails(char[] clusterAdminPassword, String secretId) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -35,18 +44,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -104,13 +121,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RefreshUpstTokenExchangeKeytabDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RefreshUpstTokenExchangeKeytabDetails.java
index 3711361651f..10443d46a9a 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RefreshUpstTokenExchangeKeytabDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RefreshUpstTokenExchangeKeytabDetails.java
@@ -22,8 +22,17 @@
public final class RefreshUpstTokenExchangeKeytabDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public RefreshUpstTokenExchangeKeytabDetails(String clusterAdminPassword, String secretId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public RefreshUpstTokenExchangeKeytabDetails(char[] clusterAdminPassword, String secretId) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -35,18 +44,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -104,13 +121,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveAutoScalingConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveAutoScalingConfigurationDetails.java
index b7cd5307ab2..a19754fc440 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveAutoScalingConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveAutoScalingConfigurationDetails.java
@@ -22,8 +22,17 @@
public final class RemoveAutoScalingConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public RemoveAutoScalingConfigurationDetails(String clusterAdminPassword, String secretId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public RemoveAutoScalingConfigurationDetails(char[] clusterAdminPassword, String secretId) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -35,18 +44,26 @@ public static class Builder {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -104,13 +121,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveCloudSqlDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveCloudSqlDetails.java
index eb45d719601..6d78f9224d1 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveCloudSqlDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveCloudSqlDetails.java
@@ -22,8 +22,16 @@
public final class RemoveCloudSqlDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword"})
public RemoveCloudSqlDetails(String clusterAdminPassword) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword"})
+ public RemoveCloudSqlDetails(char[] clusterAdminPassword) {
super();
this.clusterAdminPassword = clusterAdminPassword;
}
@@ -34,19 +42,26 @@ public static class Builder {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -82,13 +97,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveKafkaDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveKafkaDetails.java
index c7264af1b67..87a84d82297 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveKafkaDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveKafkaDetails.java
@@ -21,8 +21,17 @@
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class RemoveKafkaDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public RemoveKafkaDetails(String clusterAdminPassword, String secretId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public RemoveKafkaDetails(char[] clusterAdminPassword, String secretId) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -34,18 +43,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -102,13 +119,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeDetails.java
index 6de876acf4f..066980ac9b5 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeDetails.java
@@ -20,6 +20,21 @@
)
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class RemoveNodeDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ public RemoveNodeDetails(
+ String clusterAdminPassword,
+ String secretId,
+ Boolean isForceRemoveEnabled,
+ String nodeId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.isForceRemoveEnabled = isForceRemoveEnabled;
+ this.nodeId = nodeId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
@Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
@@ -28,7 +43,7 @@ public final class RemoveNodeDetails extends com.oracle.bmc.http.internal.Explic
"nodeId"
})
public RemoveNodeDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
Boolean isForceRemoveEnabled,
String nodeId) {
@@ -45,18 +60,26 @@ public static class Builder {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -159,13 +182,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeReplaceConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeReplaceConfigurationDetails.java
index 3efd158ac75..1c39627df7a 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeReplaceConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodeReplaceConfigurationDetails.java
@@ -22,8 +22,17 @@
public final class RemoveNodeReplaceConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public RemoveNodeReplaceConfigurationDetails(String clusterAdminPassword, String secretId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public RemoveNodeReplaceConfigurationDetails(char[] clusterAdminPassword, String secretId) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -35,18 +44,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -104,13 +121,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodesDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodesDetails.java
index 43ca3ca6d0b..c1927b643d9 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodesDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveNodesDetails.java
@@ -20,6 +20,21 @@
)
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class RemoveNodesDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ public RemoveNodesDetails(
+ String clusterAdminPassword,
+ String secretId,
+ Boolean isForceRemoveEnabled,
+ java.util.List instanceIds) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.isForceRemoveEnabled = isForceRemoveEnabled;
+ this.instanceIds = instanceIds;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
@Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
@@ -28,7 +43,7 @@ public final class RemoveNodesDetails extends com.oracle.bmc.http.internal.Expli
"instanceIds"
})
public RemoveNodesDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
Boolean isForceRemoveEnabled,
java.util.List instanceIds) {
@@ -45,18 +60,26 @@ public static class Builder {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -157,13 +180,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveResourcePrincipalConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveResourcePrincipalConfigurationDetails.java
index 9c3be4b2c12..09546cc3dd1 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveResourcePrincipalConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RemoveResourcePrincipalConfigurationDetails.java
@@ -22,10 +22,20 @@
public final class RemoveResourcePrincipalConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public RemoveResourcePrincipalConfigurationDetails(
String clusterAdminPassword, String secretId) {
super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public RemoveResourcePrincipalConfigurationDetails(
+ char[] clusterAdminPassword, String secretId) {
+ super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
}
@@ -36,18 +46,26 @@ public static class Builder {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -105,13 +123,25 @@ public Builder toBuilder() {
* Base-64 encoded Cluster Admin Password for cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded Cluster Admin Password for cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded Cluster Admin Password for cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RenewBdsCertificateDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RenewBdsCertificateDetails.java
index 9fcee41c3f6..5aa3767d55e 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RenewBdsCertificateDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RenewBdsCertificateDetails.java
@@ -22,6 +22,19 @@
public final class RenewBdsCertificateDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public RenewBdsCertificateDetails(
+ ManageBdsCertificateLevelTypeDetails manageCertificateLevelTypeDetails,
+ String clusterAdminPassword,
+ String secretId) {
+ super();
+ this.manageCertificateLevelTypeDetails = manageCertificateLevelTypeDetails;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"manageCertificateLevelTypeDetails",
"clusterAdminPassword",
@@ -29,7 +42,7 @@ public final class RenewBdsCertificateDetails
})
public RenewBdsCertificateDetails(
ManageBdsCertificateLevelTypeDetails manageCertificateLevelTypeDetails,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId) {
super();
this.manageCertificateLevelTypeDetails = manageCertificateLevelTypeDetails;
@@ -53,18 +66,26 @@ public Builder manageCertificateLevelTypeDetails(
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -135,13 +156,25 @@ public ManageBdsCertificateLevelTypeDetails getManageCertificateLevelTypeDetails
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RenewCertificateDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RenewCertificateDetails.java
index 5d98dddc933..f2eca6823ed 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RenewCertificateDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/RenewCertificateDetails.java
@@ -22,6 +22,25 @@
public final class RenewCertificateDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public RenewCertificateDetails(
+ String clusterAdminPassword,
+ String secretId,
+ java.util.List services,
+ String rootCertificate,
+ java.util.List hostCertDetails,
+ String serverKeyPassword) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.services = services;
+ this.rootCertificate = rootCertificate;
+ this.hostCertDetails = hostCertDetails;
+ this.serverKeyPassword = serverKeyPassword != null ? serverKeyPassword.toCharArray() : null;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
@@ -31,12 +50,12 @@ public final class RenewCertificateDetails
"serverKeyPassword"
})
public RenewCertificateDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
java.util.List services,
String rootCertificate,
java.util.List hostCertDetails,
- String serverKeyPassword) {
+ char[] serverKeyPassword) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -52,18 +71,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -132,19 +159,26 @@ public Builder hostCertDetails(java.util.List hostCertDetails)
* Base-64 encoded password for CA certificate's private key. This value can be empty.
**/
@com.fasterxml.jackson.annotation.JsonProperty("serverKeyPassword")
- private String serverKeyPassword;
+ private char[] serverKeyPassword;
/**
* Base-64 encoded password for CA certificate's private key. This value can be empty.
* @param serverKeyPassword the value to set
* @return this builder
**/
- public Builder serverKeyPassword(String serverKeyPassword) {
+ public Builder serverKeyPassword(char[] serverKeyPassword) {
this.serverKeyPassword = serverKeyPassword;
this.__explicitlySet__.add("serverKeyPassword");
return this;
}
+ public Builder serverKeyPassword(String serverKeyPassword) {
+ this.serverKeyPassword =
+ serverKeyPassword != null ? serverKeyPassword.toCharArray() : null;
+ this.__explicitlySet__.add("serverKeyPassword");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -202,13 +236,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
@@ -272,13 +318,25 @@ public java.util.List getHostCertDetails() {
* Base-64 encoded password for CA certificate's private key. This value can be empty.
**/
@com.fasterxml.jackson.annotation.JsonProperty("serverKeyPassword")
- private final String serverKeyPassword;
+ private final char[] serverKeyPassword;
+
+ /**
+ * Base-64 encoded password for CA certificate's private key. This value can be empty.
+ * return the value
+ * @Deprecated - Use getServerKeyPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getServerKeyPassword() {
+ return serverKeyPassword != null ? new String(serverKeyPassword) : null;
+ }
/**
* Base-64 encoded password for CA certificate's private key. This value can be empty.
* @return the value
**/
- public String getServerKeyPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("serverKeyPassword")
+ public char[] getServerKeyPassword__AsCharArray() {
return serverKeyPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ReplaceNodeDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ReplaceNodeDetails.java
index b6aa5ec58d9..766a2be4225 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ReplaceNodeDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/ReplaceNodeDetails.java
@@ -20,24 +20,46 @@
)
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class ReplaceNodeDetails extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ public ReplaceNodeDetails(
+ String nodeHostName,
+ String nodeBackupId,
+ String clusterAdminPassword,
+ java.util.List heterogeneousShapes,
+ String secretId,
+ String shape) {
+ super();
+ this.nodeHostName = nodeHostName;
+ this.nodeBackupId = nodeBackupId;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.heterogeneousShapes = heterogeneousShapes;
+ this.secretId = secretId;
+ this.shape = shape;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
@Deprecated
@java.beans.ConstructorProperties({
"nodeHostName",
"nodeBackupId",
"clusterAdminPassword",
+ "heterogeneousShapes",
"secretId",
"shape"
})
public ReplaceNodeDetails(
String nodeHostName,
String nodeBackupId,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
+ java.util.List heterogeneousShapes,
String secretId,
String shape) {
super();
this.nodeHostName = nodeHostName;
this.nodeBackupId = nodeBackupId;
this.clusterAdminPassword = clusterAdminPassword;
+ this.heterogeneousShapes = heterogeneousShapes;
this.secretId = secretId;
this.shape = shape;
}
@@ -80,18 +102,42 @@ public Builder nodeBackupId(String nodeBackupId) {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
+ /**
+ * Heterogeneous shape of the node if the default shape is not available.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("heterogeneousShapes")
+ private java.util.List heterogeneousShapes;
+
+ /**
+ * Heterogeneous shape of the node if the default shape is not available.
+ * @param heterogeneousShapes the value to set
+ * @return this builder
+ **/
+ public Builder heterogeneousShapes(java.util.List heterogeneousShapes) {
+ this.heterogeneousShapes = heterogeneousShapes;
+ this.__explicitlySet__.add("heterogeneousShapes");
+ return this;
+ }
/**
* The secretId for the clusterAdminPassword.
**/
@@ -134,6 +180,7 @@ public ReplaceNodeDetails build() {
this.nodeHostName,
this.nodeBackupId,
this.clusterAdminPassword,
+ this.heterogeneousShapes,
this.secretId,
this.shape);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -153,6 +200,9 @@ public Builder copy(ReplaceNodeDetails model) {
if (model.wasPropertyExplicitlySet("clusterAdminPassword")) {
this.clusterAdminPassword(model.getClusterAdminPassword());
}
+ if (model.wasPropertyExplicitlySet("heterogeneousShapes")) {
+ this.heterogeneousShapes(model.getHeterogeneousShapes());
+ }
if (model.wasPropertyExplicitlySet("secretId")) {
this.secretId(model.getSecretId());
}
@@ -206,16 +256,42 @@ public String getNodeBackupId() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
+ /**
+ * Heterogeneous shape of the node if the default shape is not available.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("heterogeneousShapes")
+ private final java.util.List heterogeneousShapes;
+
+ /**
+ * Heterogeneous shape of the node if the default shape is not available.
+ * @return the value
+ **/
+ public java.util.List getHeterogeneousShapes() {
+ return heterogeneousShapes;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -261,6 +337,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append("nodeHostName=").append(String.valueOf(this.nodeHostName));
sb.append(", nodeBackupId=").append(String.valueOf(this.nodeBackupId));
sb.append(", clusterAdminPassword=").append("");
+ sb.append(", heterogeneousShapes=").append(String.valueOf(this.heterogeneousShapes));
sb.append(", secretId=").append(String.valueOf(this.secretId));
sb.append(", shape=").append(String.valueOf(this.shape));
sb.append(")");
@@ -280,6 +357,7 @@ public boolean equals(Object o) {
return java.util.Objects.equals(this.nodeHostName, other.nodeHostName)
&& java.util.Objects.equals(this.nodeBackupId, other.nodeBackupId)
&& java.util.Objects.equals(this.clusterAdminPassword, other.clusterAdminPassword)
+ && java.util.Objects.equals(this.heterogeneousShapes, other.heterogeneousShapes)
&& java.util.Objects.equals(this.secretId, other.secretId)
&& java.util.Objects.equals(this.shape, other.shape)
&& super.equals(other);
@@ -296,6 +374,11 @@ public int hashCode() {
+ (this.clusterAdminPassword == null
? 43
: this.clusterAdminPassword.hashCode());
+ result =
+ (result * PRIME)
+ + (this.heterogeneousShapes == null
+ ? 43
+ : this.heterogeneousShapes.hashCode());
result = (result * PRIME) + (this.secretId == null ? 43 : this.secretId.hashCode());
result = (result * PRIME) + (this.shape == null ? 43 : this.shape.hashCode());
result = (result * PRIME) + super.hashCode();
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/SetDefaultBdsCertificateConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/SetDefaultBdsCertificateConfigurationDetails.java
index a5faf7afa16..e992059673f 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/SetDefaultBdsCertificateConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/SetDefaultBdsCertificateConfigurationDetails.java
@@ -22,10 +22,20 @@
public final class SetDefaultBdsCertificateConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public SetDefaultBdsCertificateConfigurationDetails(
String clusterAdminPassword, String secretId) {
super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public SetDefaultBdsCertificateConfigurationDetails(
+ char[] clusterAdminPassword, String secretId) {
+ super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
}
@@ -36,18 +46,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -105,13 +123,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/StartBdsInstanceDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/StartBdsInstanceDetails.java
index df44341f734..98b524fd6ed 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/StartBdsInstanceDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/StartBdsInstanceDetails.java
@@ -22,13 +22,26 @@
public final class StartBdsInstanceDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public StartBdsInstanceDetails(
+ String clusterAdminPassword,
+ String secretId,
+ StartClusterShapeConfigs startClusterShapeConfigs) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.startClusterShapeConfigs = startClusterShapeConfigs;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
"startClusterShapeConfigs"
})
public StartBdsInstanceDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
StartClusterShapeConfigs startClusterShapeConfigs) {
super();
@@ -43,18 +56,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -126,13 +147,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/StopBdsInstanceDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/StopBdsInstanceDetails.java
index 6ee649add73..9048c46df7e 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/StopBdsInstanceDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/StopBdsInstanceDetails.java
@@ -22,11 +22,22 @@
public final class StopBdsInstanceDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"isForceStopJobs", "clusterAdminPassword", "secretId"})
public StopBdsInstanceDetails(
Boolean isForceStopJobs, String clusterAdminPassword, String secretId) {
super();
this.isForceStopJobs = isForceStopJobs;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"isForceStopJobs", "clusterAdminPassword", "secretId"})
+ public StopBdsInstanceDetails(
+ Boolean isForceStopJobs, char[] clusterAdminPassword, String secretId) {
+ super();
+ this.isForceStopJobs = isForceStopJobs;
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
}
@@ -53,18 +64,26 @@ public Builder isForceStopJobs(Boolean isForceStopJobs) {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -139,13 +158,25 @@ public Boolean getIsForceStopJobs() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/TestBdsMetastoreConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/TestBdsMetastoreConfigurationDetails.java
index 87f9ca5b91e..eac9c0cd515 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/TestBdsMetastoreConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/TestBdsMetastoreConfigurationDetails.java
@@ -22,8 +22,17 @@
public final class TestBdsMetastoreConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
public TestBdsMetastoreConfigurationDetails(String clusterAdminPassword, String secretId) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"clusterAdminPassword", "secretId"})
+ public TestBdsMetastoreConfigurationDetails(char[] clusterAdminPassword, String secretId) {
super();
this.clusterAdminPassword = clusterAdminPassword;
this.secretId = secretId;
@@ -35,18 +44,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -104,13 +121,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/TestBdsObjectStorageConnectionDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/TestBdsObjectStorageConnectionDetails.java
index 7403a778259..85cca43b59d 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/TestBdsObjectStorageConnectionDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/TestBdsObjectStorageConnectionDetails.java
@@ -22,11 +22,21 @@
public final class TestBdsObjectStorageConnectionDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"objectStorageUri", "passphrase", "objectStorageRegion"})
public TestBdsObjectStorageConnectionDetails(
String objectStorageUri, String passphrase, String objectStorageRegion) {
super();
this.objectStorageUri = objectStorageUri;
+ this.passphrase = passphrase != null ? passphrase.toCharArray() : null;
+ this.objectStorageRegion = objectStorageRegion;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
+ @java.beans.ConstructorProperties({"objectStorageUri", "passphrase", "objectStorageRegion"})
+ public TestBdsObjectStorageConnectionDetails(
+ String objectStorageUri, char[] passphrase, String objectStorageRegion) {
+ super();
+ this.objectStorageUri = objectStorageUri;
this.passphrase = passphrase;
this.objectStorageRegion = objectStorageRegion;
}
@@ -53,18 +63,25 @@ public Builder objectStorageUri(String objectStorageUri) {
* Base64 passphrase used to secure the private key which will be created on user behalf.
**/
@com.fasterxml.jackson.annotation.JsonProperty("passphrase")
- private String passphrase;
+ private char[] passphrase;
/**
* Base64 passphrase used to secure the private key which will be created on user behalf.
* @param passphrase the value to set
* @return this builder
**/
- public Builder passphrase(String passphrase) {
+ public Builder passphrase(char[] passphrase) {
this.passphrase = passphrase;
this.__explicitlySet__.add("passphrase");
return this;
}
+
+ public Builder passphrase(String passphrase) {
+ this.passphrase = passphrase != null ? passphrase.toCharArray() : null;
+ this.__explicitlySet__.add("passphrase");
+ return this;
+ }
+
/**
* The name of the region to establish the Object Storage endpoint. Example us-phoenix-1 .
**/
@@ -139,13 +156,25 @@ public String getObjectStorageUri() {
* Base64 passphrase used to secure the private key which will be created on user behalf.
**/
@com.fasterxml.jackson.annotation.JsonProperty("passphrase")
- private final String passphrase;
+ private final char[] passphrase;
+
+ /**
+ * Base64 passphrase used to secure the private key which will be created on user behalf.
+ * return the value
+ * @Deprecated - Use getPassphrase__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getPassphrase() {
+ return passphrase != null ? new String(passphrase) : null;
+ }
/**
* Base64 passphrase used to secure the private key which will be created on user behalf.
* @return the value
**/
- public String getPassphrase() {
+ @com.fasterxml.jackson.annotation.JsonProperty("passphrase")
+ public char[] getPassphrase__AsCharArray() {
return passphrase;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateAutoScalingConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateAutoScalingConfigurationDetails.java
index f83a10592ce..9d54561a781 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateAutoScalingConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateAutoScalingConfigurationDetails.java
@@ -22,6 +22,25 @@
public final class UpdateAutoScalingConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public UpdateAutoScalingConfigurationDetails(
+ String displayName,
+ Boolean isEnabled,
+ String clusterAdminPassword,
+ String secretId,
+ AutoScalePolicy policy,
+ UpdateAutoScalePolicyDetails policyDetails) {
+ super();
+ this.displayName = displayName;
+ this.isEnabled = isEnabled;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.policy = policy;
+ this.policyDetails = policyDetails;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"displayName",
"isEnabled",
@@ -33,7 +52,7 @@ public final class UpdateAutoScalingConfigurationDetails
public UpdateAutoScalingConfigurationDetails(
String displayName,
Boolean isEnabled,
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
AutoScalePolicy policy,
UpdateAutoScalePolicyDetails policyDetails) {
@@ -84,18 +103,26 @@ public Builder isEnabled(Boolean isEnabled) {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -216,13 +243,25 @@ public Boolean getIsEnabled() {
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsMetastoreConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsMetastoreConfigurationDetails.java
index 6a83ebeea43..f515c31ebc7 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsMetastoreConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateBdsMetastoreConfigurationDetails.java
@@ -22,6 +22,24 @@
public final class UpdateBdsMetastoreConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public UpdateBdsMetastoreConfigurationDetails(
+ String displayName,
+ String bdsApiKeyId,
+ String bdsApiKeyPassphrase,
+ String clusterAdminPassword,
+ String secretId) {
+ super();
+ this.displayName = displayName;
+ this.bdsApiKeyId = bdsApiKeyId;
+ this.bdsApiKeyPassphrase =
+ bdsApiKeyPassphrase != null ? bdsApiKeyPassphrase.toCharArray() : null;
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"displayName",
"bdsApiKeyId",
@@ -32,8 +50,8 @@ public final class UpdateBdsMetastoreConfigurationDetails
public UpdateBdsMetastoreConfigurationDetails(
String displayName,
String bdsApiKeyId,
- String bdsApiKeyPassphrase,
- String clusterAdminPassword,
+ char[] bdsApiKeyPassphrase,
+ char[] clusterAdminPassword,
String secretId) {
super();
this.displayName = displayName;
@@ -81,34 +99,50 @@ public Builder bdsApiKeyId(String bdsApiKeyId) {
* Base-64 encoded passphrase of the BDS Api Key.
**/
@com.fasterxml.jackson.annotation.JsonProperty("bdsApiKeyPassphrase")
- private String bdsApiKeyPassphrase;
+ private char[] bdsApiKeyPassphrase;
/**
* Base-64 encoded passphrase of the BDS Api Key.
* @param bdsApiKeyPassphrase the value to set
* @return this builder
**/
- public Builder bdsApiKeyPassphrase(String bdsApiKeyPassphrase) {
+ public Builder bdsApiKeyPassphrase(char[] bdsApiKeyPassphrase) {
this.bdsApiKeyPassphrase = bdsApiKeyPassphrase;
this.__explicitlySet__.add("bdsApiKeyPassphrase");
return this;
}
+
+ public Builder bdsApiKeyPassphrase(String bdsApiKeyPassphrase) {
+ this.bdsApiKeyPassphrase =
+ bdsApiKeyPassphrase != null ? bdsApiKeyPassphrase.toCharArray() : null;
+ this.__explicitlySet__.add("bdsApiKeyPassphrase");
+ return this;
+ }
+
/**
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -207,13 +241,25 @@ public String getBdsApiKeyId() {
* Base-64 encoded passphrase of the BDS Api Key.
**/
@com.fasterxml.jackson.annotation.JsonProperty("bdsApiKeyPassphrase")
- private final String bdsApiKeyPassphrase;
+ private final char[] bdsApiKeyPassphrase;
+
+ /**
+ * Base-64 encoded passphrase of the BDS Api Key.
+ * return the value
+ * @Deprecated - Use getBdsApiKeyPassphrase__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getBdsApiKeyPassphrase() {
+ return bdsApiKeyPassphrase != null ? new String(bdsApiKeyPassphrase) : null;
+ }
/**
* Base-64 encoded passphrase of the BDS Api Key.
* @return the value
**/
- public String getBdsApiKeyPassphrase() {
+ @com.fasterxml.jackson.annotation.JsonProperty("bdsApiKeyPassphrase")
+ public char[] getBdsApiKeyPassphrase__AsCharArray() {
return bdsApiKeyPassphrase;
}
@@ -221,13 +267,25 @@ public String getBdsApiKeyPassphrase() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateIdentityConfigurationDetails.java b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateIdentityConfigurationDetails.java
index 6cb8c9532f5..d411cefdb94 100644
--- a/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateIdentityConfigurationDetails.java
+++ b/bmc-bds/src/main/java/com/oracle/bmc/bds/model/UpdateIdentityConfigurationDetails.java
@@ -22,6 +22,21 @@
public final class UpdateIdentityConfigurationDetails
extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
+ public UpdateIdentityConfigurationDetails(
+ String clusterAdminPassword,
+ String secretId,
+ UpstConfigurationDetails upstConfigurationDetails,
+ IamUserSyncConfigurationDetails iamUserSyncConfigurationDetails) {
+ super();
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.secretId = secretId;
+ this.upstConfigurationDetails = upstConfigurationDetails;
+ this.iamUserSyncConfigurationDetails = iamUserSyncConfigurationDetails;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ @Deprecated
@java.beans.ConstructorProperties({
"clusterAdminPassword",
"secretId",
@@ -29,7 +44,7 @@ public final class UpdateIdentityConfigurationDetails
"iamUserSyncConfigurationDetails"
})
public UpdateIdentityConfigurationDetails(
- String clusterAdminPassword,
+ char[] clusterAdminPassword,
String secretId,
UpstConfigurationDetails upstConfigurationDetails,
IamUserSyncConfigurationDetails iamUserSyncConfigurationDetails) {
@@ -46,18 +61,26 @@ public static class Builder {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private String clusterAdminPassword;
+ private char[] clusterAdminPassword;
/**
* Base-64 encoded password for the cluster admin user.
* @param clusterAdminPassword the value to set
* @return this builder
**/
- public Builder clusterAdminPassword(String clusterAdminPassword) {
+ public Builder clusterAdminPassword(char[] clusterAdminPassword) {
this.clusterAdminPassword = clusterAdminPassword;
this.__explicitlySet__.add("clusterAdminPassword");
return this;
}
+
+ public Builder clusterAdminPassword(String clusterAdminPassword) {
+ this.clusterAdminPassword =
+ clusterAdminPassword != null ? clusterAdminPassword.toCharArray() : null;
+ this.__explicitlySet__.add("clusterAdminPassword");
+ return this;
+ }
+
/**
* The secretId for the clusterAdminPassword.
**/
@@ -143,13 +166,25 @@ public Builder toBuilder() {
* Base-64 encoded password for the cluster admin user.
**/
@com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
- private final String clusterAdminPassword;
+ private final char[] clusterAdminPassword;
+
+ /**
+ * Base-64 encoded password for the cluster admin user.
+ * return the value
+ * @Deprecated - Use getClusterAdminPassword__AsCharArray() instead.
+ */
+ @Deprecated
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public String getClusterAdminPassword() {
+ return clusterAdminPassword != null ? new String(clusterAdminPassword) : null;
+ }
/**
* Base-64 encoded password for the cluster admin user.
* @return the value
**/
- public String getClusterAdminPassword() {
+ @com.fasterxml.jackson.annotation.JsonProperty("clusterAdminPassword")
+ public char[] getClusterAdminPassword__AsCharArray() {
return clusterAdminPassword;
}
diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml
index 20dc91ee77c..ce884a2a00d 100644
--- a/bmc-blockchain/pom.xml
+++ b/bmc-blockchain/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-blockchain
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml
index 14344ddc4fa..0c6bb61338f 100644
--- a/bmc-bom/pom.xml
+++ b/bmc-bom/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-bom
@@ -19,1061 +19,1073 @@
com.oracle.oci.sdk
oci-java-sdk-circuitbreaker
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-enforcer-rules
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-shaded-full
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-audit
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-containerengine
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-core
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-database
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-dns
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-email
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-objectstorage-generated
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-objectstorage-extensions
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-filestorage
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-identity
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-loadbalancer
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-objectstorage
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-addons-resteasy-client-configurator
- 2.91.0
+ 2.93.0
com.oracle.oci.sdk
oci-java-sdk-addons-sasl
- 2.91.0
+ 2.93.0
com.oracle.oci.sdk
oci-java-sdk-addons-oke-workload-identity
- 2.91.0
+ 2.93.0
com.oracle.oci.sdk
oci-java-sdk-addons-graalvm
- 2.91.0
+ 2.93.0
com.oracle.oci.sdk
oci-java-sdk-resourcesearch
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-addons-apache
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-keymanagement
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-announcementsservice
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-healthchecks
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-waas
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-streaming
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-resourcemanager
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-monitoring
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-ons
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-autoscaling
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-budget
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-limits
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-functions
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-events
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-oce
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-oda
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-analytics
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-integration
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplace
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-apigateway
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-datacatalog
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-dataflow
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-datascience
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-nosql
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-secrets
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-vault
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-bds
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-encryption
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-cims
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-datasafe
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-mysql
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-dataintegration
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-ocvp
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-usageapi
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-blockchain
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-loggingingestion
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-logging
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-loganalytics
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-managementdashboard
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-sch
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-loggingsearch
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-managementagent
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudguard
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-opsi
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-computeinstanceagent
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-optimizer
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-tenantmanagercontrolplane
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-rover
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-databasemanagement
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-artifacts
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-apmsynthetics
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-goldengate
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-apmcontrolplane
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-apmtraces
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-networkloadbalancer
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-vulnerabilityscanning
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-databasemigration
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-servicecatalog
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-ailanguage
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-operatoraccesscontrol
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-bastion
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-genericartifactscontent
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-jms
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-devops
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-datalabelingservice
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-datalabelingservicedataplane
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-apmconfig
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-waf
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-certificates
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-certificatesmanagement
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-usage
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-databasetools
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-servicemanagerproxy
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-appmgmtcontrol
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-ospgateway
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-identitydataplane
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-visualbuilder
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-osubusage
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-osubsubscription
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-osuborganizationsubscription
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-osubbillingschedule
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-dashboardservice
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-threatintelligence
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-aivision
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-aispeech
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-stackmonitoring
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-adm
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-licensemanager
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-onesubscription
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-governancerulescontrolplane
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-waa
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-networkfirewall
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-vnmonitoring
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-emwarehouse
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-lockbox
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-fusionapps
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-mediaservices
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-opa
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-opensearch
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudmigrations
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudbridge
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-disasterrecovery
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-containerinstances
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-aidocument
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-queue
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-recovery
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-vbsinst
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-identitydomains
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-accessgovernancecp
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-ocicontrolcenter
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-osmanagementhub
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-fleetsoftwareupdate
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-computecloudatcustomer
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplacepublisher
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-redis
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-jmsjavadownloads
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-psql
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeai
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeaiinference
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-capacitymanagement
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-desktops
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-emaildataplane
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-clusterplacementgroups
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-resourcescheduler
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-demandsignal
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-fleetappsmanagement
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-delegateaccesscontrol
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeaiagent
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeaiagentruntime
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-securityattribute
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-zpr
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-dblm
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-mngdmac
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-lustrefilestorage
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-modeldeployment
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-distributeddatabase
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-apiaccesscontrol
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-wlms
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-dbmulticloud
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-apiplatform
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-managedkafka
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-aidataplatform
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-multicloud
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-resourceanalytics
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-jmsutils
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-iot
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-psa
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-dif
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-batch
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplaceprivateoffer
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-gdp
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-limitsincrease
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-generativeaidata
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-self
- 2.91.0
+ 2.93.0
false
com.oracle.oci.sdk
oci-java-sdk-containerregistry
- 2.91.0
+ 2.93.0
+ false
+
+
+ com.oracle.oci.sdk
+ oci-java-sdk-databasetoolsruntime
+ 2.93.0
+ false
+
+
+ com.oracle.oci.sdk
+ oci-java-sdk-costad
+ 2.93.0
false
diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml
index 50f84548240..abf1a3aa08c 100644
--- a/bmc-budget/pom.xml
+++ b/bmc-budget/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-budget
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-capacitymanagement/pom.xml b/bmc-capacitymanagement/pom.xml
index e575e6a4a0f..51c70929a36 100644
--- a/bmc-capacitymanagement/pom.xml
+++ b/bmc-capacitymanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-capacitymanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml
index c0c3123a40b..36ba6ae4691 100644
--- a/bmc-certificates/pom.xml
+++ b/bmc-certificates/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-certificates
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml
index 8fde4e46390..6a15fef5277 100644
--- a/bmc-certificatesmanagement/pom.xml
+++ b/bmc-certificatesmanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-certificatesmanagement
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml
index 767dd3fe3d9..d2ef4af6ff5 100644
--- a/bmc-cims/pom.xml
+++ b/bmc-cims/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-cims
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/GetIncidentConverter.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/GetIncidentConverter.java
index 98780a598a1..292dd78a63d 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/GetIncidentConverter.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/GetIncidentConverter.java
@@ -55,10 +55,6 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
ib.header("opc-request-id", request.getOpcRequestId());
}
- if (request.getCsi() != null) {
- ib.header("csi", request.getCsi());
- }
-
if (request.getOcid() != null) {
ib.header("ocid", request.getOcid());
}
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ListIncidentResourceTypesConverter.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ListIncidentResourceTypesConverter.java
index b8d5cf37e58..bcdc2554560 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ListIncidentResourceTypesConverter.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ListIncidentResourceTypesConverter.java
@@ -99,10 +99,6 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
ib.header("opc-request-id", request.getOpcRequestId());
}
- if (request.getCsi() != null) {
- ib.header("csi", request.getCsi());
- }
-
if (request.getOcid() != null) {
ib.header("ocid", request.getOcid());
}
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ListIncidentsConverter.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ListIncidentsConverter.java
index dddfe1d312f..b8ff5417b16 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ListIncidentsConverter.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ListIncidentsConverter.java
@@ -64,6 +64,14 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getSortOrder().getValue()));
}
+ if (request.getTimeUpdatedGreaterThanOrEqualTo() != null) {
+ target =
+ target.queryParam(
+ "timeUpdatedGreaterThanOrEqualTo",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getTimeUpdatedGreaterThanOrEqualTo()));
+ }
+
if (request.getLifecycleState() != null) {
target =
target.queryParam(
@@ -92,10 +100,6 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
- if (request.getCsi() != null) {
- ib.header("csi", request.getCsi());
- }
-
if (request.getOpcRequestId() != null) {
ib.header("opc-request-id", request.getOpcRequestId());
}
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/PutAttachmentConverter.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/PutAttachmentConverter.java
index cebc860d508..6b397067f7c 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/PutAttachmentConverter.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/PutAttachmentConverter.java
@@ -67,10 +67,6 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
- if (request.getCsi() != null) {
- ib.header("csi", request.getCsi());
- }
-
if (request.getOpcRequestId() != null) {
ib.header("opc-request-id", request.getOpcRequestId());
}
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/UpdateIncidentConverter.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/UpdateIncidentConverter.java
index 3112e87069a..6526309dd75 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/UpdateIncidentConverter.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/UpdateIncidentConverter.java
@@ -52,10 +52,6 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
- if (request.getCsi() != null) {
- ib.header("csi", request.getCsi());
- }
-
if (request.getOpcRequestId() != null) {
ib.header("opc-request-id", request.getOpcRequestId());
}
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ValidateUserConverter.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ValidateUserConverter.java
index 9a08e4d4d43..7647bcf3d26 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ValidateUserConverter.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/internal/http/ValidateUserConverter.java
@@ -50,10 +50,6 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
- if (request.getCsi() != null) {
- ib.header("csi", request.getCsi());
- }
-
if (request.getOpcRequestId() != null) {
ib.header("opc-request-id", request.getOpcRequestId());
}
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateIncident.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateIncident.java
index e301d8677b0..a9b838494b6 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateIncident.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateIncident.java
@@ -23,7 +23,6 @@ public final class CreateIncident extends com.oracle.bmc.http.internal.Explicitl
@java.beans.ConstructorProperties({
"compartmentId",
"ticket",
- "csi",
"userGroupId",
"problemType",
"contacts",
@@ -32,7 +31,6 @@ public final class CreateIncident extends com.oracle.bmc.http.internal.Explicitl
public CreateIncident(
String compartmentId,
CreateTicketDetails ticket,
- String csi,
String userGroupId,
ProblemType problemType,
java.util.List contacts,
@@ -40,7 +38,6 @@ public CreateIncident(
super();
this.compartmentId = compartmentId;
this.ticket = ticket;
- this.csi = csi;
this.userGroupId = userGroupId;
this.problemType = problemType;
this.contacts = contacts;
@@ -74,26 +71,6 @@ public Builder ticket(CreateTicketDetails ticket) {
this.__explicitlySet__.add("ticket");
return this;
}
- /**
- * Deprecated. The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("csi")
- private String csi;
-
- /**
- * Deprecated. The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- * @param csi the value to set
- * @return this builder
- **/
- public Builder csi(String csi) {
- this.csi = csi;
- this.__explicitlySet__.add("csi");
- return this;
- }
/**
* Technical support type ({@code TECH}) only: Identifier of the user group to assign the new support request to.
* To find identifiers of user groups that you have access to, run the
@@ -191,7 +168,6 @@ public CreateIncident build() {
new CreateIncident(
this.compartmentId,
this.ticket,
- this.csi,
this.userGroupId,
this.problemType,
this.contacts,
@@ -210,9 +186,6 @@ public Builder copy(CreateIncident model) {
if (model.wasPropertyExplicitlySet("ticket")) {
this.ticket(model.getTicket());
}
- if (model.wasPropertyExplicitlySet("csi")) {
- this.csi(model.getCsi());
- }
if (model.wasPropertyExplicitlySet("userGroupId")) {
this.userGroupId(model.getUserGroupId());
}
@@ -261,24 +234,6 @@ public CreateTicketDetails getTicket() {
return ticket;
}
- /**
- * Deprecated. The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("csi")
- private final String csi;
-
- /**
- * Deprecated. The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- * @return the value
- **/
- public String getCsi() {
- return csi;
- }
-
/**
* Technical support type ({@code TECH}) only: Identifier of the user group to assign the new support request to.
* To find identifiers of user groups that you have access to, run the
@@ -375,7 +330,6 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("compartmentId=").append(String.valueOf(this.compartmentId));
sb.append(", ticket=").append(String.valueOf(this.ticket));
- sb.append(", csi=").append(String.valueOf(this.csi));
sb.append(", userGroupId=").append(String.valueOf(this.userGroupId));
sb.append(", problemType=").append(String.valueOf(this.problemType));
sb.append(", contacts=").append(String.valueOf(this.contacts));
@@ -396,7 +350,6 @@ public boolean equals(Object o) {
CreateIncident other = (CreateIncident) o;
return java.util.Objects.equals(this.compartmentId, other.compartmentId)
&& java.util.Objects.equals(this.ticket, other.ticket)
- && java.util.Objects.equals(this.csi, other.csi)
&& java.util.Objects.equals(this.userGroupId, other.userGroupId)
&& java.util.Objects.equals(this.problemType, other.problemType)
&& java.util.Objects.equals(this.contacts, other.contacts)
@@ -412,7 +365,6 @@ public int hashCode() {
(result * PRIME)
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
result = (result * PRIME) + (this.ticket == null ? 43 : this.ticket.hashCode());
- result = (result * PRIME) + (this.csi == null ? 43 : this.csi.hashCode());
result = (result * PRIME) + (this.userGroupId == null ? 43 : this.userGroupId.hashCode());
result = (result * PRIME) + (this.problemType == null ? 43 : this.problemType.hashCode());
result = (result * PRIME) + (this.contacts == null ? 43 : this.contacts.hashCode());
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateTicketDetails.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateTicketDetails.java
index 40175187db3..10bfa52d199 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateTicketDetails.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateTicketDetails.java
@@ -94,7 +94,6 @@ public Builder title(String title) {
return this;
}
/**
- * Important: On January 27, 2026, the Max Length value will change to 1500.
* The description of the support request. Avoid entering confidential information.
*
**/
@@ -102,7 +101,6 @@ public Builder title(String title) {
private String description;
/**
- * Important: On January 27, 2026, the Max Length value will change to 1500.
* The description of the support request. Avoid entering confidential information.
*
* @param description the value to set
@@ -252,7 +250,6 @@ public String getTitle() {
}
/**
- * Important: On January 27, 2026, the Max Length value will change to 1500.
* The description of the support request. Avoid entering confidential information.
*
**/
@@ -260,7 +257,6 @@ public String getTitle() {
private final String description;
/**
- * Important: On January 27, 2026, the Max Length value will change to 1500.
* The description of the support request. Avoid entering confidential information.
*
* @return the value
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateUserDetails.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateUserDetails.java
index 810d741238c..04051ca5646 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateUserDetails.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateUserDetails.java
@@ -25,7 +25,6 @@ public final class CreateUserDetails extends com.oracle.bmc.http.internal.Explic
"compartmentId",
"firstName",
"lastName",
- "csi",
"phone",
"timezone",
"organizationName",
@@ -35,7 +34,6 @@ public CreateUserDetails(
String compartmentId,
String firstName,
String lastName,
- String csi,
String phone,
String timezone,
String organizationName,
@@ -44,7 +42,6 @@ public CreateUserDetails(
this.compartmentId = compartmentId;
this.firstName = firstName;
this.lastName = lastName;
- this.csi = csi;
this.phone = phone;
this.timezone = timezone;
this.organizationName = organizationName;
@@ -101,22 +98,6 @@ public Builder lastName(String lastName) {
this.__explicitlySet__.add("lastName");
return this;
}
- /**
- * CSI associated with the user.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("csi")
- private String csi;
-
- /**
- * CSI associated with the user.
- * @param csi the value to set
- * @return this builder
- **/
- public Builder csi(String csi) {
- this.csi = csi;
- this.__explicitlySet__.add("csi");
- return this;
- }
/**
* Contact number of the user.
**/
@@ -205,7 +186,6 @@ public CreateUserDetails build() {
this.compartmentId,
this.firstName,
this.lastName,
- this.csi,
this.phone,
this.timezone,
this.organizationName,
@@ -227,9 +207,6 @@ public Builder copy(CreateUserDetails model) {
if (model.wasPropertyExplicitlySet("lastName")) {
this.lastName(model.getLastName());
}
- if (model.wasPropertyExplicitlySet("csi")) {
- this.csi(model.getCsi());
- }
if (model.wasPropertyExplicitlySet("phone")) {
this.phone(model.getPhone());
}
@@ -299,20 +276,6 @@ public String getLastName() {
return lastName;
}
- /**
- * CSI associated with the user.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("csi")
- private final String csi;
-
- /**
- * CSI associated with the user.
- * @return the value
- **/
- public String getCsi() {
- return csi;
- }
-
/**
* Contact number of the user.
**/
@@ -400,7 +363,6 @@ public String toString(boolean includeByteArrayContents) {
sb.append("compartmentId=").append(String.valueOf(this.compartmentId));
sb.append(", firstName=").append(String.valueOf(this.firstName));
sb.append(", lastName=").append(String.valueOf(this.lastName));
- sb.append(", csi=").append(String.valueOf(this.csi));
sb.append(", phone=").append(String.valueOf(this.phone));
sb.append(", timezone=").append(String.valueOf(this.timezone));
sb.append(", organizationName=").append(String.valueOf(this.organizationName));
@@ -422,7 +384,6 @@ public boolean equals(Object o) {
return java.util.Objects.equals(this.compartmentId, other.compartmentId)
&& java.util.Objects.equals(this.firstName, other.firstName)
&& java.util.Objects.equals(this.lastName, other.lastName)
- && java.util.Objects.equals(this.csi, other.csi)
&& java.util.Objects.equals(this.phone, other.phone)
&& java.util.Objects.equals(this.timezone, other.timezone)
&& java.util.Objects.equals(this.organizationName, other.organizationName)
@@ -439,7 +400,6 @@ public int hashCode() {
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
result = (result * PRIME) + (this.firstName == null ? 43 : this.firstName.hashCode());
result = (result * PRIME) + (this.lastName == null ? 43 : this.lastName.hashCode());
- result = (result * PRIME) + (this.csi == null ? 43 : this.csi.hashCode());
result = (result * PRIME) + (this.phone == null ? 43 : this.phone.hashCode());
result = (result * PRIME) + (this.timezone == null ? 43 : this.timezone.hashCode());
result =
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/TenancyInformation.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/TenancyInformation.java
index cad5c1e73e4..d464b1db4bc 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/TenancyInformation.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/TenancyInformation.java
@@ -21,31 +21,14 @@
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
public final class TenancyInformation extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"customerSupportKey", "tenancyId"})
- public TenancyInformation(String customerSupportKey, String tenancyId) {
+ @java.beans.ConstructorProperties({"tenancyId"})
+ public TenancyInformation(String tenancyId) {
super();
- this.customerSupportKey = customerSupportKey;
this.tenancyId = tenancyId;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
public static class Builder {
- /**
- * The Customer Support Identifier (CSI) number associated with the tenancy.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("customerSupportKey")
- private String customerSupportKey;
-
- /**
- * The Customer Support Identifier (CSI) number associated with the tenancy.
- * @param customerSupportKey the value to set
- * @return this builder
- **/
- public Builder customerSupportKey(String customerSupportKey) {
- this.customerSupportKey = customerSupportKey;
- this.__explicitlySet__.add("customerSupportKey");
- return this;
- }
/**
* The OCID of the tenancy.
**/
@@ -67,8 +50,7 @@ public Builder tenancyId(String tenancyId) {
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public TenancyInformation build() {
- TenancyInformation model =
- new TenancyInformation(this.customerSupportKey, this.tenancyId);
+ TenancyInformation model = new TenancyInformation(this.tenancyId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -77,9 +59,6 @@ public TenancyInformation build() {
@com.fasterxml.jackson.annotation.JsonIgnore
public Builder copy(TenancyInformation model) {
- if (model.wasPropertyExplicitlySet("customerSupportKey")) {
- this.customerSupportKey(model.getCustomerSupportKey());
- }
if (model.wasPropertyExplicitlySet("tenancyId")) {
this.tenancyId(model.getTenancyId());
}
@@ -98,20 +77,6 @@ public Builder toBuilder() {
return new Builder().copy(this);
}
- /**
- * The Customer Support Identifier (CSI) number associated with the tenancy.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("customerSupportKey")
- private final String customerSupportKey;
-
- /**
- * The Customer Support Identifier (CSI) number associated with the tenancy.
- * @return the value
- **/
- public String getCustomerSupportKey() {
- return customerSupportKey;
- }
-
/**
* The OCID of the tenancy.
**/
@@ -140,8 +105,7 @@ public String toString(boolean includeByteArrayContents) {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("TenancyInformation(");
sb.append("super=").append(super.toString());
- sb.append("customerSupportKey=").append(String.valueOf(this.customerSupportKey));
- sb.append(", tenancyId=").append(String.valueOf(this.tenancyId));
+ sb.append("tenancyId=").append(String.valueOf(this.tenancyId));
sb.append(")");
return sb.toString();
}
@@ -156,20 +120,13 @@ public boolean equals(Object o) {
}
TenancyInformation other = (TenancyInformation) o;
- return java.util.Objects.equals(this.customerSupportKey, other.customerSupportKey)
- && java.util.Objects.equals(this.tenancyId, other.tenancyId)
- && super.equals(other);
+ return java.util.Objects.equals(this.tenancyId, other.tenancyId) && super.equals(other);
}
@Override
public int hashCode() {
final int PRIME = 59;
int result = 1;
- result =
- (result * PRIME)
- + (this.customerSupportKey == null
- ? 43
- : this.customerSupportKey.hashCode());
result = (result * PRIME) + (this.tenancyId == null ? 43 : this.tenancyId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/User.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/User.java
index 20f37cfafad..12d6767e57f 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/User.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/User.java
@@ -24,7 +24,6 @@ public final class User extends com.oracle.bmc.http.internal.ExplicitlySetBmcMod
"firstName",
"lastName",
"country",
- "csi",
"phone",
"timezone",
"organizationName",
@@ -37,7 +36,6 @@ public User(
String firstName,
String lastName,
String country,
- String csi,
String phone,
String timezone,
String organizationName,
@@ -49,7 +47,6 @@ public User(
this.firstName = firstName;
this.lastName = lastName;
this.country = country;
- this.csi = csi;
this.phone = phone;
this.timezone = timezone;
this.organizationName = organizationName;
@@ -124,22 +121,6 @@ public Builder country(String country) {
this.__explicitlySet__.add("country");
return this;
}
- /**
- * The CSI associated with the user.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("csi")
- private String csi;
-
- /**
- * The CSI associated with the user.
- * @param csi the value to set
- * @return this builder
- **/
- public Builder csi(String csi) {
- this.csi = csi;
- this.__explicitlySet__.add("csi");
- return this;
- }
/**
* The user's contact phone number.
**/
@@ -261,7 +242,6 @@ public User build() {
this.firstName,
this.lastName,
this.country,
- this.csi,
this.phone,
this.timezone,
this.organizationName,
@@ -288,9 +268,6 @@ public Builder copy(User model) {
if (model.wasPropertyExplicitlySet("country")) {
this.country(model.getCountry());
}
- if (model.wasPropertyExplicitlySet("csi")) {
- this.csi(model.getCsi());
- }
if (model.wasPropertyExplicitlySet("phone")) {
this.phone(model.getPhone());
}
@@ -380,20 +357,6 @@ public String getCountry() {
return country;
}
- /**
- * The CSI associated with the user.
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("csi")
- private final String csi;
-
- /**
- * The CSI associated with the user.
- * @return the value
- **/
- public String getCsi() {
- return csi;
- }
-
/**
* The user's contact phone number.
**/
@@ -510,7 +473,6 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", firstName=").append(String.valueOf(this.firstName));
sb.append(", lastName=").append(String.valueOf(this.lastName));
sb.append(", country=").append(String.valueOf(this.country));
- sb.append(", csi=").append(String.valueOf(this.csi));
sb.append(", phone=").append(String.valueOf(this.phone));
sb.append(", timezone=").append(String.valueOf(this.timezone));
sb.append(", organizationName=").append(String.valueOf(this.organizationName));
@@ -535,7 +497,6 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.firstName, other.firstName)
&& java.util.Objects.equals(this.lastName, other.lastName)
&& java.util.Objects.equals(this.country, other.country)
- && java.util.Objects.equals(this.csi, other.csi)
&& java.util.Objects.equals(this.phone, other.phone)
&& java.util.Objects.equals(this.timezone, other.timezone)
&& java.util.Objects.equals(this.organizationName, other.organizationName)
@@ -553,7 +514,6 @@ public int hashCode() {
result = (result * PRIME) + (this.firstName == null ? 43 : this.firstName.hashCode());
result = (result * PRIME) + (this.lastName == null ? 43 : this.lastName.hashCode());
result = (result * PRIME) + (this.country == null ? 43 : this.country.hashCode());
- result = (result * PRIME) + (this.csi == null ? 43 : this.csi.hashCode());
result = (result * PRIME) + (this.phone == null ? 43 : this.phone.hashCode());
result = (result * PRIME) + (this.timezone == null ? 43 : this.timezone.hashCode());
result =
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetIncidentRequest.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetIncidentRequest.java
index ba22b1a37fd..caed09ca43f 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetIncidentRequest.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetIncidentRequest.java
@@ -44,21 +44,6 @@ public String getCompartmentId() {
public String getOpcRequestId() {
return opcRequestId;
}
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- */
- private String csi;
-
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- */
- public String getCsi() {
- return csi;
- }
/**
* User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
* User OCID is mandatory for OCI Users and optional for Multicloud users.
@@ -197,25 +182,6 @@ public Builder opcRequestId(String opcRequestId) {
return this;
}
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- */
- private String csi = null;
-
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- * @param csi the value to set
- * @return this builder instance
- */
- public Builder csi(String csi) {
- this.csi = csi;
- return this;
- }
-
/**
* User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
* User OCID is mandatory for OCI Users and optional for Multicloud users.
@@ -360,7 +326,6 @@ public Builder copy(GetIncidentRequest o) {
incidentKey(o.getIncidentKey());
compartmentId(o.getCompartmentId());
opcRequestId(o.getOpcRequestId());
- csi(o.getCsi());
ocid(o.getOcid());
homeregion(o.getHomeregion());
problemtype(o.getProblemtype());
@@ -403,7 +368,6 @@ public GetIncidentRequest buildWithoutInvocationCallback() {
request.incidentKey = incidentKey;
request.compartmentId = compartmentId;
request.opcRequestId = opcRequestId;
- request.csi = csi;
request.ocid = ocid;
request.homeregion = homeregion;
request.problemtype = problemtype;
@@ -412,7 +376,7 @@ public GetIncidentRequest buildWithoutInvocationCallback() {
request.idtoken = idtoken;
request.domainid = domainid;
return request;
- // new GetIncidentRequest(incidentKey, compartmentId, opcRequestId, csi, ocid, homeregion, problemtype, bearertokentype, bearertoken, idtoken, domainid);
+ // new GetIncidentRequest(incidentKey, compartmentId, opcRequestId, ocid, homeregion, problemtype, bearertokentype, bearertoken, idtoken, domainid);
}
}
@@ -425,7 +389,6 @@ public Builder toBuilder() {
.incidentKey(incidentKey)
.compartmentId(compartmentId)
.opcRequestId(opcRequestId)
- .csi(csi)
.ocid(ocid)
.homeregion(homeregion)
.problemtype(problemtype)
@@ -451,7 +414,6 @@ public String toString() {
sb.append(",incidentKey=").append(String.valueOf(this.incidentKey));
sb.append(",compartmentId=").append(String.valueOf(this.compartmentId));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
- sb.append(",csi=").append(String.valueOf(this.csi));
sb.append(",ocid=").append(String.valueOf(this.ocid));
sb.append(",homeregion=").append(String.valueOf(this.homeregion));
sb.append(",problemtype=").append(String.valueOf(this.problemtype));
@@ -477,7 +439,6 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.incidentKey, other.incidentKey)
&& java.util.Objects.equals(this.compartmentId, other.compartmentId)
&& java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
- && java.util.Objects.equals(this.csi, other.csi)
&& java.util.Objects.equals(this.ocid, other.ocid)
&& java.util.Objects.equals(this.homeregion, other.homeregion)
&& java.util.Objects.equals(this.problemtype, other.problemtype)
@@ -496,7 +457,6 @@ public int hashCode() {
(result * PRIME)
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
- result = (result * PRIME) + (this.csi == null ? 43 : this.csi.hashCode());
result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode());
result = (result * PRIME) + (this.homeregion == null ? 43 : this.homeregion.hashCode());
result = (result * PRIME) + (this.problemtype == null ? 43 : this.problemtype.hashCode());
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentResourceTypesRequest.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentResourceTypesRequest.java
index f42fb10565e..83e31085e3e 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentResourceTypesRequest.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentResourceTypesRequest.java
@@ -104,21 +104,6 @@ public com.oracle.bmc.cims.model.SortOrder getSortOrder() {
public String getName() {
return name;
}
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- */
- private String csi;
-
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- */
- public String getCsi() {
- return csi;
- }
/**
* User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
* User OCID is mandatory for OCI Users and optional for Multicloud users.
@@ -292,25 +277,6 @@ public Builder name(String name) {
return this;
}
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- */
- private String csi = null;
-
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- * @param csi the value to set
- * @return this builder instance
- */
- public Builder csi(String csi) {
- this.csi = csi;
- return this;
- }
-
/**
* User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
* User OCID is mandatory for OCI Users and optional for Multicloud users.
@@ -400,7 +366,6 @@ public Builder copy(ListIncidentResourceTypesRequest o) {
sortBy(o.getSortBy());
sortOrder(o.getSortOrder());
name(o.getName());
- csi(o.getCsi());
ocid(o.getOcid());
homeregion(o.getHomeregion());
domainid(o.getDomainid());
@@ -444,12 +409,11 @@ public ListIncidentResourceTypesRequest buildWithoutInvocationCallback() {
request.sortBy = sortBy;
request.sortOrder = sortOrder;
request.name = name;
- request.csi = csi;
request.ocid = ocid;
request.homeregion = homeregion;
request.domainid = domainid;
return request;
- // new ListIncidentResourceTypesRequest(problemType, compartmentId, opcRequestId, limit, page, sortBy, sortOrder, name, csi, ocid, homeregion, domainid);
+ // new ListIncidentResourceTypesRequest(problemType, compartmentId, opcRequestId, limit, page, sortBy, sortOrder, name, ocid, homeregion, domainid);
}
}
@@ -467,7 +431,6 @@ public Builder toBuilder() {
.sortBy(sortBy)
.sortOrder(sortOrder)
.name(name)
- .csi(csi)
.ocid(ocid)
.homeregion(homeregion)
.domainid(domainid);
@@ -494,7 +457,6 @@ public String toString() {
sb.append(",sortBy=").append(String.valueOf(this.sortBy));
sb.append(",sortOrder=").append(String.valueOf(this.sortOrder));
sb.append(",name=").append(String.valueOf(this.name));
- sb.append(",csi=").append(String.valueOf(this.csi));
sb.append(",ocid=").append(String.valueOf(this.ocid));
sb.append(",homeregion=").append(String.valueOf(this.homeregion));
sb.append(",domainid=").append(String.valueOf(this.domainid));
@@ -521,7 +483,6 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.sortBy, other.sortBy)
&& java.util.Objects.equals(this.sortOrder, other.sortOrder)
&& java.util.Objects.equals(this.name, other.name)
- && java.util.Objects.equals(this.csi, other.csi)
&& java.util.Objects.equals(this.ocid, other.ocid)
&& java.util.Objects.equals(this.homeregion, other.homeregion)
&& java.util.Objects.equals(this.domainid, other.domainid);
@@ -541,7 +502,6 @@ public int hashCode() {
result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode());
result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode());
result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode());
- result = (result * PRIME) + (this.csi == null ? 43 : this.csi.hashCode());
result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode());
result = (result * PRIME) + (this.homeregion == null ? 43 : this.homeregion.hashCode());
result = (result * PRIME) + (this.domainid == null ? 43 : this.domainid.hashCode());
diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentsRequest.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentsRequest.java
index 13dd069d8e2..7f91f097119 100644
--- a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentsRequest.java
+++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentsRequest.java
@@ -22,21 +22,6 @@ public class ListIncidentsRequest extends com.oracle.bmc.requests.BmcRequest {
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- */
- private String csi;
-
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- */
- public String getCsi() {
- return csi;
- }
/**
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
*/
@@ -130,25 +115,6 @@ public static class Builder
invocationCallback = null;
private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- */
- private String csi = null;
-
- /**
- * The Customer Support Identifier (CSI) number associated with the support account.
- * The CSI is optional for all support request types.
- *
- * @param csi the value to set
- * @return this builder instance
- */
- public Builder csi(String csi) {
- this.csi = csi;
- return this;
- }
-
/**
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
*/
@@ -305,7 +271,6 @@ public Builder retryConfiguration(
* @return this builder instance
*/
public Builder copy(ValidateUserRequest o) {
- csi(o.getCsi());
opcRequestId(o.getOpcRequestId());
problemType(o.getProblemType());
ocid(o.getOcid());
@@ -346,7 +311,6 @@ public ValidateUserRequest build() {
*/
public ValidateUserRequest buildWithoutInvocationCallback() {
ValidateUserRequest request = new ValidateUserRequest();
- request.csi = csi;
request.opcRequestId = opcRequestId;
request.problemType = problemType;
request.ocid = ocid;
@@ -356,7 +320,7 @@ public ValidateUserRequest buildWithoutInvocationCallback() {
request.idtoken = idtoken;
request.domainid = domainid;
return request;
- // new ValidateUserRequest(csi, opcRequestId, problemType, ocid, homeregion, bearertokentype, bearertoken, idtoken, domainid);
+ // new ValidateUserRequest(opcRequestId, problemType, ocid, homeregion, bearertokentype, bearertoken, idtoken, domainid);
}
}
@@ -366,7 +330,6 @@ public ValidateUserRequest buildWithoutInvocationCallback() {
*/
public Builder toBuilder() {
return new Builder()
- .csi(csi)
.opcRequestId(opcRequestId)
.problemType(problemType)
.ocid(ocid)
@@ -390,7 +353,6 @@ public String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder();
sb.append("(");
sb.append("super=").append(super.toString());
- sb.append(",csi=").append(String.valueOf(this.csi));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
sb.append(",problemType=").append(String.valueOf(this.problemType));
sb.append(",ocid=").append(String.valueOf(this.ocid));
@@ -414,7 +376,6 @@ public boolean equals(Object o) {
ValidateUserRequest other = (ValidateUserRequest) o;
return super.equals(o)
- && java.util.Objects.equals(this.csi, other.csi)
&& java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
&& java.util.Objects.equals(this.problemType, other.problemType)
&& java.util.Objects.equals(this.ocid, other.ocid)
@@ -429,7 +390,6 @@ public boolean equals(Object o) {
public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
- result = (result * PRIME) + (this.csi == null ? 43 : this.csi.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
result = (result * PRIME) + (this.problemType == null ? 43 : this.problemType.hashCode());
result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode());
diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml
index 00744856527..9974aaa4790 100644
--- a/bmc-circuitbreaker/pom.xml
+++ b/bmc-circuitbreaker/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-circuitbreaker
diff --git a/bmc-circuitbreaker/src/test/java/com/oracle/bmc/circuitbreaker/internal/JaxRsCircuitBreakerImplTest.java b/bmc-circuitbreaker/src/test/java/com/oracle/bmc/circuitbreaker/internal/JaxRsCircuitBreakerImplTest.java
index be066476302..6bfd3301a76 100644
--- a/bmc-circuitbreaker/src/test/java/com/oracle/bmc/circuitbreaker/internal/JaxRsCircuitBreakerImplTest.java
+++ b/bmc-circuitbreaker/src/test/java/com/oracle/bmc/circuitbreaker/internal/JaxRsCircuitBreakerImplTest.java
@@ -539,22 +539,63 @@ public void testCircuitBreakerEventListenerOnFailureRateExceeded() {
}
@Test
- public void testMaxWaitDurationInHalfOpenState() {
+ public void testAutomaticTransitionToHalfOpenState() throws InterruptedException {
+ JaxRsCircuitBreakerImpl circuitBreaker =
+ new JaxRsCircuitBreakerImpl(
+ CircuitBreakerConfiguration.builder()
+ .failureRateThreshold(50)
+ .permittedNumberOfCallsInHalfOpenState(4)
+ .slidingWindowSize(SLIDING_WINDOW_SIZE)
+ .minimumNumberOfCalls(MIN_NUM_CALLS)
+ .waitDurationInOpenState(Duration.ofSeconds(2))
+ .circuitBreakerEventListener(eventListener)
+ .build());
+
+ openCircuitBreaker(circuitBreaker);
+
+ assertEquals(
+ com.oracle.bmc.circuitbreaker.CircuitBreakerState.OPEN, circuitBreaker.getState());
+ assertEventuallyState(
+ circuitBreaker,
+ com.oracle.bmc.circuitbreaker.CircuitBreakerState.HALF_OPEN,
+ Duration.ofSeconds(5));
+ }
+
+ @Test
+ public void testMaxWaitDurationInHalfOpenState() throws InterruptedException {
Duration maxWaitDurationInHalfOpenState = Duration.ofSeconds(1);
- CircuitBreakerConfiguration config =
- CircuitBreakerConfiguration.builder()
- .failureRateThreshold(50)
- .permittedNumberOfCallsInHalfOpenState(4)
- .slidingWindowSize(SLIDING_WINDOW_SIZE)
- .minimumNumberOfCalls(MIN_NUM_CALLS)
- .waitDurationInOpenState(Duration.ofSeconds(2))
- .circuitBreakerEventListener(eventListener)
- .maxWaitDurationInHalfOpenState(maxWaitDurationInHalfOpenState)
- .build();
+ JaxRsCircuitBreakerImpl circuitBreaker =
+ new JaxRsCircuitBreakerImpl(
+ CircuitBreakerConfiguration.builder()
+ .failureRateThreshold(50)
+ .permittedNumberOfCallsInHalfOpenState(4)
+ .slidingWindowSize(SLIDING_WINDOW_SIZE)
+ .minimumNumberOfCalls(MIN_NUM_CALLS)
+ .waitDurationInOpenState(Duration.ofSeconds(2))
+ .circuitBreakerEventListener(eventListener)
+ .maxWaitDurationInHalfOpenState(maxWaitDurationInHalfOpenState)
+ .build());
+
+ circuitBreaker.getInternalCircuitBreaker().transitionToOpenState();
+ circuitBreaker.getInternalCircuitBreaker().transitionToHalfOpenState();
- JaxRsCircuitBreakerImpl circuitBreaker = new JaxRsCircuitBreakerImpl(config);
+ assertEquals(
+ com.oracle.bmc.circuitbreaker.CircuitBreakerState.HALF_OPEN,
+ circuitBreaker.getState());
+
+ Response response = circuitBreaker.decorateSupplier(invocation200::invoke).get();
+ assertEquals(200, response.getStatus());
+ assertEquals(
+ com.oracle.bmc.circuitbreaker.CircuitBreakerState.HALF_OPEN,
+ circuitBreaker.getState());
- // Open the circuit breaker
+ assertEventuallyState(
+ circuitBreaker,
+ com.oracle.bmc.circuitbreaker.CircuitBreakerState.OPEN,
+ maxWaitDurationInHalfOpenState.plusSeconds(2));
+ }
+
+ private void openCircuitBreaker(JaxRsCircuitBreakerImpl circuitBreaker) {
for (int i = 0; i < MIN_NUM_CALLS + 2; i++) {
Supplier clientCall = circuitBreaker.decorateSupplier(invocation503::invoke);
try {
@@ -563,39 +604,21 @@ public void testMaxWaitDurationInHalfOpenState() {
break;
}
}
- assertEquals(
- CircuitBreaker.State.OPEN, circuitBreaker.getInternalCircuitBreaker().getState());
-
- // Wait for the circuit breaker to transition to HALF_OPEN state
- try {
- Thread.sleep(3000);
- } catch (InterruptedException e) {
- Thread.currentThread().interrupt();
- }
- assertEquals(
- CircuitBreaker.State.HALF_OPEN,
- circuitBreaker.getInternalCircuitBreaker().getState());
-
- // Make a call in HALF_OPEN state
- Supplier clientCall = circuitBreaker.decorateSupplier(invocation503::invoke);
- try {
- clientCall.get();
- } catch (CallNotAllowedException ex) {
- verify(eventListener, atLeastOnce()).onCallNotPermitted();
- }
+ }
- // Wait for maxWaitDurationInHalfOpenState
- try {
- Thread.sleep(
- maxWaitDurationInHalfOpenState.toMillis()
- + 100); // add some extra time to account for test variability
- } catch (InterruptedException e) {
- Thread.currentThread().interrupt();
+ private void assertEventuallyState(
+ JaxRsCircuitBreakerImpl circuitBreaker,
+ com.oracle.bmc.circuitbreaker.CircuitBreakerState expectedState,
+ Duration timeout)
+ throws InterruptedException {
+ long deadline = System.nanoTime() + timeout.toNanos();
+ while (System.nanoTime() < deadline) {
+ if (circuitBreaker.getState() == expectedState) {
+ return;
+ }
+ Thread.sleep(25);
}
-
- // The circuit breaker should still be in OPEN state because maxWaitDurationInHalfOpenState has passed
- assertEquals(
- CircuitBreaker.State.OPEN, circuitBreaker.getInternalCircuitBreaker().getState());
+ assertEquals(expectedState, circuitBreaker.getState());
}
@Test
diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml
index d825f634aff..bf6094b0873 100644
--- a/bmc-cloudbridge/pom.xml
+++ b/bmc-cloudbridge/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 2.91.0
+ 2.93.0
../pom.xml
oci-java-sdk-cloudbridge
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 2.91.0
+ 2.93.0
\ No newline at end of file
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/internal/http/AnalyzeAssetsConverter.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/internal/http/AnalyzeAssetsConverter.java
index 33141da99a7..2810e19215b 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/internal/http/AnalyzeAssetsConverter.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/internal/http/AnalyzeAssetsConverter.java
@@ -121,6 +121,22 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getInventoryId()));
}
+ if (request.getAssetClassName() != null) {
+ target =
+ target.queryParam(
+ "assetClassName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getAssetClassName()));
+ }
+
+ if (request.getAssetClassVersion() != null) {
+ target =
+ target.queryParam(
+ "assetClassVersion",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getAssetClassVersion()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/internal/http/ListAssetsConverter.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/internal/http/ListAssetsConverter.java
index 202db69a12f..e5e80a8f884 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/internal/http/ListAssetsConverter.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/internal/http/ListAssetsConverter.java
@@ -128,6 +128,22 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
request.getInventoryId()));
}
+ if (request.getAssetClassName() != null) {
+ target =
+ target.queryParam(
+ "assetClassName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getAssetClassName()));
+ }
+
+ if (request.getAssetClassVersion() != null) {
+ target =
+ target.queryParam(
+ "assetClassVersion",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getAssetClassVersion()));
+ }
+
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/ApplianceImageSummary.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/ApplianceImageSummary.java
index 19e50457afc..c472b7dfcd7 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/ApplianceImageSummary.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/ApplianceImageSummary.java
@@ -34,9 +34,7 @@ public final class ApplianceImageSummary
"timeCreated",
"timeUpdated",
"lifecycleState",
- "downloadUrl",
- "freeformTags",
- "definedTags"
+ "downloadUrl"
})
public ApplianceImageSummary(
String id,
@@ -50,9 +48,7 @@ public ApplianceImageSummary(
java.util.Date timeCreated,
java.util.Date timeUpdated,
LifecycleState lifecycleState,
- String downloadUrl,
- java.util.Map freeformTags,
- java.util.Map> definedTags) {
+ String downloadUrl) {
super();
this.id = id;
this.fileName = fileName;
@@ -66,8 +62,6 @@ public ApplianceImageSummary(
this.timeUpdated = timeUpdated;
this.lifecycleState = lifecycleState;
this.downloadUrl = downloadUrl;
- this.freeformTags = freeformTags;
- this.definedTags = definedTags;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -264,51 +258,6 @@ public Builder downloadUrl(String downloadUrl) {
this.__explicitlySet__.add("downloadUrl");
return this;
}
- /**
- * The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
- * predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
- * Example: {@code {"Department": "Finance"}}
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
- private java.util.Map freeformTags;
-
- /**
- * The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
- * predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
- * Example: {@code {"Department": "Finance"}}
- *
- * @param freeformTags the value to set
- * @return this builder
- **/
- public Builder freeformTags(java.util.Map freeformTags) {
- this.freeformTags = freeformTags;
- this.__explicitlySet__.add("freeformTags");
- return this;
- }
- /**
- * The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
- * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
- * Example: {@code {"Operations": {"CostCenter": "42"}}}
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
- private java.util.Map> definedTags;
-
- /**
- * The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
- * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
- * Example: {@code {"Operations": {"CostCenter": "42"}}}
- *
- * @param definedTags the value to set
- * @return this builder
- **/
- public Builder definedTags(
- java.util.Map> definedTags) {
- this.definedTags = definedTags;
- this.__explicitlySet__.add("definedTags");
- return this;
- }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -327,9 +276,7 @@ public ApplianceImageSummary build() {
this.timeCreated,
this.timeUpdated,
this.lifecycleState,
- this.downloadUrl,
- this.freeformTags,
- this.definedTags);
+ this.downloadUrl);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -374,12 +321,6 @@ public Builder copy(ApplianceImageSummary model) {
if (model.wasPropertyExplicitlySet("downloadUrl")) {
this.downloadUrl(model.getDownloadUrl());
}
- if (model.wasPropertyExplicitlySet("freeformTags")) {
- this.freeformTags(model.getFreeformTags());
- }
- if (model.wasPropertyExplicitlySet("definedTags")) {
- this.definedTags(model.getDefinedTags());
- }
return this;
}
}
@@ -615,46 +556,6 @@ public String getDownloadUrl() {
return downloadUrl;
}
- /**
- * The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
- * predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
- * Example: {@code {"Department": "Finance"}}
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
- private final java.util.Map freeformTags;
-
- /**
- * The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
- * predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
- * Example: {@code {"Department": "Finance"}}
- *
- * @return the value
- **/
- public java.util.Map getFreeformTags() {
- return freeformTags;
- }
-
- /**
- * The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
- * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
- * Example: {@code {"Operations": {"CostCenter": "42"}}}
- *
- **/
- @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
- private final java.util.Map> definedTags;
-
- /**
- * The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
- * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
- * Example: {@code {"Operations": {"CostCenter": "42"}}}
- *
- * @return the value
- **/
- public java.util.Map> getDefinedTags() {
- return definedTags;
- }
-
@Override
public String toString() {
return this.toString(true);
@@ -681,8 +582,6 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", timeUpdated=").append(String.valueOf(this.timeUpdated));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", downloadUrl=").append(String.valueOf(this.downloadUrl));
- sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
- sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(")");
return sb.toString();
}
@@ -709,8 +608,6 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.timeUpdated, other.timeUpdated)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.downloadUrl, other.downloadUrl)
- && java.util.Objects.equals(this.freeformTags, other.freeformTags)
- && java.util.Objects.equals(this.definedTags, other.definedTags)
&& super.equals(other);
}
@@ -732,8 +629,6 @@ public int hashCode() {
(result * PRIME)
+ (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode());
result = (result * PRIME) + (this.downloadUrl == null ? 43 : this.downloadUrl.hashCode());
- result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
- result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/Asset.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/Asset.java
index 65f7bb6be35..8343244e5d7 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/Asset.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/Asset.java
@@ -26,6 +26,10 @@
value = AwsEc2Asset.class,
name = "AWS_EC2"
),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = InventoryAsset.class,
+ name = "INVENTORY_ASSET"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = VmwareVmAsset.class,
name = "VMWARE_VM"
@@ -52,7 +56,8 @@ public class Asset extends com.oracle.bmc.http.internal.ExplicitlySetBmcModel {
"lifecycleState",
"freeformTags",
"definedTags",
- "systemTags"
+ "systemTags",
+ "environmentType"
})
protected Asset(
String displayName,
@@ -67,7 +72,8 @@ protected Asset(
LifecycleState lifecycleState,
java.util.Map freeformTags,
java.util.Map> definedTags,
- java.util.Map> systemTags) {
+ java.util.Map> systemTags,
+ EnvironmentType environmentType) {
super();
this.displayName = displayName;
this.inventoryId = inventoryId;
@@ -82,6 +88,7 @@ protected Asset(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
+ this.environmentType = environmentType;
}
/**
@@ -332,6 +339,20 @@ public java.util.Map> getSystemTags() {
return systemTags;
}
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private final EnvironmentType environmentType;
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ * @return the value
+ **/
+ public EnvironmentType getEnvironmentType() {
+ return environmentType;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -359,6 +380,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", environmentType=").append(String.valueOf(this.environmentType));
sb.append(")");
return sb.toString();
}
@@ -386,6 +408,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.environmentType, other.environmentType)
&& super.equals(other);
}
@@ -414,6 +437,9 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.environmentType == null ? 43 : this.environmentType.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSource.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSource.java
index f3cf357d50b..257187801ca 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSource.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSource.java
@@ -26,6 +26,10 @@
value = VmWareAssetSource.class,
name = "VMWARE"
),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = OlvmAssetSource.class,
+ name = "OLVM"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(value = AwsAssetSource.class, name = "AWS")
})
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
@@ -45,7 +49,8 @@ public class AssetSource extends com.oracle.bmc.http.internal.ExplicitlySetBmcMo
"timeUpdated",
"freeformTags",
"definedTags",
- "systemTags"
+ "systemTags",
+ "environmentType"
})
protected AssetSource(
String id,
@@ -61,7 +66,8 @@ protected AssetSource(
java.util.Date timeUpdated,
java.util.Map freeformTags,
java.util.Map> definedTags,
- java.util.Map> systemTags) {
+ java.util.Map> systemTags,
+ EnvironmentType environmentType) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -77,6 +83,7 @@ protected AssetSource(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
+ this.environmentType = environmentType;
}
/**
@@ -297,6 +304,20 @@ public java.util.Map> getSystemTags() {
return systemTags;
}
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private final EnvironmentType environmentType;
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ * @return the value
+ **/
+ public EnvironmentType getEnvironmentType() {
+ return environmentType;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -325,6 +346,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", environmentType=").append(String.valueOf(this.environmentType));
sb.append(")");
return sb.toString();
}
@@ -353,6 +375,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.environmentType, other.environmentType)
&& super.equals(other);
}
@@ -390,6 +413,9 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.environmentType == null ? 43 : this.environmentType.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSourceSummary.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSourceSummary.java
index 9ca4afc7120..6b0a9ab7022 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSourceSummary.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSourceSummary.java
@@ -26,6 +26,10 @@
value = VmWareAssetSourceSummary.class,
name = "VMWARE"
),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = OlvmAssetSourceSummary.class,
+ name = "OLVM"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = AwsAssetSourceSummary.class,
name = "AWS"
@@ -47,7 +51,8 @@ public class AssetSourceSummary extends com.oracle.bmc.http.internal.ExplicitlyS
"timeUpdated",
"freeformTags",
"definedTags",
- "systemTags"
+ "systemTags",
+ "environmentType"
})
protected AssetSourceSummary(
String id,
@@ -62,7 +67,8 @@ protected AssetSourceSummary(
java.util.Date timeUpdated,
java.util.Map freeformTags,
java.util.Map> definedTags,
- java.util.Map> systemTags) {
+ java.util.Map> systemTags,
+ EnvironmentType environmentType) {
super();
this.id = id;
this.compartmentId = compartmentId;
@@ -77,6 +83,7 @@ protected AssetSourceSummary(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
+ this.environmentType = environmentType;
}
/**
@@ -283,6 +290,20 @@ public java.util.Map> getSystemTags() {
return systemTags;
}
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private final EnvironmentType environmentType;
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ * @return the value
+ **/
+ public EnvironmentType getEnvironmentType() {
+ return environmentType;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -310,6 +331,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", environmentType=").append(String.valueOf(this.environmentType));
sb.append(")");
return sb.toString();
}
@@ -337,6 +359,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.environmentType, other.environmentType)
&& super.equals(other);
}
@@ -369,6 +392,9 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.environmentType == null ? 43 : this.environmentType.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSourceType.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSourceType.java
index 9e488cc9164..6e96f03424f 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSourceType.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSourceType.java
@@ -11,6 +11,7 @@
public enum AssetSourceType {
Vmware("VMWARE"),
Aws("AWS"),
+ Olvm("OLVM"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSummary.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSummary.java
index a7f37da8e5e..53617ab1d85 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSummary.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetSummary.java
@@ -33,7 +33,10 @@ public final class AssetSummary extends com.oracle.bmc.http.internal.ExplicitlyS
"lifecycleState",
"freeformTags",
"definedTags",
- "systemTags"
+ "systemTags",
+ "assetClassName",
+ "assetClassVersion",
+ "environmentType"
})
public AssetSummary(
String displayName,
@@ -49,7 +52,10 @@ public AssetSummary(
Asset.LifecycleState lifecycleState,
java.util.Map freeformTags,
java.util.Map> definedTags,
- java.util.Map> systemTags) {
+ java.util.Map> systemTags,
+ String assetClassName,
+ String assetClassVersion,
+ EnvironmentType environmentType) {
super();
this.displayName = displayName;
this.inventoryId = inventoryId;
@@ -65,6 +71,9 @@ public AssetSummary(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
+ this.assetClassName = assetClassName;
+ this.assetClassVersion = assetClassVersion;
+ this.environmentType = environmentType;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -312,6 +321,54 @@ public Builder systemTags(java.util.Map> s
this.__explicitlySet__.add("systemTags");
return this;
}
+ /**
+ * The name of the asset class.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetClassName")
+ private String assetClassName;
+
+ /**
+ * The name of the asset class.
+ * @param assetClassName the value to set
+ * @return this builder
+ **/
+ public Builder assetClassName(String assetClassName) {
+ this.assetClassName = assetClassName;
+ this.__explicitlySet__.add("assetClassName");
+ return this;
+ }
+ /**
+ * The version of the asset class.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetClassVersion")
+ private String assetClassVersion;
+
+ /**
+ * The version of the asset class.
+ * @param assetClassVersion the value to set
+ * @return this builder
+ **/
+ public Builder assetClassVersion(String assetClassVersion) {
+ this.assetClassVersion = assetClassVersion;
+ this.__explicitlySet__.add("assetClassVersion");
+ return this;
+ }
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private EnvironmentType environmentType;
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ * @param environmentType the value to set
+ * @return this builder
+ **/
+ public Builder environmentType(EnvironmentType environmentType) {
+ this.environmentType = environmentType;
+ this.__explicitlySet__.add("environmentType");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -332,7 +389,10 @@ public AssetSummary build() {
this.lifecycleState,
this.freeformTags,
this.definedTags,
- this.systemTags);
+ this.systemTags,
+ this.assetClassName,
+ this.assetClassVersion,
+ this.environmentType);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -383,6 +443,15 @@ public Builder copy(AssetSummary model) {
if (model.wasPropertyExplicitlySet("systemTags")) {
this.systemTags(model.getSystemTags());
}
+ if (model.wasPropertyExplicitlySet("assetClassName")) {
+ this.assetClassName(model.getAssetClassName());
+ }
+ if (model.wasPropertyExplicitlySet("assetClassVersion")) {
+ this.assetClassVersion(model.getAssetClassVersion());
+ }
+ if (model.wasPropertyExplicitlySet("environmentType")) {
+ this.environmentType(model.getEnvironmentType());
+ }
return this;
}
}
@@ -612,6 +681,48 @@ public java.util.Map> getSystemTags() {
return systemTags;
}
+ /**
+ * The name of the asset class.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetClassName")
+ private final String assetClassName;
+
+ /**
+ * The name of the asset class.
+ * @return the value
+ **/
+ public String getAssetClassName() {
+ return assetClassName;
+ }
+
+ /**
+ * The version of the asset class.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetClassVersion")
+ private final String assetClassVersion;
+
+ /**
+ * The version of the asset class.
+ * @return the value
+ **/
+ public String getAssetClassVersion() {
+ return assetClassVersion;
+ }
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private final EnvironmentType environmentType;
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ * @return the value
+ **/
+ public EnvironmentType getEnvironmentType() {
+ return environmentType;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -640,6 +751,9 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", assetClassName=").append(String.valueOf(this.assetClassName));
+ sb.append(", assetClassVersion=").append(String.valueOf(this.assetClassVersion));
+ sb.append(", environmentType=").append(String.valueOf(this.environmentType));
sb.append(")");
return sb.toString();
}
@@ -668,6 +782,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.assetClassName, other.assetClassName)
+ && java.util.Objects.equals(this.assetClassVersion, other.assetClassVersion)
+ && java.util.Objects.equals(this.environmentType, other.environmentType)
&& super.equals(other);
}
@@ -697,6 +814,15 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.assetClassName == null ? 43 : this.assetClassName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.assetClassVersion == null ? 43 : this.assetClassVersion.hashCode());
+ result =
+ (result * PRIME)
+ + (this.environmentType == null ? 43 : this.environmentType.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetType.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetType.java
index 04b2acf14e1..88366021be7 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetType.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AssetType.java
@@ -11,6 +11,7 @@
public enum AssetType {
VmwareVm("VMWARE_VM"),
Vm("VM"),
+ InventoryAsset("INVENTORY_ASSET"),
AwsEc2("AWS_EC2"),
AwsEbs("AWS_EBS"),
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsAssetSource.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsAssetSource.java
index e851728981f..e1877901515 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsAssetSource.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsAssetSource.java
@@ -153,6 +153,15 @@ public Builder systemTags(java.util.Map> s
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private EnvironmentType environmentType;
+
+ public Builder environmentType(EnvironmentType environmentType) {
+ this.environmentType = environmentType;
+ this.__explicitlySet__.add("environmentType");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("discoveryCredentials")
private AssetSourceCredentials discoveryCredentials;
@@ -271,6 +280,7 @@ public AwsAssetSource build() {
this.freeformTags,
this.definedTags,
this.systemTags,
+ this.environmentType,
this.discoveryCredentials,
this.replicationCredentials,
this.awsRegion,
@@ -328,6 +338,9 @@ public Builder copy(AwsAssetSource model) {
if (model.wasPropertyExplicitlySet("systemTags")) {
this.systemTags(model.getSystemTags());
}
+ if (model.wasPropertyExplicitlySet("environmentType")) {
+ this.environmentType(model.getEnvironmentType());
+ }
if (model.wasPropertyExplicitlySet("discoveryCredentials")) {
this.discoveryCredentials(model.getDiscoveryCredentials());
}
@@ -380,6 +393,7 @@ public AwsAssetSource(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
+ EnvironmentType environmentType,
AssetSourceCredentials discoveryCredentials,
AssetSourceCredentials replicationCredentials,
String awsRegion,
@@ -401,7 +415,8 @@ public AwsAssetSource(
timeUpdated,
freeformTags,
definedTags,
- systemTags);
+ systemTags,
+ environmentType);
this.discoveryCredentials = discoveryCredentials;
this.replicationCredentials = replicationCredentials;
this.awsRegion = awsRegion;
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsAssetSourceSummary.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsAssetSourceSummary.java
index 59d3c326b58..59e2735c858 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsAssetSourceSummary.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsAssetSourceSummary.java
@@ -144,6 +144,15 @@ public Builder systemTags(java.util.Map> s
this.__explicitlySet__.add("systemTags");
return this;
}
+
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private EnvironmentType environmentType;
+
+ public Builder environmentType(EnvironmentType environmentType) {
+ this.environmentType = environmentType;
+ this.__explicitlySet__.add("environmentType");
+ return this;
+ }
/**
* AWS region information, from where the resources are discovered.
**/
@@ -196,6 +205,7 @@ public AwsAssetSourceSummary build() {
this.freeformTags,
this.definedTags,
this.systemTags,
+ this.environmentType,
this.awsRegion,
this.awsAccountKey);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -245,6 +255,9 @@ public Builder copy(AwsAssetSourceSummary model) {
if (model.wasPropertyExplicitlySet("systemTags")) {
this.systemTags(model.getSystemTags());
}
+ if (model.wasPropertyExplicitlySet("environmentType")) {
+ this.environmentType(model.getEnvironmentType());
+ }
if (model.wasPropertyExplicitlySet("awsRegion")) {
this.awsRegion(model.getAwsRegion());
}
@@ -281,6 +294,7 @@ public AwsAssetSourceSummary(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
+ EnvironmentType environmentType,
String awsRegion,
String awsAccountKey) {
super(
@@ -296,7 +310,8 @@ public AwsAssetSourceSummary(
timeUpdated,
freeformTags,
definedTags,
- systemTags);
+ systemTags,
+ environmentType);
this.awsRegion = awsRegion;
this.awsAccountKey = awsAccountKey;
}
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsEbsAsset.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsEbsAsset.java
index ab56089eab2..72beade25a5 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsEbsAsset.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsEbsAsset.java
@@ -143,6 +143,15 @@ public Builder systemTags(java.util.Map> s
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private EnvironmentType environmentType;
+
+ public Builder environmentType(EnvironmentType environmentType) {
+ this.environmentType = environmentType;
+ this.__explicitlySet__.add("environmentType");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("awsEbs")
private AwsEbsProperties awsEbs;
@@ -171,6 +180,7 @@ public AwsEbsAsset build() {
this.freeformTags,
this.definedTags,
this.systemTags,
+ this.environmentType,
this.awsEbs);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -219,6 +229,9 @@ public Builder copy(AwsEbsAsset model) {
if (model.wasPropertyExplicitlySet("systemTags")) {
this.systemTags(model.getSystemTags());
}
+ if (model.wasPropertyExplicitlySet("environmentType")) {
+ this.environmentType(model.getEnvironmentType());
+ }
if (model.wasPropertyExplicitlySet("awsEbs")) {
this.awsEbs(model.getAwsEbs());
}
@@ -252,6 +265,7 @@ public AwsEbsAsset(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
+ EnvironmentType environmentType,
AwsEbsProperties awsEbs) {
super(
displayName,
@@ -266,7 +280,8 @@ public AwsEbsAsset(
lifecycleState,
freeformTags,
definedTags,
- systemTags);
+ systemTags,
+ environmentType);
this.awsEbs = awsEbs;
}
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsEc2Asset.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsEc2Asset.java
index f7371276862..1955900163d 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsEc2Asset.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/AwsEc2Asset.java
@@ -143,6 +143,15 @@ public Builder systemTags(java.util.Map> s
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private EnvironmentType environmentType;
+
+ public Builder environmentType(EnvironmentType environmentType) {
+ this.environmentType = environmentType;
+ this.__explicitlySet__.add("environmentType");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("compute")
private ComputeProperties compute;
@@ -207,6 +216,7 @@ public AwsEc2Asset build() {
this.freeformTags,
this.definedTags,
this.systemTags,
+ this.environmentType,
this.compute,
this.vm,
this.awsEc2,
@@ -259,6 +269,9 @@ public Builder copy(AwsEc2Asset model) {
if (model.wasPropertyExplicitlySet("systemTags")) {
this.systemTags(model.getSystemTags());
}
+ if (model.wasPropertyExplicitlySet("environmentType")) {
+ this.environmentType(model.getEnvironmentType());
+ }
if (model.wasPropertyExplicitlySet("compute")) {
this.compute(model.getCompute());
}
@@ -304,6 +317,7 @@ public AwsEc2Asset(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
+ EnvironmentType environmentType,
ComputeProperties compute,
VmProperties vm,
AwsEc2Properties awsEc2,
@@ -322,7 +336,8 @@ public AwsEc2Asset(
lifecycleState,
freeformTags,
definedTags,
- systemTags);
+ systemTags,
+ environmentType);
this.compute = compute;
this.vm = vm;
this.awsEc2 = awsEc2;
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAssetDetails.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAssetDetails.java
index 843b8563119..52c099a5fc9 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAssetDetails.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAssetDetails.java
@@ -30,6 +30,10 @@
value = CreateVmwareVmAssetDetails.class,
name = "VMWARE_VM"
),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateInventoryAssetDetails.class,
+ name = "INVENTORY_ASSET"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateAwsEc2AssetDetails.class,
name = "AWS_EC2"
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAssetSourceDetails.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAssetSourceDetails.java
index 2cb751c6c14..a21f7510662 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAssetSourceDetails.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAssetSourceDetails.java
@@ -26,6 +26,10 @@
value = CreateVmWareAssetSourceDetails.class,
name = "VMWARE"
),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateOlvmAssetSourceDetails.class,
+ name = "OLVM"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateAwsAssetSourceDetails.class,
name = "AWS"
@@ -43,7 +47,8 @@ public class CreateAssetSourceDetails extends com.oracle.bmc.http.internal.Expli
"discoveryScheduleId",
"freeformTags",
"definedTags",
- "systemTags"
+ "systemTags",
+ "environmentType"
})
protected CreateAssetSourceDetails(
String displayName,
@@ -54,7 +59,8 @@ protected CreateAssetSourceDetails(
String discoveryScheduleId,
java.util.Map freeformTags,
java.util.Map> definedTags,
- java.util.Map> systemTags) {
+ java.util.Map> systemTags,
+ EnvironmentType environmentType) {
super();
this.displayName = displayName;
this.compartmentId = compartmentId;
@@ -65,6 +71,7 @@ protected CreateAssetSourceDetails(
this.freeformTags = freeformTags;
this.definedTags = definedTags;
this.systemTags = systemTags;
+ this.environmentType = environmentType;
}
/**
@@ -217,6 +224,20 @@ public java.util.Map> getSystemTags() {
return systemTags;
}
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private final EnvironmentType environmentType;
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ * @return the value
+ **/
+ public EnvironmentType getEnvironmentType() {
+ return environmentType;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -240,6 +261,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", systemTags=").append(String.valueOf(this.systemTags));
+ sb.append(", environmentType=").append(String.valueOf(this.environmentType));
sb.append(")");
return sb.toString();
}
@@ -263,6 +285,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.systemTags, other.systemTags)
+ && java.util.Objects.equals(this.environmentType, other.environmentType)
&& super.equals(other);
}
@@ -291,6 +314,9 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.systemTags == null ? 43 : this.systemTags.hashCode());
+ result =
+ (result * PRIME)
+ + (this.environmentType == null ? 43 : this.environmentType.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAwsAssetSourceDetails.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAwsAssetSourceDetails.java
index 094ea1d7d2c..85071e10409 100644
--- a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAwsAssetSourceDetails.java
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateAwsAssetSourceDetails.java
@@ -109,6 +109,15 @@ public Builder systemTags(java.util.Map> s
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private EnvironmentType environmentType;
+
+ public Builder environmentType(EnvironmentType environmentType) {
+ this.environmentType = environmentType;
+ this.__explicitlySet__.add("environmentType");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("discoveryCredentials")
private AssetSourceCredentials discoveryCredentials;
@@ -222,6 +231,7 @@ public CreateAwsAssetSourceDetails build() {
this.freeformTags,
this.definedTags,
this.systemTags,
+ this.environmentType,
this.discoveryCredentials,
this.replicationCredentials,
this.awsRegion,
@@ -264,6 +274,9 @@ public Builder copy(CreateAwsAssetSourceDetails model) {
if (model.wasPropertyExplicitlySet("systemTags")) {
this.systemTags(model.getSystemTags());
}
+ if (model.wasPropertyExplicitlySet("environmentType")) {
+ this.environmentType(model.getEnvironmentType());
+ }
if (model.wasPropertyExplicitlySet("discoveryCredentials")) {
this.discoveryCredentials(model.getDiscoveryCredentials());
}
@@ -311,6 +324,7 @@ public CreateAwsAssetSourceDetails(
java.util.Map freeformTags,
java.util.Map> definedTags,
java.util.Map> systemTags,
+ EnvironmentType environmentType,
AssetSourceCredentials discoveryCredentials,
AssetSourceCredentials replicationCredentials,
String awsRegion,
@@ -327,7 +341,8 @@ public CreateAwsAssetSourceDetails(
discoveryScheduleId,
freeformTags,
definedTags,
- systemTags);
+ systemTags,
+ environmentType);
this.discoveryCredentials = discoveryCredentials;
this.replicationCredentials = replicationCredentials;
this.awsRegion = awsRegion;
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateInventoryAssetDetails.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateInventoryAssetDetails.java
new file mode 100644
index 00000000000..0f1610a9f75
--- /dev/null
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateInventoryAssetDetails.java
@@ -0,0 +1,384 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.cloudbridge.model;
+
+/**
+ * Create a JSON formatted type of asset.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220509")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateInventoryAssetDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "assetType"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateInventoryAssetDetails extends CreateAssetDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("inventoryId")
+ private String inventoryId;
+
+ public Builder inventoryId(String inventoryId) {
+ this.inventoryId = inventoryId;
+ this.__explicitlySet__.add("inventoryId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("sourceKey")
+ private String sourceKey;
+
+ public Builder sourceKey(String sourceKey) {
+ this.sourceKey = sourceKey;
+ this.__explicitlySet__.add("sourceKey");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("externalAssetKey")
+ private String externalAssetKey;
+
+ public Builder externalAssetKey(String externalAssetKey) {
+ this.externalAssetKey = externalAssetKey;
+ this.__explicitlySet__.add("externalAssetKey");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("assetSourceIds")
+ private java.util.List assetSourceIds;
+
+ public Builder assetSourceIds(java.util.List assetSourceIds) {
+ this.assetSourceIds = assetSourceIds;
+ this.__explicitlySet__.add("assetSourceIds");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ public Builder freeformTags(java.util.Map freeformTags) {
+ this.freeformTags = freeformTags;
+ this.__explicitlySet__.add("freeformTags");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ private java.util.Map> definedTags;
+
+ public Builder definedTags(
+ java.util.Map> definedTags) {
+ this.definedTags = definedTags;
+ this.__explicitlySet__.add("definedTags");
+ return this;
+ }
+ /**
+ * The class name of the asset.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetClassName")
+ private String assetClassName;
+
+ /**
+ * The class name of the asset.
+ * @param assetClassName the value to set
+ * @return this builder
+ **/
+ public Builder assetClassName(String assetClassName) {
+ this.assetClassName = assetClassName;
+ this.__explicitlySet__.add("assetClassName");
+ return this;
+ }
+ /**
+ * The version of the asset class.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetClassVersion")
+ private String assetClassVersion;
+
+ /**
+ * The version of the asset class.
+ * @param assetClassVersion the value to set
+ * @return this builder
+ **/
+ public Builder assetClassVersion(String assetClassVersion) {
+ this.assetClassVersion = assetClassVersion;
+ this.__explicitlySet__.add("assetClassVersion");
+ return this;
+ }
+ /**
+ * The details of the asset.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetDetails")
+ private java.util.Map assetDetails;
+
+ /**
+ * The details of the asset.
+ * @param assetDetails the value to set
+ * @return this builder
+ **/
+ public Builder assetDetails(java.util.Map assetDetails) {
+ this.assetDetails = assetDetails;
+ this.__explicitlySet__.add("assetDetails");
+ return this;
+ }
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private EnvironmentType environmentType;
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ * @param environmentType the value to set
+ * @return this builder
+ **/
+ public Builder environmentType(EnvironmentType environmentType) {
+ this.environmentType = environmentType;
+ this.__explicitlySet__.add("environmentType");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateInventoryAssetDetails build() {
+ CreateInventoryAssetDetails model =
+ new CreateInventoryAssetDetails(
+ this.displayName,
+ this.inventoryId,
+ this.compartmentId,
+ this.sourceKey,
+ this.externalAssetKey,
+ this.assetSourceIds,
+ this.freeformTags,
+ this.definedTags,
+ this.assetClassName,
+ this.assetClassVersion,
+ this.assetDetails,
+ this.environmentType);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateInventoryAssetDetails model) {
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("inventoryId")) {
+ this.inventoryId(model.getInventoryId());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("sourceKey")) {
+ this.sourceKey(model.getSourceKey());
+ }
+ if (model.wasPropertyExplicitlySet("externalAssetKey")) {
+ this.externalAssetKey(model.getExternalAssetKey());
+ }
+ if (model.wasPropertyExplicitlySet("assetSourceIds")) {
+ this.assetSourceIds(model.getAssetSourceIds());
+ }
+ if (model.wasPropertyExplicitlySet("freeformTags")) {
+ this.freeformTags(model.getFreeformTags());
+ }
+ if (model.wasPropertyExplicitlySet("definedTags")) {
+ this.definedTags(model.getDefinedTags());
+ }
+ if (model.wasPropertyExplicitlySet("assetClassName")) {
+ this.assetClassName(model.getAssetClassName());
+ }
+ if (model.wasPropertyExplicitlySet("assetClassVersion")) {
+ this.assetClassVersion(model.getAssetClassVersion());
+ }
+ if (model.wasPropertyExplicitlySet("assetDetails")) {
+ this.assetDetails(model.getAssetDetails());
+ }
+ if (model.wasPropertyExplicitlySet("environmentType")) {
+ this.environmentType(model.getEnvironmentType());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateInventoryAssetDetails(
+ String displayName,
+ String inventoryId,
+ String compartmentId,
+ String sourceKey,
+ String externalAssetKey,
+ java.util.List assetSourceIds,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ String assetClassName,
+ String assetClassVersion,
+ java.util.Map assetDetails,
+ EnvironmentType environmentType) {
+ super(
+ displayName,
+ inventoryId,
+ compartmentId,
+ sourceKey,
+ externalAssetKey,
+ assetSourceIds,
+ freeformTags,
+ definedTags);
+ this.assetClassName = assetClassName;
+ this.assetClassVersion = assetClassVersion;
+ this.assetDetails = assetDetails;
+ this.environmentType = environmentType;
+ }
+
+ /**
+ * The class name of the asset.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetClassName")
+ private final String assetClassName;
+
+ /**
+ * The class name of the asset.
+ * @return the value
+ **/
+ public String getAssetClassName() {
+ return assetClassName;
+ }
+
+ /**
+ * The version of the asset class.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetClassVersion")
+ private final String assetClassVersion;
+
+ /**
+ * The version of the asset class.
+ * @return the value
+ **/
+ public String getAssetClassVersion() {
+ return assetClassVersion;
+ }
+
+ /**
+ * The details of the asset.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("assetDetails")
+ private final java.util.Map assetDetails;
+
+ /**
+ * The details of the asset.
+ * @return the value
+ **/
+ public java.util.Map getAssetDetails() {
+ return assetDetails;
+ }
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private final EnvironmentType environmentType;
+
+ /**
+ * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
+ * @return the value
+ **/
+ public EnvironmentType getEnvironmentType() {
+ return environmentType;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("CreateInventoryAssetDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", assetClassName=").append(String.valueOf(this.assetClassName));
+ sb.append(", assetClassVersion=").append(String.valueOf(this.assetClassVersion));
+ sb.append(", assetDetails=").append(String.valueOf(this.assetDetails));
+ sb.append(", environmentType=").append(String.valueOf(this.environmentType));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof CreateInventoryAssetDetails)) {
+ return false;
+ }
+
+ CreateInventoryAssetDetails other = (CreateInventoryAssetDetails) o;
+ return java.util.Objects.equals(this.assetClassName, other.assetClassName)
+ && java.util.Objects.equals(this.assetClassVersion, other.assetClassVersion)
+ && java.util.Objects.equals(this.assetDetails, other.assetDetails)
+ && java.util.Objects.equals(this.environmentType, other.environmentType)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.assetClassName == null ? 43 : this.assetClassName.hashCode());
+ result =
+ (result * PRIME)
+ + (this.assetClassVersion == null ? 43 : this.assetClassVersion.hashCode());
+ result = (result * PRIME) + (this.assetDetails == null ? 43 : this.assetDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.environmentType == null ? 43 : this.environmentType.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateOlvmAssetSourceDetails.java b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateOlvmAssetSourceDetails.java
new file mode 100644
index 00000000000..d543fc04497
--- /dev/null
+++ b/bmc-cloudbridge/src/main/java/com/oracle/bmc/cloudbridge/model/CreateOlvmAssetSourceDetails.java
@@ -0,0 +1,440 @@
+/**
+ * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.cloudbridge.model;
+
+/**
+ * OLVM asset source creation request.
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220509")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateOlvmAssetSourceDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "type"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public final class CreateOlvmAssetSourceDetails extends CreateAssetSourceDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("displayName")
+ private String displayName;
+
+ public Builder displayName(String displayName) {
+ this.displayName = displayName;
+ this.__explicitlySet__.add("displayName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
+ private String compartmentId;
+
+ public Builder compartmentId(String compartmentId) {
+ this.compartmentId = compartmentId;
+ this.__explicitlySet__.add("compartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentId")
+ private String environmentId;
+
+ public Builder environmentId(String environmentId) {
+ this.environmentId = environmentId;
+ this.__explicitlySet__.add("environmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("inventoryId")
+ private String inventoryId;
+
+ public Builder inventoryId(String inventoryId) {
+ this.inventoryId = inventoryId;
+ this.__explicitlySet__.add("inventoryId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("assetsCompartmentId")
+ private String assetsCompartmentId;
+
+ public Builder assetsCompartmentId(String assetsCompartmentId) {
+ this.assetsCompartmentId = assetsCompartmentId;
+ this.__explicitlySet__.add("assetsCompartmentId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("discoveryScheduleId")
+ private String discoveryScheduleId;
+
+ public Builder discoveryScheduleId(String discoveryScheduleId) {
+ this.discoveryScheduleId = discoveryScheduleId;
+ this.__explicitlySet__.add("discoveryScheduleId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("freeformTags")
+ private java.util.Map freeformTags;
+
+ public Builder freeformTags(java.util.Map freeformTags) {
+ this.freeformTags = freeformTags;
+ this.__explicitlySet__.add("freeformTags");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("definedTags")
+ private java.util.Map> definedTags;
+
+ public Builder definedTags(
+ java.util.Map> definedTags) {
+ this.definedTags = definedTags;
+ this.__explicitlySet__.add("definedTags");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("systemTags")
+ private java.util.Map> systemTags;
+
+ public Builder systemTags(java.util.Map> systemTags) {
+ this.systemTags = systemTags;
+ this.__explicitlySet__.add("systemTags");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("environmentType")
+ private EnvironmentType environmentType;
+
+ public Builder environmentType(EnvironmentType environmentType) {
+ this.environmentType = environmentType;
+ this.__explicitlySet__.add("environmentType");
+ return this;
+ }
+ /**
+ * Endpoint for OLVM asset discovery and replication in the form of {@code https://:}
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("olvmEndpoint")
+ private String olvmEndpoint;
+
+ /**
+ * Endpoint for OLVM asset discovery and replication in the form of {@code https://:}
+ * @param olvmEndpoint the value to set
+ * @return this builder
+ **/
+ public Builder olvmEndpoint(String olvmEndpoint) {
+ this.olvmEndpoint = olvmEndpoint;
+ this.__explicitlySet__.add("olvmEndpoint");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("discoveryCredentials")
+ private AssetSourceCredentials discoveryCredentials;
+
+ public Builder discoveryCredentials(AssetSourceCredentials discoveryCredentials) {
+ this.discoveryCredentials = discoveryCredentials;
+ this.__explicitlySet__.add("discoveryCredentials");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("replicationCredentials")
+ private AssetSourceCredentials replicationCredentials;
+
+ public Builder replicationCredentials(AssetSourceCredentials replicationCredentials) {
+ this.replicationCredentials = replicationCredentials;
+ this.__explicitlySet__.add("replicationCredentials");
+ return this;
+ }
+ /**
+ * Flag indicating whether historical metrics are collected for assets, originating from this asset source.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("areHistoricalMetricsCollected")
+ private Boolean areHistoricalMetricsCollected;
+
+ /**
+ * Flag indicating whether historical metrics are collected for assets, originating from this asset source.
+ * @param areHistoricalMetricsCollected the value to set
+ * @return this builder
+ **/
+ public Builder areHistoricalMetricsCollected(Boolean areHistoricalMetricsCollected) {
+ this.areHistoricalMetricsCollected = areHistoricalMetricsCollected;
+ this.__explicitlySet__.add("areHistoricalMetricsCollected");
+ return this;
+ }
+ /**
+ * Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("areRealtimeMetricsCollected")
+ private Boolean areRealtimeMetricsCollected;
+
+ /**
+ * Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
+ * @param areRealtimeMetricsCollected the value to set
+ * @return this builder
+ **/
+ public Builder areRealtimeMetricsCollected(Boolean areRealtimeMetricsCollected) {
+ this.areRealtimeMetricsCollected = areRealtimeMetricsCollected;
+ this.__explicitlySet__.add("areRealtimeMetricsCollected");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateOlvmAssetSourceDetails build() {
+ CreateOlvmAssetSourceDetails model =
+ new CreateOlvmAssetSourceDetails(
+ this.displayName,
+ this.compartmentId,
+ this.environmentId,
+ this.inventoryId,
+ this.assetsCompartmentId,
+ this.discoveryScheduleId,
+ this.freeformTags,
+ this.definedTags,
+ this.systemTags,
+ this.environmentType,
+ this.olvmEndpoint,
+ this.discoveryCredentials,
+ this.replicationCredentials,
+ this.areHistoricalMetricsCollected,
+ this.areRealtimeMetricsCollected);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateOlvmAssetSourceDetails model) {
+ if (model.wasPropertyExplicitlySet("displayName")) {
+ this.displayName(model.getDisplayName());
+ }
+ if (model.wasPropertyExplicitlySet("compartmentId")) {
+ this.compartmentId(model.getCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("environmentId")) {
+ this.environmentId(model.getEnvironmentId());
+ }
+ if (model.wasPropertyExplicitlySet("inventoryId")) {
+ this.inventoryId(model.getInventoryId());
+ }
+ if (model.wasPropertyExplicitlySet("assetsCompartmentId")) {
+ this.assetsCompartmentId(model.getAssetsCompartmentId());
+ }
+ if (model.wasPropertyExplicitlySet("discoveryScheduleId")) {
+ this.discoveryScheduleId(model.getDiscoveryScheduleId());
+ }
+ if (model.wasPropertyExplicitlySet("freeformTags")) {
+ this.freeformTags(model.getFreeformTags());
+ }
+ if (model.wasPropertyExplicitlySet("definedTags")) {
+ this.definedTags(model.getDefinedTags());
+ }
+ if (model.wasPropertyExplicitlySet("systemTags")) {
+ this.systemTags(model.getSystemTags());
+ }
+ if (model.wasPropertyExplicitlySet("environmentType")) {
+ this.environmentType(model.getEnvironmentType());
+ }
+ if (model.wasPropertyExplicitlySet("olvmEndpoint")) {
+ this.olvmEndpoint(model.getOlvmEndpoint());
+ }
+ if (model.wasPropertyExplicitlySet("discoveryCredentials")) {
+ this.discoveryCredentials(model.getDiscoveryCredentials());
+ }
+ if (model.wasPropertyExplicitlySet("replicationCredentials")) {
+ this.replicationCredentials(model.getReplicationCredentials());
+ }
+ if (model.wasPropertyExplicitlySet("areHistoricalMetricsCollected")) {
+ this.areHistoricalMetricsCollected(model.getAreHistoricalMetricsCollected());
+ }
+ if (model.wasPropertyExplicitlySet("areRealtimeMetricsCollected")) {
+ this.areRealtimeMetricsCollected(model.getAreRealtimeMetricsCollected());
+ }
+ return this;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public CreateOlvmAssetSourceDetails(
+ String displayName,
+ String compartmentId,
+ String environmentId,
+ String inventoryId,
+ String assetsCompartmentId,
+ String discoveryScheduleId,
+ java.util.Map freeformTags,
+ java.util.Map> definedTags,
+ java.util.Map> systemTags,
+ EnvironmentType environmentType,
+ String olvmEndpoint,
+ AssetSourceCredentials discoveryCredentials,
+ AssetSourceCredentials replicationCredentials,
+ Boolean areHistoricalMetricsCollected,
+ Boolean areRealtimeMetricsCollected) {
+ super(
+ displayName,
+ compartmentId,
+ environmentId,
+ inventoryId,
+ assetsCompartmentId,
+ discoveryScheduleId,
+ freeformTags,
+ definedTags,
+ systemTags,
+ environmentType);
+ this.olvmEndpoint = olvmEndpoint;
+ this.discoveryCredentials = discoveryCredentials;
+ this.replicationCredentials = replicationCredentials;
+ this.areHistoricalMetricsCollected = areHistoricalMetricsCollected;
+ this.areRealtimeMetricsCollected = areRealtimeMetricsCollected;
+ }
+
+ /**
+ * Endpoint for OLVM asset discovery and replication in the form of {@code https://: