From 661a7a6f263abe7a866faea574cb45c6f20fb3c3 Mon Sep 17 00:00:00 2001 From: OCI DEX Release Bot Automation Date: Tue, 26 May 2026 23:43:31 +0000 Subject: [PATCH] Releasing version 3.88.0 --- CHANGELOG.md | 32 + bmc-accessgovernancecp/pom.xml | 4 +- bmc-addons/bmc-adk/pom.xml | 2 +- bmc-addons/bmc-aispeech-realtime/pom.xml | 6 +- .../pom.xml | 6 +- .../pom.xml | 6 +- .../bmc-apache-connector-provider/pom.xml | 4 +- bmc-addons/bmc-oke-workload-identity/pom.xml | 10 +- ...IdentityAuthenticationDetailsProvider.java | 2 +- .../bmc-resteasy-client-configurator/pom.xml | 4 +- .../bmc-sasl-oke-workload-identity/pom.xml | 6 +- bmc-addons/bmc-sasl/pom.xml | 4 +- bmc-addons/bmc-sse-support-jersey3/pom.xml | 8 +- bmc-addons/bmc-sse-support/pom.xml | 8 +- bmc-addons/pom.xml | 2 +- bmc-adm/pom.xml | 4 +- bmc-aidataplatform/pom.xml | 4 +- bmc-aidocument/pom.xml | 4 +- bmc-ailanguage/pom.xml | 4 +- bmc-aispeech/pom.xml | 4 +- bmc-aivision/pom.xml | 4 +- bmc-analytics/pom.xml | 4 +- bmc-announcementsservice/pom.xml | 4 +- bmc-apiaccesscontrol/pom.xml | 4 +- bmc-apigateway/pom.xml | 4 +- bmc-apiplatform/pom.xml | 4 +- bmc-apmconfig/pom.xml | 4 +- bmc-apmcontrolplane/pom.xml | 4 +- bmc-apmsynthetics/pom.xml | 4 +- bmc-apmtraces/pom.xml | 4 +- bmc-appmgmtcontrol/pom.xml | 4 +- bmc-artifacts/pom.xml | 4 +- bmc-audit/pom.xml | 4 +- bmc-autoscaling/pom.xml | 4 +- bmc-bastion/pom.xml | 4 +- bmc-batch/pom.xml | 4 +- bmc-bds/pom.xml | 4 +- bmc-blockchain/pom.xml | 4 +- bmc-bom/pom.xml | 374 ++++---- bmc-budget/pom.xml | 4 +- bmc-capacitymanagement/pom.xml | 4 +- bmc-certificates/pom.xml | 4 +- bmc-certificatesmanagement/pom.xml | 4 +- bmc-cims/pom.xml | 4 +- bmc-circuitbreaker/pom.xml | 2 +- bmc-cloudbridge/pom.xml | 4 +- bmc-cloudguard/pom.xml | 4 +- bmc-cloudmigrations/pom.xml | 4 +- bmc-clusterplacementgroups/pom.xml | 4 +- .../model/AdditionalCapabilityDetails.java | 127 +++ .../AdditionalComputeCapabilityDetails.java | 243 +++++ .../model/CapabilityDetails.java | 33 +- .../reflect-config.json | 27 + .../bmc-common-httpclient-jersey/pom.xml | 6 +- .../bmc-common-httpclient-jersey3/pom.xml | 6 +- bmc-common-httpclient-choices/pom.xml | 2 +- bmc-common-httpclient/pom.xml | 2 +- bmc-common/pom.xml | 8 +- .../src/main/java/com/oracle/bmc/Region.java | 1 + bmc-common/src/test/resources/regions.json | 6 + bmc-computecloudatcustomer/pom.xml | 4 +- bmc-computeinstanceagent/pom.xml | 4 +- bmc-containerengine/pom.xml | 4 +- .../model/ClusterEndpointConfig.java | 78 +- .../CreateClusterEndpointConfigDetails.java | 77 +- .../model/CreateNodePoolDetails.java | 32 +- .../model/CreateVnicDetails.java | 69 +- .../bmc/containerengine/model/NodePool.java | 32 +- .../model/NodePoolPrimaryVnicDetails.java | 161 ++++ .../model/NodePoolSummary.java | 32 +- .../UpdateClusterEndpointConfigDetails.java | 69 +- .../model/UpdateNodePoolDetails.java | 32 +- .../reflect-config.json | 14 + bmc-containerinstances/pom.xml | 4 +- bmc-containerregistry/pom.xml | 4 +- bmc-core/pom.xml | 6 +- .../oracle/bmc/core/ComputeAsyncClient.java | 3 + .../com/oracle/bmc/core/ComputeClient.java | 3 + .../oracle/bmc/core/model/CapacityBin.java | 86 ++ .../bmc/core/model/CapacityBinPreview.java | 42 + .../bmc/core/model/DedicatedVmHost.java | 98 ++ .../core/model/DedicatedVmHostSummary.java | 92 +- ...ationLaunchInstanceShapeConfigDetails.java | 62 +- .../bmc/core/model/InstanceShapeConfig.java | 60 +- .../LaunchInstanceShapeConfigDetails.java | 62 +- .../UpdateInstanceShapeConfigDetails.java | 62 +- .../requests/ListDedicatedVmHostsRequest.java | 41 +- bmc-costad/pom.xml | 4 +- bmc-dashboardservice/pom.xml | 4 +- bmc-database/pom.xml | 6 +- .../com/oracle/bmc/database/Database.java | 2 +- .../oracle/bmc/database/DatabaseAsync.java | 2 +- .../bmc/database/DatabaseAsyncClient.java | 4 + .../oracle/bmc/database/DatabaseClient.java | 4 + .../model/AutonomousContainerDatabase.java | 9 +- .../AutonomousContainerDatabaseSummary.java | 9 +- .../database/model/AutonomousDatabase.java | 16 +- .../model/AutonomousDatabaseSummary.java | 16 +- .../AutonomousDbPreviewVersionSummary.java | 15 +- .../model/AutonomousDbVersionSummary.java | 15 +- .../database/model/AutonomousDwDatabase.java | 16 +- .../database/model/AutonomousVmCluster.java | 128 +++ .../model/AutonomousVmClusterSummary.java | 128 +++ .../model/CloudAutonomousVmCluster.java | 134 ++- .../CloudAutonomousVmClusterSummary.java | 134 ++- .../model/CloudExadataInfrastructure.java | 33 + .../CloudExadataInfrastructureSummary.java | 33 + ...CreateAutonomousContainerDatabaseBase.java | 5 +- .../model/CreateAutonomousDatabaseBase.java | 9 +- .../CreateAutonomousVmClusterDetails.java | 121 ++- ...CreateCloudAutonomousVmClusterDetails.java | 115 +++ ...eateCloudExadataInfrastructureDetails.java | 33 + .../CreateExadataInfrastructureDetails.java | 33 + .../model/CreateExecutionActionDetails.java | 1 + .../model/CreateScheduledActionDetails.java | 1 + .../model/CreateSchedulingPlanDetails.java | 88 +- .../model/DefinedFileSystemConfiguration.java | 43 +- .../database/model/ExadataInfrastructure.java | 33 + .../model/ExadataInfrastructureSummary.java | 33 + ...ataInfrastructureUnAllocatedResources.java | 4 +- .../bmc/database/model/ExecutionAction.java | 1 + .../model/ExecutionActionSummary.java | 1 + .../bmc/database/model/ExecutionWindow.java | 64 +- .../model/ExecutionWindowSummary.java | 64 +- .../bmc/database/model/MaintenanceRun.java | 125 ++- .../database/model/MaintenanceRunSummary.java | 125 ++- .../MaintenanceVersionPreferenceDetails.java | 158 ++++ .../RecommendedScheduledActionSummary.java | 1 + .../bmc/database/model/ScheduledAction.java | 1 + .../model/ScheduledActionSummary.java | 1 + .../bmc/database/model/SchedulingPlan.java | 21 +- .../database/model/SchedulingPlanSummary.java | 21 +- .../database/model/SourceDatabaseDetails.java | 15 +- ...ateAutonomousContainerDatabaseDetails.java | 281 +++++- .../UpdateAutonomousDatabaseDetails.java | 75 +- .../UpdateAutonomousVmClusterDetails.java | 252 ++++- ...UpdateCloudAutonomousVmClusterDetails.java | 259 ++++++ ...dateCloudExadataInfrastructureDetails.java | 33 + .../UpdateExadataInfrastructureDetails.java | 33 + .../database/model/WindowTypeDescription.java | 224 +++++ ...istDbSystemComputePerformancesRequest.java | 48 +- .../ListParamsForActionTypeRequest.java | 82 +- ...istRecommendedScheduledActionsRequest.java | 1 + .../requests/ListSchedulingPlansRequest.java | 68 +- .../ListSchedulingPoliciesRequest.java | 34 +- .../oci-java-sdk-database/reflect-config.json | 100 ++ bmc-databasemanagement/pom.xml | 4 +- bmc-databasemigration/pom.xml | 4 +- bmc-databasetools/pom.xml | 4 +- bmc-databasetoolsruntime/pom.xml | 4 +- bmc-datacatalog/pom.xml | 4 +- bmc-dataflow/pom.xml | 4 +- bmc-dataintegration/pom.xml | 4 +- bmc-datalabelingservice/pom.xml | 4 +- bmc-datalabelingservicedataplane/pom.xml | 4 +- bmc-datasafe/pom.xml | 4 +- bmc-datascience/pom.xml | 4 +- .../oracle/bmc/datascience/DataScience.java | 115 +++ .../bmc/datascience/DataScienceAsync.java | 115 +++ .../datascience/DataScienceAsyncClient.java | 246 +++++ .../bmc/datascience/DataScienceClient.java | 225 +++++ .../datascience/DataSciencePaginators.java | 243 +++++ .../bmc/datascience/DataScienceWaiters.java | 106 +++ .../datascience/model/AuthConfiguration.java | 8 - .../datascience/model/AutoScalingPolicy.java | 8 +- ...ChangeComputeTargetCompartmentDetails.java | 145 +++ .../model/ComputeConfigurationDetails.java | 78 ++ .../bmc/datascience/model/ComputeTarget.java | 673 ++++++++++++++ .../model/ComputeTargetLifecycleState.java | 58 ++ .../model/ComputeTargetShapeSeries.java | 57 ++ .../model/ComputeTargetShapeSummary.java | 245 +++++ .../model/ComputeTargetSummary.java | 470 ++++++++++ .../model/ComputeTargetSystemData.java | 124 +++ .../bmc/datascience/model/ComputeType.java | 52 ++ .../model/CreateAuthConfigurationDetails.java | 6 - .../model/CreateComputeTargetDetails.java | 425 +++++++++ ...CustomServiceAuthConfigurationDetails.java | 290 ------ .../bmc/datascience/model/HttpMethod.java | 55 ++ .../IdcsCustomServiceAuthConfiguration.java | 290 ------ .../model/InferenceHttpEndpoint.java | 172 ++++ ...JobInfrastructureConfigurationDetails.java | 4 + ...anagedComputeClusterAutoScalingPolicy.java | 239 +++++ ...omputeClusterAutoScalingPolicyDetails.java | 126 +++ ...uteClusterComputeConfigurationDetails.java | 159 ++++ ...omExpressionQueryScalingConfiguration.java | 198 ++++ ...puteClusterCustomMetricExpressionRule.java | 170 ++++ ...dComputeClusterFixedSizeScalingPolicy.java | 140 +++ ...teClusterInstanceConfigurationDetails.java | 224 +++++ ...gedComputeClusterInstanceShapeDetails.java | 172 ++++ ...JobInfrastructureConfigurationDetails.java | 179 ++++ ...omputeClusterJobResourceConfiguration.java | 167 ++++ ...gedComputeClusterMetricExpressionRule.java | 132 +++ ...odelDeployInfrastructureConfigDetails.java | 217 +++++ ...rModelDeploymentResourceConfiguration.java | 168 ++++ ...mputeClusterModelDeploymentSystemData.java | 155 ++++ ...pressionThresholdScalingConfiguration.java | 167 ++++ ...ClusterPredefinedMetricExpressionRule.java | 255 ++++++ ...gedComputeClusterScalingConfiguration.java | 186 ++++ .../ManagedComputeClusterScalingPolicy.java | 128 +++ ...a => ManagedComputeClusterSystemData.java} | 101 +- ...hresholdBasedAutoScalingPolicyDetails.java | 305 +++++++ ...mputeClusterWorkloadAutoScalingPolicy.java | 187 ++++ ...usterWorkloadAutoScalingPolicyDetails.java | 126 +++ ...ClusterWorkloadFixedSizeScalingPolicy.java | 141 +++ ...teClusterWorkloadMetricExpressionRule.java | 132 +++ ...agedComputeClusterWorkloadScalePolicy.java | 267 ++++++ ...edComputeClusterWorkloadScalingPolicy.java | 129 +++ ...erWorkloadThresholdBasedPolicyDetails.java | 356 ++++++++ ...loyInfrastructureConfigurationDetails.java | 79 ++ .../model/ModelDeployInfrastructureType.java | 52 ++ .../ModelDeploymentConfigurationDetails.java | 5 +- .../model/ModelDeploymentSystemData.java | 4 + .../model/ModelDeploymentType.java | 1 + ...oymentEnvironmentConfigurationDetails.java | 109 ++- .../model/ResourceLimitConfiguration.java | 171 ++++ .../model/ResourceRequestConfiguration.java | 206 +++++ .../SingleModelConfigurationDetails.java | 140 +++ ...delDeploymentFlexConfigurationDetails.java | 201 ++++ ...omExpressionQueryScalingConfiguration.java | 248 +++++ .../TargetCustomMetricExpressionRule.java | 132 +++ ...ressionThresholdScalingConfiguration.java} | 66 +- .../TargetPredefinedMetricExpressionRule.java | 215 +++++ .../model/TargetScalingConfiguration.java | 128 +++ .../UpdateComputeConfigurationDetails.java | 78 ++ .../model/UpdateComputeTargetDetails.java | 377 ++++++++ ...gedComputeClusterConfigurationDetails.java | 159 ++++ ...teClusterInstanceConfigurationDetails.java | 224 +++++ ...odelDeployInfrastructureConfigDetails.java | 219 +++++ ...loyInfrastructureConfigurationDetails.java | 79 ++ ...teModelDeploymentConfigurationDetails.java | 5 +- ...oymentEnvironmentConfigurationDetails.java | 109 ++- ...UpdateSingleModelConfigurationDetails.java | 140 +++ ...delDeploymentFlexConfigurationDetails.java | 209 +++++ .../model/WorkRequestOperationType.java | 3 + ...ChangeComputeTargetCompartmentRequest.java | 379 ++++++++ .../requests/CreateComputeTargetRequest.java | 290 ++++++ .../requests/DeleteComputeTargetRequest.java | 259 ++++++ .../requests/GetComputeTargetRequest.java | 212 +++++ .../ListComputeTargetShapesRequest.java | 318 +++++++ .../requests/ListComputeTargetsRequest.java | 572 ++++++++++++ .../requests/ListWorkRequestsRequest.java | 3 + .../requests/UpdateComputeTargetRequest.java | 323 +++++++ ...hangeComputeTargetCompartmentResponse.java | 138 +++ .../CreateComputeTargetResponse.java | 308 +++++++ .../DeleteComputeTargetResponse.java | 193 ++++ .../responses/GetComputeTargetResponse.java | 218 +++++ .../ListComputeTargetShapesResponse.java | 269 ++++++ .../responses/ListComputeTargetsResponse.java | 266 ++++++ .../UpdateComputeTargetResponse.java | 193 ++++ .../reflect-config.json | 863 ++++++++++++++++-- bmc-dblm/pom.xml | 4 +- bmc-dbmulticloud/pom.xml | 4 +- bmc-delegateaccesscontrol/pom.xml | 4 +- bmc-demandsignal/pom.xml | 4 +- bmc-desktops/pom.xml | 4 +- bmc-devops/pom.xml | 4 +- bmc-dif/pom.xml | 4 +- bmc-disasterrecovery/pom.xml | 4 +- bmc-distributeddatabase/pom.xml | 4 +- bmc-dns/pom.xml | 6 +- bmc-email/pom.xml | 4 +- bmc-emaildataplane/pom.xml | 4 +- bmc-emwarehouse/pom.xml | 4 +- bmc-encryption/pom.xml | 10 +- bmc-enforcer-rules/pom.xml | 2 +- bmc-events/pom.xml | 4 +- bmc-examples/pom.xml | 6 +- bmc-filestorage/pom.xml | 4 +- bmc-fleetappsmanagement/pom.xml | 4 +- bmc-fleetsoftwareupdate/pom.xml | 4 +- bmc-full/pom.xml | 4 +- bmc-functions/pom.xml | 4 +- bmc-fusionapps/pom.xml | 4 +- bmc-gdp/pom.xml | 4 +- bmc-generativeai/pom.xml | 4 +- bmc-generativeaiagent/pom.xml | 4 +- bmc-generativeaiagentruntime/pom.xml | 4 +- bmc-generativeaidata/pom.xml | 4 +- bmc-generativeaiinference/pom.xml | 4 +- bmc-genericartifactscontent/pom.xml | 4 +- bmc-goldengate/pom.xml | 4 +- .../com/oracle/bmc/goldengate/GoldenGate.java | 50 + .../bmc/goldengate/GoldenGateAsync.java | 52 ++ .../bmc/goldengate/GoldenGateAsyncClient.java | 118 +++ .../bmc/goldengate/GoldenGateClient.java | 108 +++ .../model/ClonePipelineDetails.java | 250 +++++ .../goldengate/model/ClonePipelineType.java | 39 + .../model/CreateDeploymentDetails.java | 55 ++ .../model/CreateOggDeploymentDetails.java | 68 +- .../model/CreatePipelineDetails.java | 46 +- .../model/CreateZeroEtlPipelineDetails.java | 32 +- .../model/DefaultClonePipelineDetails.java | 206 +++++ .../bmc/goldengate/model/Deployment.java | 85 +- .../goldengate/model/DeploymentCategory.java | 1 + .../model/DeploymentEnvironmentSummary.java | 24 +- .../model/DeploymentPeerSummary.java | 99 +- .../goldengate/model/DeploymentSummary.java | 119 ++- .../bmc/goldengate/model/DeploymentType.java | 2 + .../model/DeploymentTypeSummary.java | 72 +- .../model/DisasterRecoveryPrecheckReport.java | 280 ++++++ .../model/DisasterRecoveryPrecheckResult.java | 433 +++++++++ .../model/DisasterRecoveryStatus.java | 53 ++ ...DisasterRecoveryPrecheckReportDetails.java | 177 ++++ .../bmc/goldengate/model/InitialDataLoad.java | 333 ++++++- .../bmc/goldengate/model/OggDeployment.java | 46 + .../bmc/goldengate/model/OperationType.java | 3 + .../bmc/goldengate/model/PrecheckStatus.java | 55 ++ .../goldengate/model/RelatedResourceType.java | 54 ++ .../model/SupportedCapabilities.java | 7 + .../SwitchoverDeploymentPeerDetails.java | 87 +- .../model/UpdateOggDeploymentDetails.java | 48 + .../model/UpdatePipelineDetails.java | 46 +- .../model/UpdateZeroEtlPipelineDetails.java | 38 +- .../requests/ClonePipelineRequest.java | 348 +++++++ ...DisasterRecoveryPrecheckReportRequest.java | 367 ++++++++ ...DisasterRecoveryPrecheckReportRequest.java | 257 ++++++ .../responses/ClonePipelineResponse.java | 251 +++++ ...isasterRecoveryPrecheckReportResponse.java | 188 ++++ ...isasterRecoveryPrecheckReportResponse.java | 190 ++++ .../reflect-config.json | 99 ++ bmc-governancerulescontrolplane/pom.xml | 4 +- bmc-healthchecks/pom.xml | 4 +- bmc-identity/pom.xml | 4 +- bmc-identitydataplane/pom.xml | 4 +- bmc-identitydomains/pom.xml | 4 +- bmc-integration/pom.xml | 4 +- bmc-iot/pom.xml | 4 +- bmc-jms/pom.xml | 4 +- bmc-jmsjavadownloads/pom.xml | 4 +- bmc-jmsutils/pom.xml | 4 +- bmc-keymanagement/pom.xml | 4 +- bmc-licensemanager/pom.xml | 4 +- bmc-limits/pom.xml | 4 +- bmc-limitsincrease/pom.xml | 4 +- bmc-loadbalancer/pom.xml | 4 +- bmc-lockbox/pom.xml | 4 +- bmc-loganalytics/pom.xml | 4 +- bmc-logging/pom.xml | 4 +- bmc-loggingingestion/pom.xml | 4 +- bmc-loggingsearch/pom.xml | 4 +- bmc-lustrefilestorage/pom.xml | 4 +- bmc-managedkafka/pom.xml | 4 +- bmc-managementagent/pom.xml | 4 +- bmc-managementdashboard/pom.xml | 4 +- bmc-marketplace/pom.xml | 4 +- bmc-marketplaceprivateoffer/pom.xml | 4 +- bmc-marketplacepublisher/pom.xml | 4 +- bmc-mediaservices/pom.xml | 4 +- bmc-mngdmac/pom.xml | 4 +- bmc-modeldeployment/pom.xml | 4 +- bmc-monitoring/pom.xml | 4 +- bmc-multicloud/pom.xml | 4 +- bmc-mysql/pom.xml | 4 +- bmc-networkfirewall/pom.xml | 4 +- .../bmc/networkfirewall/NetworkFirewall.java | 24 +- .../networkfirewall/NetworkFirewallAsync.java | 21 +- .../NetworkFirewallAsyncClient.java | 36 + .../NetworkFirewallClient.java | 32 + .../bmc/networkfirewall/model/AppType.java | 5 +- .../model/CreateDecryptionRuleDetails.java | 38 + .../model/CreateNetworkFirewallDetails.java | 69 +- .../networkfirewall/model/DecryptionRule.java | 38 + .../model/DecryptionRuleMatchCriteria.java | 20 +- .../networkfirewall/model/HealthStatus.java | 55 ++ .../model/NatRuleMatchCriteria.java | 20 +- .../model/NetworkFirewall.java | 69 +- .../model/NetworkFirewallHealthStatus.java | 133 +++ .../model/NetworkFirewallSummary.java | 69 +- .../model/SecurityRuleMatchCriteria.java | 20 +- .../model/UpdateDecryptionRuleDetails.java | 38 + .../model/UpdateNetworkFirewallDetails.java | 69 +- ...GetNetworkFirewallHealthStatusRequest.java | 205 +++++ ...etNetworkFirewallHealthStatusResponse.java | 221 +++++ .../reflect-config.json | 20 + bmc-networkloadbalancer/pom.xml | 4 +- bmc-nosql/pom.xml | 4 +- .../bmc-objectstorage-combined/pom.xml | 6 +- .../bmc-objectstorage-extensions/pom.xml | 8 +- .../bmc-objectstorage-generated/pom.xml | 4 +- bmc-objectstorage/pom.xml | 2 +- bmc-oce/pom.xml | 4 +- bmc-ocicontrolcenter/pom.xml | 4 +- bmc-ocvp/pom.xml | 4 +- bmc-oda/pom.xml | 4 +- bmc-onesubscription/pom.xml | 4 +- bmc-ons/pom.xml | 4 +- bmc-opa/pom.xml | 4 +- bmc-opensearch/pom.xml | 4 +- bmc-operatoraccesscontrol/pom.xml | 4 +- bmc-opsi/pom.xml | 4 +- bmc-optimizer/pom.xml | 4 +- bmc-osmanagementhub/pom.xml | 4 +- bmc-ospgateway/pom.xml | 4 +- bmc-osubbillingschedule/pom.xml | 4 +- bmc-osuborganizationsubscription/pom.xml | 4 +- bmc-osubsubscription/pom.xml | 4 +- bmc-osubusage/pom.xml | 4 +- .../bmc-jersey-examples/pom.xml | 8 +- .../bmc-jersey3-examples/pom.xml | 8 +- .../native-maven-example/pom.xml | 6 +- bmc-other-examples/pom.xml | 2 +- bmc-psa/pom.xml | 4 +- bmc-psql/pom.xml | 4 +- bmc-queue/pom.xml | 4 +- bmc-recovery/pom.xml | 4 +- bmc-redis/pom.xml | 4 +- bmc-resourceanalytics/pom.xml | 4 +- bmc-resourcemanager/pom.xml | 4 +- bmc-resourcescheduler/pom.xml | 4 +- bmc-resourcesearch/pom.xml | 4 +- bmc-rover/pom.xml | 4 +- bmc-sch/pom.xml | 4 +- bmc-secrets/pom.xml | 4 +- bmc-securityattribute/pom.xml | 4 +- bmc-self/pom.xml | 4 +- bmc-servicecatalog/pom.xml | 4 +- bmc-servicemanagerproxy/pom.xml | 4 +- bmc-shaded/bmc-shaded-full/pom.xml | 2 +- bmc-shaded/pom.xml | 2 +- bmc-stackmonitoring/pom.xml | 4 +- bmc-streaming/pom.xml | 4 +- bmc-tenantmanagercontrolplane/pom.xml | 4 +- bmc-threatintelligence/pom.xml | 4 +- bmc-usage/pom.xml | 4 +- bmc-usageapi/pom.xml | 4 +- bmc-vault/pom.xml | 6 +- bmc-vbsinst/pom.xml | 4 +- bmc-visualbuilder/pom.xml | 4 +- bmc-vnmonitoring/pom.xml | 4 +- bmc-vulnerabilityscanning/pom.xml | 4 +- bmc-waa/pom.xml | 4 +- bmc-waas/pom.xml | 4 +- bmc-waf/pom.xml | 4 +- bmc-wlms/pom.xml | 4 +- bmc-workrequests/pom.xml | 4 +- bmc-zpr/pom.xml | 4 +- pom.xml | 2 +- 437 files changed, 27782 insertions(+), 1698 deletions(-) create mode 100644 bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/AdditionalCapabilityDetails.java create mode 100644 bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/AdditionalComputeCapabilityDetails.java create mode 100644 bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePoolPrimaryVnicDetails.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceVersionPreferenceDetails.java create mode 100644 bmc-database/src/main/java/com/oracle/bmc/database/model/WindowTypeDescription.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ChangeComputeTargetCompartmentDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTarget.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetLifecycleState.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetShapeSeries.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetShapeSummary.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetSummary.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetSystemData.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeType.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateComputeTargetDetails.java delete mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsCustomServiceAuthConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/HttpMethod.java delete mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsCustomServiceAuthConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/InferenceHttpEndpoint.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterAutoScalingPolicy.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterAutoScalingPolicyDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterComputeConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterCustomExpressionQueryScalingConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterCustomMetricExpressionRule.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterFixedSizeScalingPolicy.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterInstanceConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterInstanceShapeDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterJobInfrastructureConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterJobResourceConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterMetricExpressionRule.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeployInfrastructureConfigDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeploymentResourceConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeploymentSystemData.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterPredefinedMetricExpressionRule.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterScalingConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterScalingPolicy.java rename bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/{IdcsAuthConfiguration.java => ManagedComputeClusterSystemData.java} (54%) create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadAutoScalingPolicy.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadAutoScalingPolicyDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadFixedSizeScalingPolicy.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadMetricExpressionRule.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadScalePolicy.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadScalingPolicy.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadThresholdBasedPolicyDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeployInfrastructureConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeployInfrastructureType.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ResourceLimitConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ResourceRequestConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/SingleModelConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/SingleModelDeploymentFlexConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetCustomExpressionQueryScalingConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetCustomMetricExpressionRule.java rename bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/{CreateIdcsAuthConfigurationDetails.java => TargetPredefinedExpressionThresholdScalingConfiguration.java} (59%) create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetPredefinedMetricExpressionRule.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetScalingConfiguration.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateComputeConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateComputeTargetDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterInstanceConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateModelDeployInfrastructureConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateSingleModelConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateSingleModelDeploymentFlexConfigurationDetails.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ChangeComputeTargetCompartmentRequest.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/CreateComputeTargetRequest.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/DeleteComputeTargetRequest.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/GetComputeTargetRequest.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListComputeTargetShapesRequest.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListComputeTargetsRequest.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/UpdateComputeTargetRequest.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ChangeComputeTargetCompartmentResponse.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/CreateComputeTargetResponse.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/DeleteComputeTargetResponse.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/GetComputeTargetResponse.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ListComputeTargetShapesResponse.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ListComputeTargetsResponse.java create mode 100644 bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/UpdateComputeTargetResponse.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ClonePipelineDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ClonePipelineType.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DefaultClonePipelineDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryPrecheckReport.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryPrecheckResult.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryStatus.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/GenerateDisasterRecoveryPrecheckReportDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/PrecheckStatus.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RelatedResourceType.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/ClonePipelineRequest.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/GenerateDisasterRecoveryPrecheckReportRequest.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/GetDisasterRecoveryPrecheckReportRequest.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/ClonePipelineResponse.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/GenerateDisasterRecoveryPrecheckReportResponse.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/GetDisasterRecoveryPrecheckReportResponse.java create mode 100644 bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/HealthStatus.java create mode 100644 bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewallHealthStatus.java create mode 100644 bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/requests/GetNetworkFirewallHealthStatusRequest.java create mode 100644 bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/responses/GetNetworkFirewallHealthStatusResponse.java diff --git a/CHANGELOG.md b/CHANGELOG.md index e973321e835..2da4b1d27ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,38 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 3.88.0 - 2026-05-26 +### Added +- 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   + +### Breaking Changes +- 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 + ## 3.87.0 - 2026-05-19 ### Added - Support for the Cost Anomaly Detection service diff --git a/bmc-accessgovernancecp/pom.xml b/bmc-accessgovernancecp/pom.xml index fb5467993e9..02ade486a2e 100644 --- a/bmc-accessgovernancecp/pom.xml +++ b/bmc-accessgovernancecp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-accessgovernancecp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-addons/bmc-adk/pom.xml b/bmc-addons/bmc-adk/pom.xml index 67f52c2cda1..24ecb8e9fad 100644 --- a/bmc-addons/bmc-adk/pom.xml +++ b/bmc-addons/bmc-adk/pom.xml @@ -6,7 +6,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.87.0 + 3.88.0 oci-java-sdk-addons-adk diff --git a/bmc-addons/bmc-aispeech-realtime/pom.xml b/bmc-addons/bmc-aispeech-realtime/pom.xml index e8bb27e6ab4..da737e77278 100644 --- a/bmc-addons/bmc-aispeech-realtime/pom.xml +++ b/bmc-addons/bmc-aispeech-realtime/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.87.0 + 3.88.0 ../pom.xml 4.0.0 @@ -53,12 +53,12 @@ com.oracle.oci.sdk oci-java-sdk-aispeech - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.87.0 + 3.88.0 compile diff --git a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml index e83a7dfa3c3..417cae7522e 100644 --- a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml +++ b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.87.0 + 3.88.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.87.0 + 3.88.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.87.0 + 3.88.0 pom import diff --git a/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml index 29c3f25c542..07628d7f0b1 100644 --- a/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml +++ b/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.87.0 + 3.88.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.87.0 + 3.88.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.87.0 + 3.88.0 pom import diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml index 1a5d55ee3d2..c08e4affffc 100644 --- a/bmc-addons/bmc-apache-connector-provider/pom.xml +++ b/bmc-addons/bmc-apache-connector-provider/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.87.0 + 3.88.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-addons/bmc-oke-workload-identity/pom.xml b/bmc-addons/bmc-oke-workload-identity/pom.xml index 9e290b9aa43..35af476f6ea 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 - 3.87.0 + 3.88.0 4.0.0 @@ -38,25 +38,25 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 compile com.oracle.oci.sdk oci-java-sdk-core - 3.87.0 + 3.88.0 test com.oracle.oci.sdk oci-java-sdk-identity - 3.87.0 + 3.88.0 test com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.87.0 + 3.88.0 test 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 cadc27500bd..f80ad3ae9fd 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 @@ -145,7 +145,7 @@ public static class OkeWorkloadIdentityAuthenticationDetailsProviderBuilder private ServiceAccountTokenSupplier serviceAccountTokenSupplier; /** Flag to enable new Service Account level token caching */ - private boolean isTokenCachingEnabled = false; + private boolean isTokenCachingEnabled = true; public OkeWorkloadIdentityAuthenticationDetailsProviderBuilder() { this.serviceAccountTokenSupplier = new DefaultServiceAccountTokenProvider(); diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml index a7c1230ba16..7b3f5771c7f 100644 --- a/bmc-addons/bmc-resteasy-client-configurator/pom.xml +++ b/bmc-addons/bmc-resteasy-client-configurator/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.87.0 + 3.88.0 ../pom.xml @@ -23,7 +23,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml index c0ff05f589c..ae4eac04df7 100644 --- a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml +++ b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml @@ -4,7 +4,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.87.0 + 3.88.0 ../pom.xml 4.0.0 @@ -39,13 +39,13 @@ com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.87.0 + 3.88.0 compile com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.87.0 + 3.88.0 compile diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml index 1372f09cdff..b937787d5c1 100644 --- a/bmc-addons/bmc-sasl/pom.xml +++ b/bmc-addons/bmc-sasl/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.87.0 + 3.88.0 ../pom.xml @@ -61,7 +61,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 diff --git a/bmc-addons/bmc-sse-support-jersey3/pom.xml b/bmc-addons/bmc-sse-support-jersey3/pom.xml index 40fb6b278ce..1ec9af24877 100644 --- a/bmc-addons/bmc-sse-support-jersey3/pom.xml +++ b/bmc-addons/bmc-sse-support-jersey3/pom.xml @@ -5,7 +5,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.87.0 + 3.88.0 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.87.0 + 3.88.0 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.87.0 + 3.88.0 diff --git a/bmc-addons/bmc-sse-support/pom.xml b/bmc-addons/bmc-sse-support/pom.xml index 9fcc0a3cc23..3aa979c250d 100644 --- a/bmc-addons/bmc-sse-support/pom.xml +++ b/bmc-addons/bmc-sse-support/pom.xml @@ -5,7 +5,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.87.0 + 3.88.0 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.87.0 + 3.88.0 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.87.0 + 3.88.0 diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml index 5b55dec85e4..2456cdc4925 100644 --- a/bmc-addons/pom.xml +++ b/bmc-addons/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml index 6fa33f48f5b..737b1973a52 100644 --- a/bmc-adm/pom.xml +++ b/bmc-adm/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-adm @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-aidataplatform/pom.xml b/bmc-aidataplatform/pom.xml index f3d8bb7009f..f78749245cd 100644 --- a/bmc-aidataplatform/pom.xml +++ b/bmc-aidataplatform/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-aidataplatform @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml index ae421c4ea97..0a96c1c6117 100644 --- a/bmc-aidocument/pom.xml +++ b/bmc-aidocument/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-aidocument @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml index 0fb48d677ed..2dfd3f7fc19 100644 --- a/bmc-ailanguage/pom.xml +++ b/bmc-ailanguage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-ailanguage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml index dabf12bf52f..47b27377569 100644 --- a/bmc-aispeech/pom.xml +++ b/bmc-aispeech/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-aispeech @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml index c2fd89a5de8..c7c80f374f8 100644 --- a/bmc-aivision/pom.xml +++ b/bmc-aivision/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-aivision @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml index 57dc19af4f5..9833cf1e8c7 100644 --- a/bmc-analytics/pom.xml +++ b/bmc-analytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-analytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml index 9a4a25f8aaf..fe104fbb382 100644 --- a/bmc-announcementsservice/pom.xml +++ b/bmc-announcementsservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-announcementsservice @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-apiaccesscontrol/pom.xml b/bmc-apiaccesscontrol/pom.xml index 82bcf8122fa..289cf725543 100644 --- a/bmc-apiaccesscontrol/pom.xml +++ b/bmc-apiaccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-apiaccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml index dfcdd1bedf5..261b7396cf3 100644 --- a/bmc-apigateway/pom.xml +++ b/bmc-apigateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-apigateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-apiplatform/pom.xml b/bmc-apiplatform/pom.xml index 7c0a45bafb3..54ff6465549 100644 --- a/bmc-apiplatform/pom.xml +++ b/bmc-apiplatform/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-apiplatform @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml index 9ffa03ebc4e..46c201f1f6d 100644 --- a/bmc-apmconfig/pom.xml +++ b/bmc-apmconfig/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-apmconfig @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml index d243296dd2e..5b3ec2401ba 100644 --- a/bmc-apmcontrolplane/pom.xml +++ b/bmc-apmcontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-apmcontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml index 687f23293ca..10315cbf603 100644 --- a/bmc-apmsynthetics/pom.xml +++ b/bmc-apmsynthetics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-apmsynthetics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml index 2f824294405..178d0b03ba9 100644 --- a/bmc-apmtraces/pom.xml +++ b/bmc-apmtraces/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-apmtraces @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml index 4095805adbe..5a3478f1c43 100644 --- a/bmc-appmgmtcontrol/pom.xml +++ b/bmc-appmgmtcontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-appmgmtcontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml index 0ab56901317..bab0ba91304 100644 --- a/bmc-artifacts/pom.xml +++ b/bmc-artifacts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-artifacts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml index 343bf46d3d4..0cdb1e2ec91 100644 --- a/bmc-audit/pom.xml +++ b/bmc-audit/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml index 7db5350b1f7..0446cc3124c 100644 --- a/bmc-autoscaling/pom.xml +++ b/bmc-autoscaling/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-autoscaling @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml index 5b75d6f4f30..92f769b149c 100644 --- a/bmc-bastion/pom.xml +++ b/bmc-bastion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-bastion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-batch/pom.xml b/bmc-batch/pom.xml index 5e4ca9eb023..9d83fa3d4fd 100644 --- a/bmc-batch/pom.xml +++ b/bmc-batch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-batch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml index 2ebe10ba729..ee81557fbb1 100644 --- a/bmc-bds/pom.xml +++ b/bmc-bds/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-bds @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml index 099ba329f71..1115b7e5ebd 100644 --- a/bmc-blockchain/pom.xml +++ b/bmc-blockchain/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-blockchain @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml index d32e3607047..b4dc13da9d1 100644 --- a/bmc-bom/pom.xml +++ b/bmc-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk - 3.87.0 + 3.88.0 oci-java-sdk-bom pom Oracle Cloud Infrastructure SDK - BOM @@ -38,1111 +38,1111 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-shaded-full - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-audit - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-containerengine - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-core - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-database - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-dns - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-email - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-filestorage - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-identity - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-loadbalancer - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-addons-resteasy-client-configurator - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-addons-sasl-oke-workload-identity - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-addons-aispeech-realtime - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-resourcesearch - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-addons-apache - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-announcementsservice - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-healthchecks - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-waas - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-streaming - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-resourcemanager - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-monitoring - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-ons - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-autoscaling - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-budget - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-workrequests - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-limits - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-functions - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-events - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-oce - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-oda - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-analytics - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-integration - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-marketplace - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-apigateway - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-datacatalog - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-dataflow - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-datascience - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-nosql - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-secrets - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-vault - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-bds - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-encryption - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-cims - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-datasafe - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-mysql - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-dataintegration - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-ocvp - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-usageapi - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-blockchain - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-loggingingestion - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-logging - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-loganalytics - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-managementdashboard - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-sch - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-loggingsearch - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-managementagent - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-cloudguard - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-opsi - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-computeinstanceagent - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-optimizer - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-tenantmanagercontrolplane - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-rover - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-databasemanagement - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-artifacts - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-apmsynthetics - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-goldengate - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-apmcontrolplane - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-apmtraces - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-networkloadbalancer - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-vulnerabilityscanning - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-databasemigration - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-servicecatalog - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-ailanguage - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-operatoraccesscontrol - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-bastion - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-genericartifactscontent - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-jms - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-devops - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservice - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservicedataplane - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-apmconfig - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-waf - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-certificates - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-certificatesmanagement - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-usage - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-databasetools - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-servicemanagerproxy - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-appmgmtcontrol - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-ospgateway - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-identitydataplane - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-visualbuilder - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-osubusage - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-osubsubscription - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-osuborganizationsubscription - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-osubbillingschedule - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-dashboardservice - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-threatintelligence - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-aivision - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-aispeech - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-stackmonitoring - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-adm - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-licensemanager - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-onesubscription - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-governancerulescontrolplane - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-waa - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-networkfirewall - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-vnmonitoring - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-emwarehouse - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-lockbox - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-fusionapps - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-mediaservices - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-opa - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-opensearch - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-cloudmigrations - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-cloudbridge - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-disasterrecovery - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-containerinstances - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-aidocument - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-queue - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-recovery - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-vbsinst - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-identitydomains - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-accessgovernancecp - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-ocicontrolcenter - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-osmanagementhub - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-fleetsoftwareupdate - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-computecloudatcustomer - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-marketplacepublisher - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-redis - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-jmsjavadownloads - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-psql - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-generativeai - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-capacitymanagement - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-desktops - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-emaildataplane - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-clusterplacementgroups - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-resourcescheduler - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-demandsignal - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-fleetappsmanagement - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-delegateaccesscontrol - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiagent - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiagentruntime - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-securityattribute - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-zpr - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-dblm - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-mngdmac - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-lustrefilestorage - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-modeldeployment - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-distributeddatabase - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-apiaccesscontrol - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-wlms - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-addons-adk - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-dbmulticloud - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-apiplatform - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-managedkafka - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-aidataplatform - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-multicloud - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-resourceanalytics - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-jmsutils - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-iot - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-psa - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-dif - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-batch - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-marketplaceprivateoffer - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-gdp - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-limitsincrease - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-generativeaidata - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-self - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-containerregistry - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-databasetoolsruntime - 3.87.0 + 3.88.0 false com.oracle.oci.sdk oci-java-sdk-costad - 3.87.0 + 3.88.0 false diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml index 158327a26c0..885e4ca8a28 100644 --- a/bmc-budget/pom.xml +++ b/bmc-budget/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-budget @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-capacitymanagement/pom.xml b/bmc-capacitymanagement/pom.xml index 7dcb076d6f5..d802c44dfc9 100644 --- a/bmc-capacitymanagement/pom.xml +++ b/bmc-capacitymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-capacitymanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml index ef4aac7489a..4b685eadd5c 100644 --- a/bmc-certificates/pom.xml +++ b/bmc-certificates/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-certificates @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml index 02cb88fe4f2..3d52cf3091f 100644 --- a/bmc-certificatesmanagement/pom.xml +++ b/bmc-certificatesmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-certificatesmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml index 8f533ec92b2..8aca171a925 100644 --- a/bmc-cims/pom.xml +++ b/bmc-cims/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-cims @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml index 65b418cb4ff..bc9160a571a 100644 --- a/bmc-circuitbreaker/pom.xml +++ b/bmc-circuitbreaker/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-circuitbreaker diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml index 0feebffaaea..2f9eb23c175 100644 --- a/bmc-cloudbridge/pom.xml +++ b/bmc-cloudbridge/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-cloudbridge @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml index a9b7969a03b..c93e1cfdbb6 100644 --- a/bmc-cloudguard/pom.xml +++ b/bmc-cloudguard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-cloudguard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml index 130111789f0..e66fc5348a3 100644 --- a/bmc-cloudmigrations/pom.xml +++ b/bmc-cloudmigrations/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-cloudmigrations @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-clusterplacementgroups/pom.xml b/bmc-clusterplacementgroups/pom.xml index 48d1e8b4112..04d4308e32c 100644 --- a/bmc-clusterplacementgroups/pom.xml +++ b/bmc-clusterplacementgroups/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-clusterplacementgroups @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/AdditionalCapabilityDetails.java b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/AdditionalCapabilityDetails.java new file mode 100644 index 00000000000..92dd996a226 --- /dev/null +++ b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/AdditionalCapabilityDetails.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.clusterplacementgroups.model; + +/** + * Additional details describing the selected capability.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230801") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "serviceType", + defaultImpl = AdditionalCapabilityDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = AdditionalComputeCapabilityDetails.class, + name = "COMPUTE") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class AdditionalCapabilityDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected AdditionalCapabilityDetails() { + 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("AdditionalCapabilityDetails("); + 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 AdditionalCapabilityDetails)) { + return false; + } + + AdditionalCapabilityDetails other = (AdditionalCapabilityDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** + * Additional details about what service provides the capability. For example, {@code COMPUTE} + * means that the Oracle Cloud Infrastructure Compute service provides the selected capability. + */ + public enum ServiceType implements com.oracle.bmc.http.internal.BmcEnum { + Compute("COMPUTE"), + + /** + * 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(ServiceType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ServiceType v : ServiceType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ServiceType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ServiceType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ServiceType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/AdditionalComputeCapabilityDetails.java b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/AdditionalComputeCapabilityDetails.java new file mode 100644 index 00000000000..b51cac16c33 --- /dev/null +++ b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/AdditionalComputeCapabilityDetails.java @@ -0,0 +1,243 @@ +/** + * 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.clusterplacementgroups.model; + +/** + * Additional details about the COMPUTE capability.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230801") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AdditionalComputeCapabilityDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "serviceType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AdditionalComputeCapabilityDetails extends AdditionalCapabilityDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The amount of memory (in GBs) needed in the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private Float memoryInGBs; + + /** + * The amount of memory (in GBs) needed in the instance. + * + * @param memoryInGBs the value to set + * @return this builder + */ + public Builder memoryInGBs(Float memoryInGBs) { + this.memoryInGBs = memoryInGBs; + this.__explicitlySet__.add("memoryInGBs"); + return this; + } + /** The number of OCPUs needed in the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("ocpus") + private Float ocpus; + + /** + * The number of OCPUs needed in the instance. + * + * @param ocpus the value to set + * @return this builder + */ + public Builder ocpus(Float ocpus) { + this.ocpus = ocpus; + this.__explicitlySet__.add("ocpus"); + return this; + } + /** The number of NVMe drives to use for storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("nvmes") + private Integer nvmes; + + /** + * The number of NVMe drives to use for storage. + * + * @param nvmes the value to set + * @return this builder + */ + public Builder nvmes(Integer nvmes) { + this.nvmes = nvmes; + this.__explicitlySet__.add("nvmes"); + return this; + } + /** The number of instances or size of the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * The number of instances or size of the resource. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AdditionalComputeCapabilityDetails build() { + AdditionalComputeCapabilityDetails model = + new AdditionalComputeCapabilityDetails( + this.memoryInGBs, this.ocpus, this.nvmes, this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AdditionalComputeCapabilityDetails model) { + if (model.wasPropertyExplicitlySet("memoryInGBs")) { + this.memoryInGBs(model.getMemoryInGBs()); + } + if (model.wasPropertyExplicitlySet("ocpus")) { + this.ocpus(model.getOcpus()); + } + if (model.wasPropertyExplicitlySet("nvmes")) { + this.nvmes(model.getNvmes()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public AdditionalComputeCapabilityDetails( + Float memoryInGBs, Float ocpus, Integer nvmes, Integer count) { + super(); + this.memoryInGBs = memoryInGBs; + this.ocpus = ocpus; + this.nvmes = nvmes; + this.count = count; + } + + /** The amount of memory (in GBs) needed in the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private final Float memoryInGBs; + + /** + * The amount of memory (in GBs) needed in the instance. + * + * @return the value + */ + public Float getMemoryInGBs() { + return memoryInGBs; + } + + /** The number of OCPUs needed in the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("ocpus") + private final Float ocpus; + + /** + * The number of OCPUs needed in the instance. + * + * @return the value + */ + public Float getOcpus() { + return ocpus; + } + + /** The number of NVMe drives to use for storage. */ + @com.fasterxml.jackson.annotation.JsonProperty("nvmes") + private final Integer nvmes; + + /** + * The number of NVMe drives to use for storage. + * + * @return the value + */ + public Integer getNvmes() { + return nvmes; + } + + /** The number of instances or size of the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * The number of instances or size of the resource. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @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("AdditionalComputeCapabilityDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", memoryInGBs=").append(String.valueOf(this.memoryInGBs)); + sb.append(", ocpus=").append(String.valueOf(this.ocpus)); + sb.append(", nvmes=").append(String.valueOf(this.nvmes)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AdditionalComputeCapabilityDetails)) { + return false; + } + + AdditionalComputeCapabilityDetails other = (AdditionalComputeCapabilityDetails) o; + return java.util.Objects.equals(this.memoryInGBs, other.memoryInGBs) + && java.util.Objects.equals(this.ocpus, other.ocpus) + && java.util.Objects.equals(this.nvmes, other.nvmes) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.memoryInGBs == null ? 43 : this.memoryInGBs.hashCode()); + result = (result * PRIME) + (this.ocpus == null ? 43 : this.ocpus.hashCode()); + result = (result * PRIME) + (this.nvmes == null ? 43 : this.nvmes.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + return result; + } +} diff --git a/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/CapabilityDetails.java b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/CapabilityDetails.java index 4cb99dfb060..1466cc6e6ba 100644 --- a/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/CapabilityDetails.java +++ b/bmc-clusterplacementgroups/src/main/java/com/oracle/bmc/clusterplacementgroups/model/CapabilityDetails.java @@ -23,11 +23,13 @@ public final class CapabilityDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"service", "name"}) - public CapabilityDetails(String service, String name) { + @java.beans.ConstructorProperties({"service", "name", "additionalDetails"}) + public CapabilityDetails( + String service, String name, AdditionalCapabilityDetails additionalDetails) { super(); this.service = service; this.name = name; + this.additionalDetails = additionalDetails; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -63,11 +65,21 @@ public Builder name(String name) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("additionalDetails") + private AdditionalCapabilityDetails additionalDetails; + + public Builder additionalDetails(AdditionalCapabilityDetails additionalDetails) { + this.additionalDetails = additionalDetails; + this.__explicitlySet__.add("additionalDetails"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public CapabilityDetails build() { - CapabilityDetails model = new CapabilityDetails(this.service, this.name); + CapabilityDetails model = + new CapabilityDetails(this.service, this.name, this.additionalDetails); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -82,6 +94,9 @@ public Builder copy(CapabilityDetails model) { if (model.wasPropertyExplicitlySet("name")) { this.name(model.getName()); } + if (model.wasPropertyExplicitlySet("additionalDetails")) { + this.additionalDetails(model.getAdditionalDetails()); + } return this; } } @@ -121,6 +136,13 @@ public String getName() { return name; } + @com.fasterxml.jackson.annotation.JsonProperty("additionalDetails") + private final AdditionalCapabilityDetails additionalDetails; + + public AdditionalCapabilityDetails getAdditionalDetails() { + return additionalDetails; + } + @Override public String toString() { return this.toString(true); @@ -138,6 +160,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("service=").append(String.valueOf(this.service)); sb.append(", name=").append(String.valueOf(this.name)); + sb.append(", additionalDetails=").append(String.valueOf(this.additionalDetails)); sb.append(")"); return sb.toString(); } @@ -154,6 +177,7 @@ public boolean equals(Object o) { CapabilityDetails other = (CapabilityDetails) o; return java.util.Objects.equals(this.service, other.service) && java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.additionalDetails, other.additionalDetails) && super.equals(other); } @@ -163,6 +187,9 @@ public int hashCode() { int result = 1; result = (result * PRIME) + (this.service == null ? 43 : this.service.hashCode()); result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = + (result * PRIME) + + (this.additionalDetails == null ? 43 : this.additionalDetails.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-clusterplacementgroups/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-clusterplacementgroups/reflect-config.json b/bmc-clusterplacementgroups/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-clusterplacementgroups/reflect-config.json index 5b1541d011f..ad40679ed90 100644 --- a/bmc-clusterplacementgroups/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-clusterplacementgroups/reflect-config.json +++ b/bmc-clusterplacementgroups/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-clusterplacementgroups/reflect-config.json @@ -5,6 +5,33 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.clusterplacementgroups.model.AdditionalCapabilityDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.clusterplacementgroups.model.AdditionalCapabilityDetails$ServiceType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.clusterplacementgroups.model.AdditionalComputeCapabilityDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.clusterplacementgroups.model.AdditionalComputeCapabilityDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.clusterplacementgroups.model.CapabilitiesCollection", diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml index 9d2fd772795..c528b420465 100644 --- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml +++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-choices - 3.87.0 + 3.88.0 ../pom.xml @@ -93,7 +93,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.87.0 + 3.88.0 @@ -102,7 +102,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.87.0 + 3.88.0 org.glassfish.jersey.core diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml index d27c549ce66..eb3f9b4af1a 100644 --- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml +++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-choices - 3.87.0 + 3.88.0 ../pom.xml @@ -93,7 +93,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.87.0 + 3.88.0 @@ -102,7 +102,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.87.0 + 3.88.0 jakarta.ws.rs diff --git a/bmc-common-httpclient-choices/pom.xml b/bmc-common-httpclient-choices/pom.xml index 05a9c5ca1ac..ee2e213ba17 100644 --- a/bmc-common-httpclient-choices/pom.xml +++ b/bmc-common-httpclient-choices/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml diff --git a/bmc-common-httpclient/pom.xml b/bmc-common-httpclient/pom.xml index 94295e06efc..51b29a606b2 100644 --- a/bmc-common-httpclient/pom.xml +++ b/bmc-common-httpclient/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml index 3b4f7c367ab..7260ce91bf7 100644 --- a/bmc-common/pom.xml +++ b/bmc-common/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -87,12 +87,12 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.87.0 + 3.88.0 @@ -137,7 +137,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.87.0 + 3.88.0 test diff --git a/bmc-common/src/main/java/com/oracle/bmc/Region.java b/bmc-common/src/main/java/com/oracle/bmc/Region.java index 568f19d1eb5..aba62fac175 100644 --- a/bmc-common/src/main/java/com/oracle/bmc/Region.java +++ b/bmc-common/src/main/java/com/oracle/bmc/Region.java @@ -199,6 +199,7 @@ private static String getDefaultRealmFromEnv() { // OC21 public static final Region ME_DCC_DOHA_1 = register("me-dcc-doha-1", Realm.OC21, "doh"); + public static final Region ME_ALRAYYAN_1 = register("me-alrayyan-1", Realm.OC21, "vve"); // OC26 public static final Region ME_ABUDHABI_3 = register("me-abudhabi-3", Realm.OC26, "ahu"); diff --git a/bmc-common/src/test/resources/regions.json b/bmc-common/src/test/resources/regions.json index 10f0d13fe26..ccea5f9fd66 100644 --- a/bmc-common/src/test/resources/regions.json +++ b/bmc-common/src/test/resources/regions.json @@ -502,5 +502,11 @@ "realmKey": "oc1", "regionIdentifier": "af-casablanca-1", "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "vve", + "realmKey": "oc21", + "regionIdentifier": "me-alrayyan-1", + "realmDomainComponent": "oraclecloud21.com" } ] \ No newline at end of file diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml index 10e2fb2246e..11baff7b532 100644 --- a/bmc-computecloudatcustomer/pom.xml +++ b/bmc-computecloudatcustomer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-computecloudatcustomer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml index 30db1f7be7d..6f93b4ce502 100644 --- a/bmc-computeinstanceagent/pom.xml +++ b/bmc-computeinstanceagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-computeinstanceagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml index 49e12a03b1d..74349852d99 100644 --- a/bmc-containerengine/pom.xml +++ b/bmc-containerengine/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/ClusterEndpointConfig.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/ClusterEndpointConfig.java index 5aad3abd38c..7b0a31a58db 100644 --- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/ClusterEndpointConfig.java +++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/ClusterEndpointConfig.java @@ -23,13 +23,22 @@ public final class ClusterEndpointConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"subnetId", "nsgIds", "isPublicIpEnabled"}) + @java.beans.ConstructorProperties({ + "subnetId", + "nsgIds", + "isPublicIpEnabled", + "securityAttributes" + }) public ClusterEndpointConfig( - String subnetId, java.util.List nsgIds, Boolean isPublicIpEnabled) { + String subnetId, + java.util.List nsgIds, + Boolean isPublicIpEnabled, + java.util.Map> securityAttributes) { super(); this.subnetId = subnetId; this.nsgIds = nsgIds; this.isPublicIpEnabled = isPublicIpEnabled; + this.securityAttributes = securityAttributes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -87,13 +96,43 @@ public Builder isPublicIpEnabled(Boolean isPublicIpEnabled) { this.__explicitlySet__.add("isPublicIpEnabled"); return this; } + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + * + * @param securityAttributes the value to set + * @return this builder + */ + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public ClusterEndpointConfig build() { ClusterEndpointConfig model = - new ClusterEndpointConfig(this.subnetId, this.nsgIds, this.isPublicIpEnabled); + new ClusterEndpointConfig( + this.subnetId, + this.nsgIds, + this.isPublicIpEnabled, + this.securityAttributes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -111,6 +150,9 @@ public Builder copy(ClusterEndpointConfig model) { if (model.wasPropertyExplicitlySet("isPublicIpEnabled")) { this.isPublicIpEnabled(model.getIsPublicIpEnabled()); } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } return this; } } @@ -171,6 +213,29 @@ public Boolean getIsPublicIpEnabled() { return isPublicIpEnabled; } + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private final java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + * + * @return the value + */ + public java.util.Map> getSecurityAttributes() { + return securityAttributes; + } + @Override public String toString() { return this.toString(true); @@ -189,6 +254,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("subnetId=").append(String.valueOf(this.subnetId)); sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); sb.append(", isPublicIpEnabled=").append(String.valueOf(this.isPublicIpEnabled)); + sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); sb.append(")"); return sb.toString(); } @@ -206,6 +272,7 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.nsgIds, other.nsgIds) && java.util.Objects.equals(this.isPublicIpEnabled, other.isPublicIpEnabled) + && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) && super.equals(other); } @@ -218,6 +285,11 @@ public int hashCode() { result = (result * PRIME) + (this.isPublicIpEnabled == null ? 43 : this.isPublicIpEnabled.hashCode()); + result = + (result * PRIME) + + (this.securityAttributes == null + ? 43 + : this.securityAttributes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateClusterEndpointConfigDetails.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateClusterEndpointConfigDetails.java index c4b22f4271c..58c92aed65b 100644 --- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateClusterEndpointConfigDetails.java +++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateClusterEndpointConfigDetails.java @@ -23,13 +23,22 @@ public final class CreateClusterEndpointConfigDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"subnetId", "nsgIds", "isPublicIpEnabled"}) + @java.beans.ConstructorProperties({ + "subnetId", + "nsgIds", + "isPublicIpEnabled", + "securityAttributes" + }) public CreateClusterEndpointConfigDetails( - String subnetId, java.util.List nsgIds, Boolean isPublicIpEnabled) { + String subnetId, + java.util.List nsgIds, + Boolean isPublicIpEnabled, + java.util.Map> securityAttributes) { super(); this.subnetId = subnetId; this.nsgIds = nsgIds; this.isPublicIpEnabled = isPublicIpEnabled; + this.securityAttributes = securityAttributes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -87,6 +96,32 @@ public Builder isPublicIpEnabled(Boolean isPublicIpEnabled) { this.__explicitlySet__.add("isPublicIpEnabled"); return this; } + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + * + * @param securityAttributes the value to set + * @return this builder + */ + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -94,7 +129,10 @@ public Builder isPublicIpEnabled(Boolean isPublicIpEnabled) { public CreateClusterEndpointConfigDetails build() { CreateClusterEndpointConfigDetails model = new CreateClusterEndpointConfigDetails( - this.subnetId, this.nsgIds, this.isPublicIpEnabled); + this.subnetId, + this.nsgIds, + this.isPublicIpEnabled, + this.securityAttributes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -112,6 +150,9 @@ public Builder copy(CreateClusterEndpointConfigDetails model) { if (model.wasPropertyExplicitlySet("isPublicIpEnabled")) { this.isPublicIpEnabled(model.getIsPublicIpEnabled()); } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } return this; } } @@ -172,6 +213,29 @@ public Boolean getIsPublicIpEnabled() { return isPublicIpEnabled; } + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private final java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + * + * @return the value + */ + public java.util.Map> getSecurityAttributes() { + return securityAttributes; + } + @Override public String toString() { return this.toString(true); @@ -190,6 +254,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("subnetId=").append(String.valueOf(this.subnetId)); sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); sb.append(", isPublicIpEnabled=").append(String.valueOf(this.isPublicIpEnabled)); + sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); sb.append(")"); return sb.toString(); } @@ -207,6 +272,7 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.nsgIds, other.nsgIds) && java.util.Objects.equals(this.isPublicIpEnabled, other.isPublicIpEnabled) + && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) && super.equals(other); } @@ -219,6 +285,11 @@ public int hashCode() { result = (result * PRIME) + (this.isPublicIpEnabled == null ? 43 : this.isPublicIpEnabled.hashCode()); + result = + (result * PRIME) + + (this.securityAttributes == null + ? 43 + : this.securityAttributes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateNodePoolDetails.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateNodePoolDetails.java index 28b240ea339..5fd35a33bc4 100644 --- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateNodePoolDetails.java +++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateNodePoolDetails.java @@ -43,7 +43,8 @@ public final class CreateNodePoolDetails "nodeEvictionNodePoolSettings", "nodePoolCyclingDetails", "secondaryVnics", - "networkLaunchType" + "networkLaunchType", + "primaryVnic" }) public CreateNodePoolDetails( String compartmentId, @@ -65,7 +66,8 @@ public CreateNodePoolDetails( NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings, NodePoolCyclingDetails nodePoolCyclingDetails, java.util.List secondaryVnics, - NetworkLaunchType networkLaunchType) { + NetworkLaunchType networkLaunchType, + NodePoolPrimaryVnicDetails primaryVnic) { super(); this.compartmentId = compartmentId; this.clusterId = clusterId; @@ -87,6 +89,7 @@ public CreateNodePoolDetails( this.nodePoolCyclingDetails = nodePoolCyclingDetails; this.secondaryVnics = secondaryVnics; this.networkLaunchType = networkLaunchType; + this.primaryVnic = primaryVnic; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -426,6 +429,15 @@ public Builder networkLaunchType(NetworkLaunchType networkLaunchType) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("primaryVnic") + private NodePoolPrimaryVnicDetails primaryVnic; + + public Builder primaryVnic(NodePoolPrimaryVnicDetails primaryVnic) { + this.primaryVnic = primaryVnic; + this.__explicitlySet__.add("primaryVnic"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -451,7 +463,8 @@ public CreateNodePoolDetails build() { this.nodeEvictionNodePoolSettings, this.nodePoolCyclingDetails, this.secondaryVnics, - this.networkLaunchType); + this.networkLaunchType, + this.primaryVnic); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -520,6 +533,9 @@ public Builder copy(CreateNodePoolDetails model) { if (model.wasPropertyExplicitlySet("networkLaunchType")) { this.networkLaunchType(model.getNetworkLaunchType()); } + if (model.wasPropertyExplicitlySet("primaryVnic")) { + this.primaryVnic(model.getPrimaryVnic()); + } return this; } } @@ -823,6 +839,13 @@ public NetworkLaunchType getNetworkLaunchType() { return networkLaunchType; } + @com.fasterxml.jackson.annotation.JsonProperty("primaryVnic") + private final NodePoolPrimaryVnicDetails primaryVnic; + + public NodePoolPrimaryVnicDetails getPrimaryVnic() { + return primaryVnic; + } + @Override public String toString() { return this.toString(true); @@ -859,6 +882,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", nodePoolCyclingDetails=").append(String.valueOf(this.nodePoolCyclingDetails)); sb.append(", secondaryVnics=").append(String.valueOf(this.secondaryVnics)); sb.append(", networkLaunchType=").append(String.valueOf(this.networkLaunchType)); + sb.append(", primaryVnic=").append(String.valueOf(this.primaryVnic)); sb.append(")"); return sb.toString(); } @@ -895,6 +919,7 @@ public boolean equals(Object o) { this.nodePoolCyclingDetails, other.nodePoolCyclingDetails) && java.util.Objects.equals(this.secondaryVnics, other.secondaryVnics) && java.util.Objects.equals(this.networkLaunchType, other.networkLaunchType) + && java.util.Objects.equals(this.primaryVnic, other.primaryVnic) && super.equals(other); } @@ -950,6 +975,7 @@ public int hashCode() { result = (result * PRIME) + (this.networkLaunchType == null ? 43 : this.networkLaunchType.hashCode()); + result = (result * PRIME) + (this.primaryVnic == null ? 43 : this.primaryVnic.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateVnicDetails.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateVnicDetails.java index 3a517458b0d..79bdf47495b 100644 --- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateVnicDetails.java +++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/CreateVnicDetails.java @@ -34,7 +34,8 @@ public final class CreateVnicDetails "ipv6AddressIpv6SubnetCidrPairDetails", "nsgIds", "skipSourceDestCheck", - "subnetId" + "subnetId", + "securityAttributes" }) public CreateVnicDetails( String displayName, @@ -48,7 +49,8 @@ public CreateVnicDetails( ipv6AddressIpv6SubnetCidrPairDetails, java.util.List nsgIds, Boolean skipSourceDestCheck, - String subnetId) { + String subnetId, + java.util.Map> securityAttributes) { super(); this.displayName = displayName; this.assignIpv6Ip = assignIpv6Ip; @@ -61,6 +63,7 @@ public CreateVnicDetails( this.nsgIds = nsgIds; this.skipSourceDestCheck = skipSourceDestCheck; this.subnetId = subnetId; + this.securityAttributes = securityAttributes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -266,6 +269,32 @@ public Builder subnetId(String subnetId) { this.__explicitlySet__.add("subnetId"); return this; } + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + * + * @param securityAttributes the value to set + * @return this builder + */ + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -283,7 +312,8 @@ public CreateVnicDetails build() { this.ipv6AddressIpv6SubnetCidrPairDetails, this.nsgIds, this.skipSourceDestCheck, - this.subnetId); + this.subnetId, + this.securityAttributes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -326,6 +356,9 @@ public Builder copy(CreateVnicDetails model) { if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } return this; } } @@ -514,6 +547,29 @@ public String getSubnetId() { return subnetId; } + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private final java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + * + * @return the value + */ + public java.util.Map> getSecurityAttributes() { + return securityAttributes; + } + @Override public String toString() { return this.toString(true); @@ -541,6 +597,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); sb.append(", skipSourceDestCheck=").append(String.valueOf(this.skipSourceDestCheck)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); + sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); sb.append(")"); return sb.toString(); } @@ -568,6 +625,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.nsgIds, other.nsgIds) && java.util.Objects.equals(this.skipSourceDestCheck, other.skipSourceDestCheck) && java.util.Objects.equals(this.subnetId, other.subnetId) + && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) && super.equals(other); } @@ -600,6 +658,11 @@ public int hashCode() { ? 43 : this.skipSourceDestCheck.hashCode()); result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode()); + result = + (result * PRIME) + + (this.securityAttributes == null + ? 43 + : this.securityAttributes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePool.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePool.java index aca8db82220..8beef3bd4f4 100644 --- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePool.java +++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePool.java @@ -48,7 +48,8 @@ public final class NodePool extends com.oracle.bmc.http.client.internal.Explicit "nodeEvictionNodePoolSettings", "nodePoolCyclingDetails", "secondaryVnics", - "networkLaunchType" + "networkLaunchType", + "primaryVnic" }) public NodePool( String id, @@ -77,7 +78,8 @@ public NodePool( NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings, NodePoolCyclingDetails nodePoolCyclingDetails, java.util.List secondaryVnics, - NetworkLaunchType networkLaunchType) { + NetworkLaunchType networkLaunchType, + NodePoolPrimaryVnicDetails primaryVnic) { super(); this.id = id; this.lifecycleState = lifecycleState; @@ -106,6 +108,7 @@ public NodePool( this.nodePoolCyclingDetails = nodePoolCyclingDetails; this.secondaryVnics = secondaryVnics; this.networkLaunchType = networkLaunchType; + this.primaryVnic = primaryVnic; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -544,6 +547,15 @@ public Builder networkLaunchType(NetworkLaunchType networkLaunchType) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("primaryVnic") + private NodePoolPrimaryVnicDetails primaryVnic; + + public Builder primaryVnic(NodePoolPrimaryVnicDetails primaryVnic) { + this.primaryVnic = primaryVnic; + this.__explicitlySet__.add("primaryVnic"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -576,7 +588,8 @@ public NodePool build() { this.nodeEvictionNodePoolSettings, this.nodePoolCyclingDetails, this.secondaryVnics, - this.networkLaunchType); + this.networkLaunchType, + this.primaryVnic); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -666,6 +679,9 @@ public Builder copy(NodePool model) { if (model.wasPropertyExplicitlySet("networkLaunchType")) { this.networkLaunchType(model.getNetworkLaunchType()); } + if (model.wasPropertyExplicitlySet("primaryVnic")) { + this.primaryVnic(model.getPrimaryVnic()); + } return this; } } @@ -1052,6 +1068,13 @@ public NetworkLaunchType getNetworkLaunchType() { return networkLaunchType; } + @com.fasterxml.jackson.annotation.JsonProperty("primaryVnic") + private final NodePoolPrimaryVnicDetails primaryVnic; + + public NodePoolPrimaryVnicDetails getPrimaryVnic() { + return primaryVnic; + } + @Override public String toString() { return this.toString(true); @@ -1095,6 +1118,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", nodePoolCyclingDetails=").append(String.valueOf(this.nodePoolCyclingDetails)); sb.append(", secondaryVnics=").append(String.valueOf(this.secondaryVnics)); sb.append(", networkLaunchType=").append(String.valueOf(this.networkLaunchType)); + sb.append(", primaryVnic=").append(String.valueOf(this.primaryVnic)); sb.append(")"); return sb.toString(); } @@ -1138,6 +1162,7 @@ public boolean equals(Object o) { this.nodePoolCyclingDetails, other.nodePoolCyclingDetails) && java.util.Objects.equals(this.secondaryVnics, other.secondaryVnics) && java.util.Objects.equals(this.networkLaunchType, other.networkLaunchType) + && java.util.Objects.equals(this.primaryVnic, other.primaryVnic) && super.equals(other); } @@ -1204,6 +1229,7 @@ public int hashCode() { result = (result * PRIME) + (this.networkLaunchType == null ? 43 : this.networkLaunchType.hashCode()); + result = (result * PRIME) + (this.primaryVnic == null ? 43 : this.primaryVnic.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePoolPrimaryVnicDetails.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePoolPrimaryVnicDetails.java new file mode 100644 index 00000000000..6213c01663c --- /dev/null +++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePoolPrimaryVnicDetails.java @@ -0,0 +1,161 @@ +/** + * 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.containerengine.model; + +/** + * Details for node's primary VNIC
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20180222") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = NodePoolPrimaryVnicDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class NodePoolPrimaryVnicDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"securityAttributes"}) + public NodePoolPrimaryVnicDetails( + java.util.Map> securityAttributes) { + super(); + this.securityAttributes = securityAttributes; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + * + * @param securityAttributes the value to set + * @return this builder + */ + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public NodePoolPrimaryVnicDetails build() { + NodePoolPrimaryVnicDetails model = + new NodePoolPrimaryVnicDetails(this.securityAttributes); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(NodePoolPrimaryVnicDetails model) { + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private final java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + * + * @return the value + */ + public java.util.Map> getSecurityAttributes() { + return securityAttributes; + } + + @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("NodePoolPrimaryVnicDetails("); + sb.append("super=").append(super.toString()); + sb.append("securityAttributes=").append(String.valueOf(this.securityAttributes)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof NodePoolPrimaryVnicDetails)) { + return false; + } + + NodePoolPrimaryVnicDetails other = (NodePoolPrimaryVnicDetails) o; + return java.util.Objects.equals(this.securityAttributes, other.securityAttributes) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.securityAttributes == null + ? 43 + : this.securityAttributes.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePoolSummary.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePoolSummary.java index 6fc5f4bc9f2..e2d46a34df1 100644 --- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePoolSummary.java +++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/NodePoolSummary.java @@ -47,7 +47,8 @@ public final class NodePoolSummary "nodeEvictionNodePoolSettings", "nodePoolCyclingDetails", "secondaryVnics", - "networkLaunchType" + "networkLaunchType", + "primaryVnic" }) public NodePoolSummary( String id, @@ -74,7 +75,8 @@ public NodePoolSummary( NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings, NodePoolCyclingDetails nodePoolCyclingDetails, java.util.List secondaryVnics, - NetworkLaunchType networkLaunchType) { + NetworkLaunchType networkLaunchType, + NodePoolPrimaryVnicDetails primaryVnic) { super(); this.id = id; this.lifecycleState = lifecycleState; @@ -101,6 +103,7 @@ public NodePoolSummary( this.nodePoolCyclingDetails = nodePoolCyclingDetails; this.secondaryVnics = secondaryVnics; this.networkLaunchType = networkLaunchType; + this.primaryVnic = primaryVnic; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -505,6 +508,15 @@ public Builder networkLaunchType(NetworkLaunchType networkLaunchType) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("primaryVnic") + private NodePoolPrimaryVnicDetails primaryVnic; + + public Builder primaryVnic(NodePoolPrimaryVnicDetails primaryVnic) { + this.primaryVnic = primaryVnic; + this.__explicitlySet__.add("primaryVnic"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -535,7 +547,8 @@ public NodePoolSummary build() { this.nodeEvictionNodePoolSettings, this.nodePoolCyclingDetails, this.secondaryVnics, - this.networkLaunchType); + this.networkLaunchType, + this.primaryVnic); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -619,6 +632,9 @@ public Builder copy(NodePoolSummary model) { if (model.wasPropertyExplicitlySet("networkLaunchType")) { this.networkLaunchType(model.getNetworkLaunchType()); } + if (model.wasPropertyExplicitlySet("primaryVnic")) { + this.primaryVnic(model.getPrimaryVnic()); + } return this; } } @@ -977,6 +993,13 @@ public NetworkLaunchType getNetworkLaunchType() { return networkLaunchType; } + @com.fasterxml.jackson.annotation.JsonProperty("primaryVnic") + private final NodePoolPrimaryVnicDetails primaryVnic; + + public NodePoolPrimaryVnicDetails getPrimaryVnic() { + return primaryVnic; + } + @Override public String toString() { return this.toString(true); @@ -1018,6 +1041,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", nodePoolCyclingDetails=").append(String.valueOf(this.nodePoolCyclingDetails)); sb.append(", secondaryVnics=").append(String.valueOf(this.secondaryVnics)); sb.append(", networkLaunchType=").append(String.valueOf(this.networkLaunchType)); + sb.append(", primaryVnic=").append(String.valueOf(this.primaryVnic)); sb.append(")"); return sb.toString(); } @@ -1059,6 +1083,7 @@ public boolean equals(Object o) { this.nodePoolCyclingDetails, other.nodePoolCyclingDetails) && java.util.Objects.equals(this.secondaryVnics, other.secondaryVnics) && java.util.Objects.equals(this.networkLaunchType, other.networkLaunchType) + && java.util.Objects.equals(this.primaryVnic, other.primaryVnic) && super.equals(other); } @@ -1123,6 +1148,7 @@ public int hashCode() { result = (result * PRIME) + (this.networkLaunchType == null ? 43 : this.networkLaunchType.hashCode()); + result = (result * PRIME) + (this.primaryVnic == null ? 43 : this.primaryVnic.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/UpdateClusterEndpointConfigDetails.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/UpdateClusterEndpointConfigDetails.java index fee80f44811..bf2455187eb 100644 --- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/UpdateClusterEndpointConfigDetails.java +++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/UpdateClusterEndpointConfigDetails.java @@ -23,12 +23,15 @@ public final class UpdateClusterEndpointConfigDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"nsgIds", "isPublicIpEnabled"}) + @java.beans.ConstructorProperties({"nsgIds", "isPublicIpEnabled", "securityAttributes"}) public UpdateClusterEndpointConfigDetails( - java.util.List nsgIds, Boolean isPublicIpEnabled) { + java.util.List nsgIds, + Boolean isPublicIpEnabled, + java.util.Map> securityAttributes) { super(); this.nsgIds = nsgIds; this.isPublicIpEnabled = isPublicIpEnabled; + this.securityAttributes = securityAttributes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -71,13 +74,40 @@ public Builder isPublicIpEnabled(Boolean isPublicIpEnabled) { this.__explicitlySet__.add("isPublicIpEnabled"); return this; } + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + * (ZPR) policy to control access to ZPR-supported resources. + * + * @param securityAttributes the value to set + * @return this builder + */ + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public UpdateClusterEndpointConfigDetails build() { UpdateClusterEndpointConfigDetails model = - new UpdateClusterEndpointConfigDetails(this.nsgIds, this.isPublicIpEnabled); + new UpdateClusterEndpointConfigDetails( + this.nsgIds, this.isPublicIpEnabled, this.securityAttributes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -92,6 +122,9 @@ public Builder copy(UpdateClusterEndpointConfigDetails model) { if (model.wasPropertyExplicitlySet("isPublicIpEnabled")) { this.isPublicIpEnabled(model.getIsPublicIpEnabled()); } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } return this; } } @@ -139,6 +172,29 @@ public Boolean getIsPublicIpEnabled() { return isPublicIpEnabled; } + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private final java.util.Map> securityAttributes; + + /** + * [Security + * attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) + * are labels for a resource that can be referenced in a [Zero Trust Packet + * Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) + * policy to control access to ZPR-supported resources. + * + * @return the value + */ + public java.util.Map> getSecurityAttributes() { + return securityAttributes; + } + @Override public String toString() { return this.toString(true); @@ -156,6 +212,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("nsgIds=").append(String.valueOf(this.nsgIds)); sb.append(", isPublicIpEnabled=").append(String.valueOf(this.isPublicIpEnabled)); + sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); sb.append(")"); return sb.toString(); } @@ -172,6 +229,7 @@ public boolean equals(Object o) { UpdateClusterEndpointConfigDetails other = (UpdateClusterEndpointConfigDetails) o; return java.util.Objects.equals(this.nsgIds, other.nsgIds) && java.util.Objects.equals(this.isPublicIpEnabled, other.isPublicIpEnabled) + && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) && super.equals(other); } @@ -183,6 +241,11 @@ public int hashCode() { result = (result * PRIME) + (this.isPublicIpEnabled == null ? 43 : this.isPublicIpEnabled.hashCode()); + result = + (result * PRIME) + + (this.securityAttributes == null + ? 43 + : this.securityAttributes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/UpdateNodePoolDetails.java b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/UpdateNodePoolDetails.java index 5d1155bbb56..22a4a128027 100644 --- a/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/UpdateNodePoolDetails.java +++ b/bmc-containerengine/src/main/java/com/oracle/bmc/containerengine/model/UpdateNodePoolDetails.java @@ -40,7 +40,8 @@ public final class UpdateNodePoolDetails "nodeEvictionNodePoolSettings", "nodePoolCyclingDetails", "secondaryVnics", - "networkLaunchType" + "networkLaunchType", + "primaryVnic" }) public UpdateNodePoolDetails( String name, @@ -59,7 +60,8 @@ public UpdateNodePoolDetails( NodeEvictionNodePoolSettings nodeEvictionNodePoolSettings, NodePoolCyclingDetails nodePoolCyclingDetails, java.util.List secondaryVnics, - NetworkLaunchType networkLaunchType) { + NetworkLaunchType networkLaunchType, + NodePoolPrimaryVnicDetails primaryVnic) { super(); this.name = name; this.kubernetesVersion = kubernetesVersion; @@ -78,6 +80,7 @@ public UpdateNodePoolDetails( this.nodePoolCyclingDetails = nodePoolCyclingDetails; this.secondaryVnics = secondaryVnics; this.networkLaunchType = networkLaunchType; + this.primaryVnic = primaryVnic; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -380,6 +383,15 @@ public Builder networkLaunchType(NetworkLaunchType networkLaunchType) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("primaryVnic") + private NodePoolPrimaryVnicDetails primaryVnic; + + public Builder primaryVnic(NodePoolPrimaryVnicDetails primaryVnic) { + this.primaryVnic = primaryVnic; + this.__explicitlySet__.add("primaryVnic"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -402,7 +414,8 @@ public UpdateNodePoolDetails build() { this.nodeEvictionNodePoolSettings, this.nodePoolCyclingDetails, this.secondaryVnics, - this.networkLaunchType); + this.networkLaunchType, + this.primaryVnic); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -462,6 +475,9 @@ public Builder copy(UpdateNodePoolDetails model) { if (model.wasPropertyExplicitlySet("networkLaunchType")) { this.networkLaunchType(model.getNetworkLaunchType()); } + if (model.wasPropertyExplicitlySet("primaryVnic")) { + this.primaryVnic(model.getPrimaryVnic()); + } return this; } } @@ -732,6 +748,13 @@ public NetworkLaunchType getNetworkLaunchType() { return networkLaunchType; } + @com.fasterxml.jackson.annotation.JsonProperty("primaryVnic") + private final NodePoolPrimaryVnicDetails primaryVnic; + + public NodePoolPrimaryVnicDetails getPrimaryVnic() { + return primaryVnic; + } + @Override public String toString() { return this.toString(true); @@ -765,6 +788,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", nodePoolCyclingDetails=").append(String.valueOf(this.nodePoolCyclingDetails)); sb.append(", secondaryVnics=").append(String.valueOf(this.secondaryVnics)); sb.append(", networkLaunchType=").append(String.valueOf(this.networkLaunchType)); + sb.append(", primaryVnic=").append(String.valueOf(this.primaryVnic)); sb.append(")"); return sb.toString(); } @@ -798,6 +822,7 @@ public boolean equals(Object o) { this.nodePoolCyclingDetails, other.nodePoolCyclingDetails) && java.util.Objects.equals(this.secondaryVnics, other.secondaryVnics) && java.util.Objects.equals(this.networkLaunchType, other.networkLaunchType) + && java.util.Objects.equals(this.primaryVnic, other.primaryVnic) && super.equals(other); } @@ -846,6 +871,7 @@ public int hashCode() { result = (result * PRIME) + (this.networkLaunchType == null ? 43 : this.networkLaunchType.hashCode()); + result = (result * PRIME) + (this.primaryVnic == null ? 43 : this.primaryVnic.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-containerengine/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-containerengine/reflect-config.json b/bmc-containerengine/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-containerengine/reflect-config.json index 986954058dc..e5a1ba946ff 100644 --- a/bmc-containerengine/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-containerengine/reflect-config.json +++ b/bmc-containerengine/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-containerengine/reflect-config.json @@ -823,6 +823,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.containerengine.model.NodePoolPrimaryVnicDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.containerengine.model.NodePoolPrimaryVnicDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.containerengine.model.NodePoolSecondaryVnicDetails", diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml index 0424fe0cd22..05ea5ba908f 100644 --- a/bmc-containerinstances/pom.xml +++ b/bmc-containerinstances/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-containerinstances @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-containerregistry/pom.xml b/bmc-containerregistry/pom.xml index 143ccbbd8a8..6596e4c8d19 100644 --- a/bmc-containerregistry/pom.xml +++ b/bmc-containerregistry/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-containerregistry @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml index 6e2dd8b8e09..993eaf759f6 100644 --- a/bmc-core/pom.xml +++ b/bmc-core/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.87.0 + 3.88.0 diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsyncClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsyncClient.java index fffa6d8dd70..1a9e47b31d7 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsyncClient.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeAsyncClient.java @@ -3785,6 +3785,9 @@ public java.util.concurrent.Future listDedicatedVm .appendQueryParam( "remainingOcpusGreaterThanOrEqualTo", request.getRemainingOcpusGreaterThanOrEqualTo()) + .appendQueryParam( + "remainingLocalVolumeInGBsGreaterThanOrEqualTo", + request.getRemainingLocalVolumeInGBsGreaterThanOrEqualTo()) .appendQueryParam( "isMemoryEncryptionEnabled", request.getIsMemoryEncryptionEnabled()) .accept("application/json, application/x-json-stream") diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeClient.java index 5b6a0a9c82c..ab9809dc649 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/ComputeClient.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/ComputeClient.java @@ -3431,6 +3431,9 @@ public ListDedicatedVmHostsResponse listDedicatedVmHosts(ListDedicatedVmHostsReq .appendQueryParam( "remainingOcpusGreaterThanOrEqualTo", request.getRemainingOcpusGreaterThanOrEqualTo()) + .appendQueryParam( + "remainingLocalVolumeInGBsGreaterThanOrEqualTo", + request.getRemainingLocalVolumeInGBsGreaterThanOrEqualTo()) .appendQueryParam( "isMemoryEncryptionEnabled", request.getIsMemoryEncryptionEnabled()) .accept("application/json, application/x-json-stream") diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CapacityBin.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CapacityBin.java index e0c802dccb1..9c9c15a3a7f 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CapacityBin.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CapacityBin.java @@ -27,6 +27,8 @@ public final class CapacityBin extends com.oracle.bmc.http.client.internal.Expli "remainingOcpus", "totalMemoryInGBs", "remainingMemoryInGBs", + "totalLocalVolumeInGBs", + "remainingLocalVolumeInGBs", "supportedShapes" }) public CapacityBin( @@ -35,6 +37,8 @@ public CapacityBin( Float remainingOcpus, Float totalMemoryInGBs, Float remainingMemoryInGBs, + Float totalLocalVolumeInGBs, + Float remainingLocalVolumeInGBs, java.util.List supportedShapes) { super(); this.capacityIndex = capacityIndex; @@ -42,6 +46,8 @@ public CapacityBin( this.remainingOcpus = remainingOcpus; this.totalMemoryInGBs = totalMemoryInGBs; this.remainingMemoryInGBs = remainingMemoryInGBs; + this.totalLocalVolumeInGBs = totalLocalVolumeInGBs; + this.remainingLocalVolumeInGBs = remainingLocalVolumeInGBs; this.supportedShapes = supportedShapes; } @@ -122,6 +128,36 @@ public Builder remainingMemoryInGBs(Float remainingMemoryInGBs) { this.__explicitlySet__.add("remainingMemoryInGBs"); return this; } + /** The total local volume of the capacity bucket, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLocalVolumeInGBs") + private Float totalLocalVolumeInGBs; + + /** + * The total local volume of the capacity bucket, in GBs. + * + * @param totalLocalVolumeInGBs the value to set + * @return this builder + */ + public Builder totalLocalVolumeInGBs(Float totalLocalVolumeInGBs) { + this.totalLocalVolumeInGBs = totalLocalVolumeInGBs; + this.__explicitlySet__.add("totalLocalVolumeInGBs"); + return this; + } + /** The remaining local volume of the capacity bucket, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLocalVolumeInGBs") + private Float remainingLocalVolumeInGBs; + + /** + * The remaining local volume of the capacity bucket, in GBs. + * + * @param remainingLocalVolumeInGBs the value to set + * @return this builder + */ + public Builder remainingLocalVolumeInGBs(Float remainingLocalVolumeInGBs) { + this.remainingLocalVolumeInGBs = remainingLocalVolumeInGBs; + this.__explicitlySet__.add("remainingLocalVolumeInGBs"); + return this; + } /** List of VMI shapes supported on each capacity bucket. */ @com.fasterxml.jackson.annotation.JsonProperty("supportedShapes") private java.util.List supportedShapes; @@ -149,6 +185,8 @@ public CapacityBin build() { this.remainingOcpus, this.totalMemoryInGBs, this.remainingMemoryInGBs, + this.totalLocalVolumeInGBs, + this.remainingLocalVolumeInGBs, this.supportedShapes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -173,6 +211,12 @@ public Builder copy(CapacityBin model) { if (model.wasPropertyExplicitlySet("remainingMemoryInGBs")) { this.remainingMemoryInGBs(model.getRemainingMemoryInGBs()); } + if (model.wasPropertyExplicitlySet("totalLocalVolumeInGBs")) { + this.totalLocalVolumeInGBs(model.getTotalLocalVolumeInGBs()); + } + if (model.wasPropertyExplicitlySet("remainingLocalVolumeInGBs")) { + this.remainingLocalVolumeInGBs(model.getRemainingLocalVolumeInGBs()); + } if (model.wasPropertyExplicitlySet("supportedShapes")) { this.supportedShapes(model.getSupportedShapes()); } @@ -254,6 +298,32 @@ public Float getRemainingMemoryInGBs() { return remainingMemoryInGBs; } + /** The total local volume of the capacity bucket, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLocalVolumeInGBs") + private final Float totalLocalVolumeInGBs; + + /** + * The total local volume of the capacity bucket, in GBs. + * + * @return the value + */ + public Float getTotalLocalVolumeInGBs() { + return totalLocalVolumeInGBs; + } + + /** The remaining local volume of the capacity bucket, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLocalVolumeInGBs") + private final Float remainingLocalVolumeInGBs; + + /** + * The remaining local volume of the capacity bucket, in GBs. + * + * @return the value + */ + public Float getRemainingLocalVolumeInGBs() { + return remainingLocalVolumeInGBs; + } + /** List of VMI shapes supported on each capacity bucket. */ @com.fasterxml.jackson.annotation.JsonProperty("supportedShapes") private final java.util.List supportedShapes; @@ -287,6 +357,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", remainingOcpus=").append(String.valueOf(this.remainingOcpus)); sb.append(", totalMemoryInGBs=").append(String.valueOf(this.totalMemoryInGBs)); sb.append(", remainingMemoryInGBs=").append(String.valueOf(this.remainingMemoryInGBs)); + sb.append(", totalLocalVolumeInGBs=").append(String.valueOf(this.totalLocalVolumeInGBs)); + sb.append(", remainingLocalVolumeInGBs=") + .append(String.valueOf(this.remainingLocalVolumeInGBs)); sb.append(", supportedShapes=").append(String.valueOf(this.supportedShapes)); sb.append(")"); return sb.toString(); @@ -307,6 +380,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.remainingOcpus, other.remainingOcpus) && java.util.Objects.equals(this.totalMemoryInGBs, other.totalMemoryInGBs) && java.util.Objects.equals(this.remainingMemoryInGBs, other.remainingMemoryInGBs) + && java.util.Objects.equals(this.totalLocalVolumeInGBs, other.totalLocalVolumeInGBs) + && java.util.Objects.equals( + this.remainingLocalVolumeInGBs, other.remainingLocalVolumeInGBs) && java.util.Objects.equals(this.supportedShapes, other.supportedShapes) && super.equals(other); } @@ -330,6 +406,16 @@ public int hashCode() { + (this.remainingMemoryInGBs == null ? 43 : this.remainingMemoryInGBs.hashCode()); + result = + (result * PRIME) + + (this.totalLocalVolumeInGBs == null + ? 43 + : this.totalLocalVolumeInGBs.hashCode()); + result = + (result * PRIME) + + (this.remainingLocalVolumeInGBs == null + ? 43 + : this.remainingLocalVolumeInGBs.hashCode()); result = (result * PRIME) + (this.supportedShapes == null ? 43 : this.supportedShapes.hashCode()); diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CapacityBinPreview.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CapacityBinPreview.java index 54c9092f3a9..1f07a3e2560 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CapacityBinPreview.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CapacityBinPreview.java @@ -27,17 +27,20 @@ public final class CapacityBinPreview "capacityIndex", "totalOcpus", "totalMemoryInGBs", + "totalLocalVolumeInGBs", "supportedShapes" }) public CapacityBinPreview( Integer capacityIndex, Float totalOcpus, Float totalMemoryInGBs, + Float totalLocalVolumeInGBs, java.util.List supportedShapes) { super(); this.capacityIndex = capacityIndex; this.totalOcpus = totalOcpus; this.totalMemoryInGBs = totalMemoryInGBs; + this.totalLocalVolumeInGBs = totalLocalVolumeInGBs; this.supportedShapes = supportedShapes; } @@ -88,6 +91,21 @@ public Builder totalMemoryInGBs(Float totalMemoryInGBs) { this.__explicitlySet__.add("totalMemoryInGBs"); return this; } + /** The total local volume of the capacity bucket, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLocalVolumeInGBs") + private Float totalLocalVolumeInGBs; + + /** + * The total local volume of the capacity bucket, in GBs. + * + * @param totalLocalVolumeInGBs the value to set + * @return this builder + */ + public Builder totalLocalVolumeInGBs(Float totalLocalVolumeInGBs) { + this.totalLocalVolumeInGBs = totalLocalVolumeInGBs; + this.__explicitlySet__.add("totalLocalVolumeInGBs"); + return this; + } /** List of VMI shapes supported on each capacity bucket. */ @com.fasterxml.jackson.annotation.JsonProperty("supportedShapes") private java.util.List supportedShapes; @@ -113,6 +131,7 @@ public CapacityBinPreview build() { this.capacityIndex, this.totalOcpus, this.totalMemoryInGBs, + this.totalLocalVolumeInGBs, this.supportedShapes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -131,6 +150,9 @@ public Builder copy(CapacityBinPreview model) { if (model.wasPropertyExplicitlySet("totalMemoryInGBs")) { this.totalMemoryInGBs(model.getTotalMemoryInGBs()); } + if (model.wasPropertyExplicitlySet("totalLocalVolumeInGBs")) { + this.totalLocalVolumeInGBs(model.getTotalLocalVolumeInGBs()); + } if (model.wasPropertyExplicitlySet("supportedShapes")) { this.supportedShapes(model.getSupportedShapes()); } @@ -186,6 +208,19 @@ public Float getTotalMemoryInGBs() { return totalMemoryInGBs; } + /** The total local volume of the capacity bucket, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLocalVolumeInGBs") + private final Float totalLocalVolumeInGBs; + + /** + * The total local volume of the capacity bucket, in GBs. + * + * @return the value + */ + public Float getTotalLocalVolumeInGBs() { + return totalLocalVolumeInGBs; + } + /** List of VMI shapes supported on each capacity bucket. */ @com.fasterxml.jackson.annotation.JsonProperty("supportedShapes") private final java.util.List supportedShapes; @@ -217,6 +252,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("capacityIndex=").append(String.valueOf(this.capacityIndex)); sb.append(", totalOcpus=").append(String.valueOf(this.totalOcpus)); sb.append(", totalMemoryInGBs=").append(String.valueOf(this.totalMemoryInGBs)); + sb.append(", totalLocalVolumeInGBs=").append(String.valueOf(this.totalLocalVolumeInGBs)); sb.append(", supportedShapes=").append(String.valueOf(this.supportedShapes)); sb.append(")"); return sb.toString(); @@ -235,6 +271,7 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.capacityIndex, other.capacityIndex) && java.util.Objects.equals(this.totalOcpus, other.totalOcpus) && java.util.Objects.equals(this.totalMemoryInGBs, other.totalMemoryInGBs) + && java.util.Objects.equals(this.totalLocalVolumeInGBs, other.totalLocalVolumeInGBs) && java.util.Objects.equals(this.supportedShapes, other.supportedShapes) && super.equals(other); } @@ -250,6 +287,11 @@ public int hashCode() { result = (result * PRIME) + (this.totalMemoryInGBs == null ? 43 : this.totalMemoryInGBs.hashCode()); + result = + (result * PRIME) + + (this.totalLocalVolumeInGBs == null + ? 43 + : this.totalLocalVolumeInGBs.hashCode()); result = (result * PRIME) + (this.supportedShapes == null ? 43 : this.supportedShapes.hashCode()); diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/DedicatedVmHost.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/DedicatedVmHost.java index 1caf8a8e69c..77493e283a0 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/DedicatedVmHost.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/DedicatedVmHost.java @@ -41,6 +41,8 @@ public final class DedicatedVmHost "remainingOcpus", "totalMemoryInGBs", "remainingMemoryInGBs", + "totalLocalVolumeInGBs", + "remainingLocalVolumeInGBs", "capacityBins", "computeBareMetalHostId" }) @@ -62,6 +64,8 @@ public DedicatedVmHost( Float remainingOcpus, Float totalMemoryInGBs, Float remainingMemoryInGBs, + Float totalLocalVolumeInGBs, + Float remainingLocalVolumeInGBs, java.util.List capacityBins, String computeBareMetalHostId) { super(); @@ -82,6 +86,8 @@ public DedicatedVmHost( this.remainingOcpus = remainingOcpus; this.totalMemoryInGBs = totalMemoryInGBs; this.remainingMemoryInGBs = remainingMemoryInGBs; + this.totalLocalVolumeInGBs = totalLocalVolumeInGBs; + this.remainingLocalVolumeInGBs = remainingLocalVolumeInGBs; this.capacityBins = capacityBins; this.computeBareMetalHostId = computeBareMetalHostId; } @@ -423,10 +429,46 @@ public Builder remainingMemoryInGBs(Float remainingMemoryInGBs) { this.__explicitlySet__.add("remainingMemoryInGBs"); return this; } + /** The total local volume of the dedicated VM host, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLocalVolumeInGBs") + private Float totalLocalVolumeInGBs; + /** + * The total local volume of the dedicated VM host, in GBs. + * + * @param totalLocalVolumeInGBs the value to set + * @return this builder + */ + public Builder totalLocalVolumeInGBs(Float totalLocalVolumeInGBs) { + this.totalLocalVolumeInGBs = totalLocalVolumeInGBs; + this.__explicitlySet__.add("totalLocalVolumeInGBs"); + return this; + } + /** The remaining local volume of the dedicated VM host, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLocalVolumeInGBs") + private Float remainingLocalVolumeInGBs; + + /** + * The remaining local volume of the dedicated VM host, in GBs. + * + * @param remainingLocalVolumeInGBs the value to set + * @return this builder + */ + public Builder remainingLocalVolumeInGBs(Float remainingLocalVolumeInGBs) { + this.remainingLocalVolumeInGBs = remainingLocalVolumeInGBs; + this.__explicitlySet__.add("remainingLocalVolumeInGBs"); + return this; + } + /** A list of total and remaining CPU, memory, and local volume per capacity bucket. */ @com.fasterxml.jackson.annotation.JsonProperty("capacityBins") private java.util.List capacityBins; + /** + * A list of total and remaining CPU, memory, and local volume per capacity bucket. + * + * @param capacityBins the value to set + * @return this builder + */ public Builder capacityBins(java.util.List capacityBins) { this.capacityBins = capacityBins; this.__explicitlySet__.add("capacityBins"); @@ -471,6 +513,8 @@ public DedicatedVmHost build() { this.remainingOcpus, this.totalMemoryInGBs, this.remainingMemoryInGBs, + this.totalLocalVolumeInGBs, + this.remainingLocalVolumeInGBs, this.capacityBins, this.computeBareMetalHostId); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -532,6 +576,12 @@ public Builder copy(DedicatedVmHost model) { if (model.wasPropertyExplicitlySet("remainingMemoryInGBs")) { this.remainingMemoryInGBs(model.getRemainingMemoryInGBs()); } + if (model.wasPropertyExplicitlySet("totalLocalVolumeInGBs")) { + this.totalLocalVolumeInGBs(model.getTotalLocalVolumeInGBs()); + } + if (model.wasPropertyExplicitlySet("remainingLocalVolumeInGBs")) { + this.remainingLocalVolumeInGBs(model.getRemainingLocalVolumeInGBs()); + } if (model.wasPropertyExplicitlySet("capacityBins")) { this.capacityBins(model.getCapacityBins()); } @@ -900,9 +950,41 @@ public Float getRemainingMemoryInGBs() { return remainingMemoryInGBs; } + /** The total local volume of the dedicated VM host, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLocalVolumeInGBs") + private final Float totalLocalVolumeInGBs; + + /** + * The total local volume of the dedicated VM host, in GBs. + * + * @return the value + */ + public Float getTotalLocalVolumeInGBs() { + return totalLocalVolumeInGBs; + } + + /** The remaining local volume of the dedicated VM host, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLocalVolumeInGBs") + private final Float remainingLocalVolumeInGBs; + + /** + * The remaining local volume of the dedicated VM host, in GBs. + * + * @return the value + */ + public Float getRemainingLocalVolumeInGBs() { + return remainingLocalVolumeInGBs; + } + + /** A list of total and remaining CPU, memory, and local volume per capacity bucket. */ @com.fasterxml.jackson.annotation.JsonProperty("capacityBins") private final java.util.List capacityBins; + /** + * A list of total and remaining CPU, memory, and local volume per capacity bucket. + * + * @return the value + */ public java.util.List getCapacityBins() { return capacityBins; } @@ -954,6 +1036,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", remainingOcpus=").append(String.valueOf(this.remainingOcpus)); sb.append(", totalMemoryInGBs=").append(String.valueOf(this.totalMemoryInGBs)); sb.append(", remainingMemoryInGBs=").append(String.valueOf(this.remainingMemoryInGBs)); + sb.append(", totalLocalVolumeInGBs=").append(String.valueOf(this.totalLocalVolumeInGBs)); + sb.append(", remainingLocalVolumeInGBs=") + .append(String.valueOf(this.remainingLocalVolumeInGBs)); sb.append(", capacityBins=").append(String.valueOf(this.capacityBins)); sb.append(", computeBareMetalHostId=").append(String.valueOf(this.computeBareMetalHostId)); sb.append(")"); @@ -989,6 +1074,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.remainingOcpus, other.remainingOcpus) && java.util.Objects.equals(this.totalMemoryInGBs, other.totalMemoryInGBs) && java.util.Objects.equals(this.remainingMemoryInGBs, other.remainingMemoryInGBs) + && java.util.Objects.equals(this.totalLocalVolumeInGBs, other.totalLocalVolumeInGBs) + && java.util.Objects.equals( + this.remainingLocalVolumeInGBs, other.remainingLocalVolumeInGBs) && java.util.Objects.equals(this.capacityBins, other.capacityBins) && java.util.Objects.equals( this.computeBareMetalHostId, other.computeBareMetalHostId) @@ -1046,6 +1134,16 @@ public int hashCode() { + (this.remainingMemoryInGBs == null ? 43 : this.remainingMemoryInGBs.hashCode()); + result = + (result * PRIME) + + (this.totalLocalVolumeInGBs == null + ? 43 + : this.totalLocalVolumeInGBs.hashCode()); + result = + (result * PRIME) + + (this.remainingLocalVolumeInGBs == null + ? 43 + : this.remainingLocalVolumeInGBs.hashCode()); result = (result * PRIME) + (this.capacityBins == null ? 43 : this.capacityBins.hashCode()); result = (result * PRIME) diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/DedicatedVmHostSummary.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/DedicatedVmHostSummary.java index 31533a94974..bc3bdd238aa 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/DedicatedVmHostSummary.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/DedicatedVmHostSummary.java @@ -37,7 +37,9 @@ public final class DedicatedVmHostSummary "remainingOcpus", "totalOcpus", "totalMemoryInGBs", - "remainingMemoryInGBs" + "remainingMemoryInGBs", + "totalLocalVolumeInGBs", + "remainingLocalVolumeInGBs" }) public DedicatedVmHostSummary( String availabilityDomain, @@ -52,7 +54,9 @@ public DedicatedVmHostSummary( Float remainingOcpus, Float totalOcpus, Float totalMemoryInGBs, - Float remainingMemoryInGBs) { + Float remainingMemoryInGBs, + Float totalLocalVolumeInGBs, + Float remainingLocalVolumeInGBs) { super(); this.availabilityDomain = availabilityDomain; this.compartmentId = compartmentId; @@ -67,6 +71,8 @@ public DedicatedVmHostSummary( this.totalOcpus = totalOcpus; this.totalMemoryInGBs = totalMemoryInGBs; this.remainingMemoryInGBs = remainingMemoryInGBs; + this.totalLocalVolumeInGBs = totalLocalVolumeInGBs; + this.remainingLocalVolumeInGBs = remainingLocalVolumeInGBs; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -320,6 +326,36 @@ public Builder remainingMemoryInGBs(Float remainingMemoryInGBs) { this.__explicitlySet__.add("remainingMemoryInGBs"); return this; } + /** The current total local volume of the dedicated VM host, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLocalVolumeInGBs") + private Float totalLocalVolumeInGBs; + + /** + * The current total local volume of the dedicated VM host, in GBs. + * + * @param totalLocalVolumeInGBs the value to set + * @return this builder + */ + public Builder totalLocalVolumeInGBs(Float totalLocalVolumeInGBs) { + this.totalLocalVolumeInGBs = totalLocalVolumeInGBs; + this.__explicitlySet__.add("totalLocalVolumeInGBs"); + return this; + } + /** The current available local volume of the dedicated VM host, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLocalVolumeInGBs") + private Float remainingLocalVolumeInGBs; + + /** + * The current available local volume of the dedicated VM host, in GBs. + * + * @param remainingLocalVolumeInGBs the value to set + * @return this builder + */ + public Builder remainingLocalVolumeInGBs(Float remainingLocalVolumeInGBs) { + this.remainingLocalVolumeInGBs = remainingLocalVolumeInGBs; + this.__explicitlySet__.add("remainingLocalVolumeInGBs"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -339,7 +375,9 @@ public DedicatedVmHostSummary build() { this.remainingOcpus, this.totalOcpus, this.totalMemoryInGBs, - this.remainingMemoryInGBs); + this.remainingMemoryInGBs, + this.totalLocalVolumeInGBs, + this.remainingLocalVolumeInGBs); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -387,6 +425,12 @@ public Builder copy(DedicatedVmHostSummary model) { if (model.wasPropertyExplicitlySet("remainingMemoryInGBs")) { this.remainingMemoryInGBs(model.getRemainingMemoryInGBs()); } + if (model.wasPropertyExplicitlySet("totalLocalVolumeInGBs")) { + this.totalLocalVolumeInGBs(model.getTotalLocalVolumeInGBs()); + } + if (model.wasPropertyExplicitlySet("remainingLocalVolumeInGBs")) { + this.remainingLocalVolumeInGBs(model.getRemainingLocalVolumeInGBs()); + } return this; } } @@ -673,6 +717,32 @@ public Float getRemainingMemoryInGBs() { return remainingMemoryInGBs; } + /** The current total local volume of the dedicated VM host, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("totalLocalVolumeInGBs") + private final Float totalLocalVolumeInGBs; + + /** + * The current total local volume of the dedicated VM host, in GBs. + * + * @return the value + */ + public Float getTotalLocalVolumeInGBs() { + return totalLocalVolumeInGBs; + } + + /** The current available local volume of the dedicated VM host, in GBs. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLocalVolumeInGBs") + private final Float remainingLocalVolumeInGBs; + + /** + * The current available local volume of the dedicated VM host, in GBs. + * + * @return the value + */ + public Float getRemainingLocalVolumeInGBs() { + return remainingLocalVolumeInGBs; + } + @Override public String toString() { return this.toString(true); @@ -702,6 +772,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", totalOcpus=").append(String.valueOf(this.totalOcpus)); sb.append(", totalMemoryInGBs=").append(String.valueOf(this.totalMemoryInGBs)); sb.append(", remainingMemoryInGBs=").append(String.valueOf(this.remainingMemoryInGBs)); + sb.append(", totalLocalVolumeInGBs=").append(String.valueOf(this.totalLocalVolumeInGBs)); + sb.append(", remainingLocalVolumeInGBs=") + .append(String.valueOf(this.remainingLocalVolumeInGBs)); sb.append(")"); return sb.toString(); } @@ -730,6 +803,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.totalOcpus, other.totalOcpus) && java.util.Objects.equals(this.totalMemoryInGBs, other.totalMemoryInGBs) && java.util.Objects.equals(this.remainingMemoryInGBs, other.remainingMemoryInGBs) + && java.util.Objects.equals(this.totalLocalVolumeInGBs, other.totalLocalVolumeInGBs) + && java.util.Objects.equals( + this.remainingLocalVolumeInGBs, other.remainingLocalVolumeInGBs) && super.equals(other); } @@ -774,6 +850,16 @@ public int hashCode() { + (this.remainingMemoryInGBs == null ? 43 : this.remainingMemoryInGBs.hashCode()); + result = + (result * PRIME) + + (this.totalLocalVolumeInGBs == null + ? 43 + : this.totalLocalVolumeInGBs.hashCode()); + result = + (result * PRIME) + + (this.remainingLocalVolumeInGBs == null + ? 43 + : this.remainingLocalVolumeInGBs.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceConfigurationLaunchInstanceShapeConfigDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceConfigurationLaunchInstanceShapeConfigDetails.java index 1e80da0d029..349484d4774 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceConfigurationLaunchInstanceShapeConfigDetails.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceConfigurationLaunchInstanceShapeConfigDetails.java @@ -36,7 +36,8 @@ public final class InstanceConfigurationLaunchInstanceShapeConfigDetails "memoryInGBs", "baselineOcpuUtilization", "nvmes", - "resourceManagement" + "resourceManagement", + "localVolumeSizeInGBs" }) public InstanceConfigurationLaunchInstanceShapeConfigDetails( Float ocpus, @@ -44,7 +45,8 @@ public InstanceConfigurationLaunchInstanceShapeConfigDetails( Float memoryInGBs, BaselineOcpuUtilization baselineOcpuUtilization, Integer nvmes, - ResourceManagement resourceManagement) { + ResourceManagement resourceManagement, + Integer localVolumeSizeInGBs) { super(); this.ocpus = ocpus; this.vcpus = vcpus; @@ -52,6 +54,7 @@ public InstanceConfigurationLaunchInstanceShapeConfigDetails( this.baselineOcpuUtilization = baselineOcpuUtilization; this.nvmes = nvmes; this.resourceManagement = resourceManagement; + this.localVolumeSizeInGBs = localVolumeSizeInGBs; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -170,6 +173,29 @@ public Builder resourceManagement(ResourceManagement resourceManagement) { this.__explicitlySet__.add("resourceManagement"); return this; } + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If + * the selected shape is DenseLV, the value must be greater than 0. For all other shapes, + * the value must be null (if specified); any non-null value for a non-DenseLV shape results + * in an error. + */ + @com.fasterxml.jackson.annotation.JsonProperty("localVolumeSizeInGBs") + private Integer localVolumeSizeInGBs; + + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If + * the selected shape is DenseLV, the value must be greater than 0. For all other shapes, + * the value must be null (if specified); any non-null value for a non-DenseLV shape results + * in an error. + * + * @param localVolumeSizeInGBs the value to set + * @return this builder + */ + public Builder localVolumeSizeInGBs(Integer localVolumeSizeInGBs) { + this.localVolumeSizeInGBs = localVolumeSizeInGBs; + this.__explicitlySet__.add("localVolumeSizeInGBs"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -182,7 +208,8 @@ public InstanceConfigurationLaunchInstanceShapeConfigDetails build() { this.memoryInGBs, this.baselineOcpuUtilization, this.nvmes, - this.resourceManagement); + this.resourceManagement, + this.localVolumeSizeInGBs); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -209,6 +236,9 @@ public Builder copy(InstanceConfigurationLaunchInstanceShapeConfigDetails model) if (model.wasPropertyExplicitlySet("resourceManagement")) { this.resourceManagement(model.getResourceManagement()); } + if (model.wasPropertyExplicitlySet("localVolumeSizeInGBs")) { + this.localVolumeSizeInGBs(model.getLocalVolumeSizeInGBs()); + } return this; } } @@ -418,6 +448,25 @@ public ResourceManagement getResourceManagement() { return resourceManagement; } + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the + * selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value + * must be null (if specified); any non-null value for a non-DenseLV shape results in an error. + */ + @com.fasterxml.jackson.annotation.JsonProperty("localVolumeSizeInGBs") + private final Integer localVolumeSizeInGBs; + + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the + * selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value + * must be null (if specified); any non-null value for a non-DenseLV shape results in an error. + * + * @return the value + */ + public Integer getLocalVolumeSizeInGBs() { + return localVolumeSizeInGBs; + } + @Override public String toString() { return this.toString(true); @@ -440,6 +489,7 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.baselineOcpuUtilization)); sb.append(", nvmes=").append(String.valueOf(this.nvmes)); sb.append(", resourceManagement=").append(String.valueOf(this.resourceManagement)); + sb.append(", localVolumeSizeInGBs=").append(String.valueOf(this.localVolumeSizeInGBs)); sb.append(")"); return sb.toString(); } @@ -462,6 +512,7 @@ public boolean equals(Object o) { this.baselineOcpuUtilization, other.baselineOcpuUtilization) && java.util.Objects.equals(this.nvmes, other.nvmes) && java.util.Objects.equals(this.resourceManagement, other.resourceManagement) + && java.util.Objects.equals(this.localVolumeSizeInGBs, other.localVolumeSizeInGBs) && super.equals(other); } @@ -483,6 +534,11 @@ public int hashCode() { + (this.resourceManagement == null ? 43 : this.resourceManagement.hashCode()); + result = + (result * PRIME) + + (this.localVolumeSizeInGBs == null + ? 43 + : this.localVolumeSizeInGBs.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceShapeConfig.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceShapeConfig.java index e72fed6ac66..53e40cbf277 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceShapeConfig.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/InstanceShapeConfig.java @@ -37,7 +37,8 @@ public final class InstanceShapeConfig "localDisksTotalSizeInGBs", "localDiskDescription", "vcpus", - "resourceManagement" + "resourceManagement", + "localVolumeSizeInGBs" }) public InstanceShapeConfig( Float ocpus, @@ -52,7 +53,8 @@ public InstanceShapeConfig( Float localDisksTotalSizeInGBs, String localDiskDescription, Integer vcpus, - ResourceManagement resourceManagement) { + ResourceManagement resourceManagement, + Integer localVolumeSizeInGBs) { super(); this.ocpus = ocpus; this.memoryInGBs = memoryInGBs; @@ -67,6 +69,7 @@ public InstanceShapeConfig( this.localDiskDescription = localDiskDescription; this.vcpus = vcpus; this.resourceManagement = resourceManagement; + this.localVolumeSizeInGBs = localVolumeSizeInGBs; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -306,6 +309,27 @@ public Builder resourceManagement(ResourceManagement resourceManagement) { this.__explicitlySet__.add("resourceManagement"); return this; } + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If + * the shape is DenseLV, the value will be greater than 0. For all other shapes, the value + * will be null. + */ + @com.fasterxml.jackson.annotation.JsonProperty("localVolumeSizeInGBs") + private Integer localVolumeSizeInGBs; + + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If + * the shape is DenseLV, the value will be greater than 0. For all other shapes, the value + * will be null. + * + * @param localVolumeSizeInGBs the value to set + * @return this builder + */ + public Builder localVolumeSizeInGBs(Integer localVolumeSizeInGBs) { + this.localVolumeSizeInGBs = localVolumeSizeInGBs; + this.__explicitlySet__.add("localVolumeSizeInGBs"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -325,7 +349,8 @@ public InstanceShapeConfig build() { this.localDisksTotalSizeInGBs, this.localDiskDescription, this.vcpus, - this.resourceManagement); + this.resourceManagement, + this.localVolumeSizeInGBs); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -373,6 +398,9 @@ public Builder copy(InstanceShapeConfig model) { if (model.wasPropertyExplicitlySet("resourceManagement")) { this.resourceManagement(model.getResourceManagement()); } + if (model.wasPropertyExplicitlySet("localVolumeSizeInGBs")) { + this.localVolumeSizeInGBs(model.getLocalVolumeSizeInGBs()); + } return this; } } @@ -691,6 +719,25 @@ public ResourceManagement getResourceManagement() { return resourceManagement; } + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the + * shape is DenseLV, the value will be greater than 0. For all other shapes, the value will be + * null. + */ + @com.fasterxml.jackson.annotation.JsonProperty("localVolumeSizeInGBs") + private final Integer localVolumeSizeInGBs; + + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the + * shape is DenseLV, the value will be greater than 0. For all other shapes, the value will be + * null. + * + * @return the value + */ + public Integer getLocalVolumeSizeInGBs() { + return localVolumeSizeInGBs; + } + @Override public String toString() { return this.toString(true); @@ -722,6 +769,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", localDiskDescription=").append(String.valueOf(this.localDiskDescription)); sb.append(", vcpus=").append(String.valueOf(this.vcpus)); sb.append(", resourceManagement=").append(String.valueOf(this.resourceManagement)); + sb.append(", localVolumeSizeInGBs=").append(String.valueOf(this.localVolumeSizeInGBs)); sb.append(")"); return sb.toString(); } @@ -752,6 +800,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.localDiskDescription, other.localDiskDescription) && java.util.Objects.equals(this.vcpus, other.vcpus) && java.util.Objects.equals(this.resourceManagement, other.resourceManagement) + && java.util.Objects.equals(this.localVolumeSizeInGBs, other.localVolumeSizeInGBs) && super.equals(other); } @@ -802,6 +851,11 @@ public int hashCode() { + (this.resourceManagement == null ? 43 : this.resourceManagement.hashCode()); + result = + (result * PRIME) + + (this.localVolumeSizeInGBs == null + ? 43 + : this.localVolumeSizeInGBs.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceShapeConfigDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceShapeConfigDetails.java index ef9f79ce33f..dcfdbb9e826 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceShapeConfigDetails.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceShapeConfigDetails.java @@ -36,7 +36,8 @@ public final class LaunchInstanceShapeConfigDetails "memoryInGBs", "baselineOcpuUtilization", "nvmes", - "resourceManagement" + "resourceManagement", + "localVolumeSizeInGBs" }) public LaunchInstanceShapeConfigDetails( Float ocpus, @@ -44,7 +45,8 @@ public LaunchInstanceShapeConfigDetails( Float memoryInGBs, BaselineOcpuUtilization baselineOcpuUtilization, Integer nvmes, - ResourceManagement resourceManagement) { + ResourceManagement resourceManagement, + Integer localVolumeSizeInGBs) { super(); this.ocpus = ocpus; this.vcpus = vcpus; @@ -52,6 +54,7 @@ public LaunchInstanceShapeConfigDetails( this.baselineOcpuUtilization = baselineOcpuUtilization; this.nvmes = nvmes; this.resourceManagement = resourceManagement; + this.localVolumeSizeInGBs = localVolumeSizeInGBs; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -170,6 +173,29 @@ public Builder resourceManagement(ResourceManagement resourceManagement) { this.__explicitlySet__.add("resourceManagement"); return this; } + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If + * the selected shape is DenseLV, the value must be greater than 0. For all other shapes, + * the value must be null (if specified); any non-null value for a non-DenseLV shape results + * in an error. + */ + @com.fasterxml.jackson.annotation.JsonProperty("localVolumeSizeInGBs") + private Integer localVolumeSizeInGBs; + + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If + * the selected shape is DenseLV, the value must be greater than 0. For all other shapes, + * the value must be null (if specified); any non-null value for a non-DenseLV shape results + * in an error. + * + * @param localVolumeSizeInGBs the value to set + * @return this builder + */ + public Builder localVolumeSizeInGBs(Integer localVolumeSizeInGBs) { + this.localVolumeSizeInGBs = localVolumeSizeInGBs; + this.__explicitlySet__.add("localVolumeSizeInGBs"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -182,7 +208,8 @@ public LaunchInstanceShapeConfigDetails build() { this.memoryInGBs, this.baselineOcpuUtilization, this.nvmes, - this.resourceManagement); + this.resourceManagement, + this.localVolumeSizeInGBs); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -209,6 +236,9 @@ public Builder copy(LaunchInstanceShapeConfigDetails model) { if (model.wasPropertyExplicitlySet("resourceManagement")) { this.resourceManagement(model.getResourceManagement()); } + if (model.wasPropertyExplicitlySet("localVolumeSizeInGBs")) { + this.localVolumeSizeInGBs(model.getLocalVolumeSizeInGBs()); + } return this; } } @@ -392,6 +422,25 @@ public ResourceManagement getResourceManagement() { return resourceManagement; } + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the + * selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value + * must be null (if specified); any non-null value for a non-DenseLV shape results in an error. + */ + @com.fasterxml.jackson.annotation.JsonProperty("localVolumeSizeInGBs") + private final Integer localVolumeSizeInGBs; + + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the + * selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value + * must be null (if specified); any non-null value for a non-DenseLV shape results in an error. + * + * @return the value + */ + public Integer getLocalVolumeSizeInGBs() { + return localVolumeSizeInGBs; + } + @Override public String toString() { return this.toString(true); @@ -414,6 +463,7 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.baselineOcpuUtilization)); sb.append(", nvmes=").append(String.valueOf(this.nvmes)); sb.append(", resourceManagement=").append(String.valueOf(this.resourceManagement)); + sb.append(", localVolumeSizeInGBs=").append(String.valueOf(this.localVolumeSizeInGBs)); sb.append(")"); return sb.toString(); } @@ -435,6 +485,7 @@ public boolean equals(Object o) { this.baselineOcpuUtilization, other.baselineOcpuUtilization) && java.util.Objects.equals(this.nvmes, other.nvmes) && java.util.Objects.equals(this.resourceManagement, other.resourceManagement) + && java.util.Objects.equals(this.localVolumeSizeInGBs, other.localVolumeSizeInGBs) && super.equals(other); } @@ -456,6 +507,11 @@ public int hashCode() { + (this.resourceManagement == null ? 43 : this.resourceManagement.hashCode()); + result = + (result * PRIME) + + (this.localVolumeSizeInGBs == null + ? 43 + : this.localVolumeSizeInGBs.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceShapeConfigDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceShapeConfigDetails.java index d37afb808fa..46eafd36f80 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceShapeConfigDetails.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateInstanceShapeConfigDetails.java @@ -36,7 +36,8 @@ public final class UpdateInstanceShapeConfigDetails "memoryInGBs", "baselineOcpuUtilization", "nvmes", - "resourceManagement" + "resourceManagement", + "localVolumeSizeInGBs" }) public UpdateInstanceShapeConfigDetails( Float ocpus, @@ -44,7 +45,8 @@ public UpdateInstanceShapeConfigDetails( Float memoryInGBs, BaselineOcpuUtilization baselineOcpuUtilization, Integer nvmes, - ResourceManagement resourceManagement) { + ResourceManagement resourceManagement, + Integer localVolumeSizeInGBs) { super(); this.ocpus = ocpus; this.vcpus = vcpus; @@ -52,6 +54,7 @@ public UpdateInstanceShapeConfigDetails( this.baselineOcpuUtilization = baselineOcpuUtilization; this.nvmes = nvmes; this.resourceManagement = resourceManagement; + this.localVolumeSizeInGBs = localVolumeSizeInGBs; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -170,6 +173,29 @@ public Builder resourceManagement(ResourceManagement resourceManagement) { this.__explicitlySet__.add("resourceManagement"); return this; } + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If + * the selected shape is DenseLV, the value must be greater than 0. For all other shapes, + * the value must be null (if specified); any non-null value for a non-DenseLV shape results + * in an error. + */ + @com.fasterxml.jackson.annotation.JsonProperty("localVolumeSizeInGBs") + private Integer localVolumeSizeInGBs; + + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If + * the selected shape is DenseLV, the value must be greater than 0. For all other shapes, + * the value must be null (if specified); any non-null value for a non-DenseLV shape results + * in an error. + * + * @param localVolumeSizeInGBs the value to set + * @return this builder + */ + public Builder localVolumeSizeInGBs(Integer localVolumeSizeInGBs) { + this.localVolumeSizeInGBs = localVolumeSizeInGBs; + this.__explicitlySet__.add("localVolumeSizeInGBs"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -182,7 +208,8 @@ public UpdateInstanceShapeConfigDetails build() { this.memoryInGBs, this.baselineOcpuUtilization, this.nvmes, - this.resourceManagement); + this.resourceManagement, + this.localVolumeSizeInGBs); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -209,6 +236,9 @@ public Builder copy(UpdateInstanceShapeConfigDetails model) { if (model.wasPropertyExplicitlySet("resourceManagement")) { this.resourceManagement(model.getResourceManagement()); } + if (model.wasPropertyExplicitlySet("localVolumeSizeInGBs")) { + this.localVolumeSizeInGBs(model.getLocalVolumeSizeInGBs()); + } return this; } } @@ -392,6 +422,25 @@ public ResourceManagement getResourceManagement() { return resourceManagement; } + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the + * selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value + * must be null (if specified); any non-null value for a non-DenseLV shape results in an error. + */ + @com.fasterxml.jackson.annotation.JsonProperty("localVolumeSizeInGBs") + private final Integer localVolumeSizeInGBs; + + /** + * The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the + * selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value + * must be null (if specified); any non-null value for a non-DenseLV shape results in an error. + * + * @return the value + */ + public Integer getLocalVolumeSizeInGBs() { + return localVolumeSizeInGBs; + } + @Override public String toString() { return this.toString(true); @@ -414,6 +463,7 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.baselineOcpuUtilization)); sb.append(", nvmes=").append(String.valueOf(this.nvmes)); sb.append(", resourceManagement=").append(String.valueOf(this.resourceManagement)); + sb.append(", localVolumeSizeInGBs=").append(String.valueOf(this.localVolumeSizeInGBs)); sb.append(")"); return sb.toString(); } @@ -435,6 +485,7 @@ public boolean equals(Object o) { this.baselineOcpuUtilization, other.baselineOcpuUtilization) && java.util.Objects.equals(this.nvmes, other.nvmes) && java.util.Objects.equals(this.resourceManagement, other.resourceManagement) + && java.util.Objects.equals(this.localVolumeSizeInGBs, other.localVolumeSizeInGBs) && super.equals(other); } @@ -456,6 +507,11 @@ public int hashCode() { + (this.resourceManagement == null ? 43 : this.resourceManagement.hashCode()); + result = + (result * PRIME) + + (this.localVolumeSizeInGBs == null + ? 43 + : this.localVolumeSizeInGBs.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListDedicatedVmHostsRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListDedicatedVmHostsRequest.java index 1dc1315b260..04844881cb8 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListDedicatedVmHostsRequest.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListDedicatedVmHostsRequest.java @@ -280,6 +280,13 @@ public Float getRemainingMemoryInGBsGreaterThanOrEqualTo() { public Float getRemainingOcpusGreaterThanOrEqualTo() { return remainingOcpusGreaterThanOrEqualTo; } + /** The remaining local volume of the dedicated VM host, in GBs. */ + private Float remainingLocalVolumeInGBsGreaterThanOrEqualTo; + + /** The remaining local volume of the dedicated VM host, in GBs. */ + public Float getRemainingLocalVolumeInGBsGreaterThanOrEqualTo() { + return remainingLocalVolumeInGBsGreaterThanOrEqualTo; + } /** * A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances * on DVMH. @@ -523,6 +530,22 @@ public Builder remainingOcpusGreaterThanOrEqualTo( return this; } + /** The remaining local volume of the dedicated VM host, in GBs. */ + private Float remainingLocalVolumeInGBsGreaterThanOrEqualTo = null; + + /** + * The remaining local volume of the dedicated VM host, in GBs. + * + * @param remainingLocalVolumeInGBsGreaterThanOrEqualTo the value to set + * @return this builder instance + */ + public Builder remainingLocalVolumeInGBsGreaterThanOrEqualTo( + Float remainingLocalVolumeInGBsGreaterThanOrEqualTo) { + this.remainingLocalVolumeInGBsGreaterThanOrEqualTo = + remainingLocalVolumeInGBsGreaterThanOrEqualTo; + return this; + } + /** * A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM * instances on DVMH. @@ -584,6 +607,8 @@ public Builder copy(ListDedicatedVmHostsRequest o) { remainingMemoryInGBsGreaterThanOrEqualTo( o.getRemainingMemoryInGBsGreaterThanOrEqualTo()); remainingOcpusGreaterThanOrEqualTo(o.getRemainingOcpusGreaterThanOrEqualTo()); + remainingLocalVolumeInGBsGreaterThanOrEqualTo( + o.getRemainingLocalVolumeInGBsGreaterThanOrEqualTo()); isMemoryEncryptionEnabled(o.getIsMemoryEncryptionEnabled()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); @@ -632,12 +657,14 @@ public ListDedicatedVmHostsRequest buildWithoutInvocationCallback() { request.remainingMemoryInGBsGreaterThanOrEqualTo = remainingMemoryInGBsGreaterThanOrEqualTo; request.remainingOcpusGreaterThanOrEqualTo = remainingOcpusGreaterThanOrEqualTo; + request.remainingLocalVolumeInGBsGreaterThanOrEqualTo = + remainingLocalVolumeInGBsGreaterThanOrEqualTo; request.isMemoryEncryptionEnabled = isMemoryEncryptionEnabled; return request; // new ListDedicatedVmHostsRequest(compartmentId, availabilityDomain, lifecycleState, // displayName, instanceShapeName, limit, page, opcRequestId, sortBy, sortOrder, // remainingMemoryInGBsGreaterThanOrEqualTo, remainingOcpusGreaterThanOrEqualTo, - // isMemoryEncryptionEnabled); + // remainingLocalVolumeInGBsGreaterThanOrEqualTo, isMemoryEncryptionEnabled); } } @@ -660,6 +687,8 @@ public Builder toBuilder() { .sortOrder(sortOrder) .remainingMemoryInGBsGreaterThanOrEqualTo(remainingMemoryInGBsGreaterThanOrEqualTo) .remainingOcpusGreaterThanOrEqualTo(remainingOcpusGreaterThanOrEqualTo) + .remainingLocalVolumeInGBsGreaterThanOrEqualTo( + remainingLocalVolumeInGBsGreaterThanOrEqualTo) .isMemoryEncryptionEnabled(isMemoryEncryptionEnabled); } @@ -691,6 +720,8 @@ public String toString() { .append(String.valueOf(this.remainingMemoryInGBsGreaterThanOrEqualTo)); sb.append(",remainingOcpusGreaterThanOrEqualTo=") .append(String.valueOf(this.remainingOcpusGreaterThanOrEqualTo)); + sb.append(",remainingLocalVolumeInGBsGreaterThanOrEqualTo=") + .append(String.valueOf(this.remainingLocalVolumeInGBsGreaterThanOrEqualTo)); sb.append(",isMemoryEncryptionEnabled=") .append(String.valueOf(this.isMemoryEncryptionEnabled)); sb.append(")"); @@ -724,6 +755,9 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.remainingOcpusGreaterThanOrEqualTo, other.remainingOcpusGreaterThanOrEqualTo) + && java.util.Objects.equals( + this.remainingLocalVolumeInGBsGreaterThanOrEqualTo, + other.remainingLocalVolumeInGBsGreaterThanOrEqualTo) && java.util.Objects.equals( this.isMemoryEncryptionEnabled, other.isMemoryEncryptionEnabled); } @@ -762,6 +796,11 @@ public int hashCode() { + (this.remainingOcpusGreaterThanOrEqualTo == null ? 43 : this.remainingOcpusGreaterThanOrEqualTo.hashCode()); + result = + (result * PRIME) + + (this.remainingLocalVolumeInGBsGreaterThanOrEqualTo == null + ? 43 + : this.remainingLocalVolumeInGBsGreaterThanOrEqualTo.hashCode()); result = (result * PRIME) + (this.isMemoryEncryptionEnabled == null diff --git a/bmc-costad/pom.xml b/bmc-costad/pom.xml index ade8c33cc1c..c786b99b688 100644 --- a/bmc-costad/pom.xml +++ b/bmc-costad/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-costad @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml index 1d4092a111c..9efa204179c 100644 --- a/bmc-dashboardservice/pom.xml +++ b/bmc-dashboardservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-dashboardservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml index 7626c229902..e64caee8de0 100644 --- a/bmc-database/pom.xml +++ b/bmc-database/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.87.0 + 3.88.0 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java index c85614280c8..e4a0162a20c 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/Database.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/Database.java @@ -5367,7 +5367,7 @@ ListDbHomePatchHistoryEntriesResponse listDbHomePatchHistoryEntries( /** * Gets a list of expected compute performance parameters for a virtual machine DB system based - * on system configuration. + * on system configuration. Adding compartmentId does not affect results. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java index b5a5df98aec..96ace3aa81f 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsync.java @@ -5430,7 +5430,7 @@ java.util.concurrent.Future listDbServers( /** * Gets a list of expected compute performance parameters for a virtual machine DB system based - * on system configuration. + * on system configuration. Adding compartmentId does not affect results. * * @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-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java index 1481b297f1e..b70637f8cbd 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseAsyncClient.java @@ -11557,6 +11557,7 @@ public java.util.concurrent.Future listDbServers( .basePath("/20160918") .appendPathParam("dbSystemComputePerformance") .appendQueryParam("dbSystemShape", request.getDbSystemShape()) + .appendQueryParam("compartmentId", request.getCompartmentId()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .handleBodyList( @@ -12734,6 +12735,7 @@ public java.util.concurrent.Future listParamsFo .basePath("/20160918") .appendPathParam("scheduledActionParams") .appendEnumQueryParam("type", request.getType()) + .appendEnumQueryParam("planIntent", request.getPlanIntent()) .appendQueryParam("limit", request.getLimit()) .appendQueryParam("page", request.getPage()) .accept("application/json") @@ -13022,6 +13024,7 @@ public java.util.concurrent.Future listSchedulingPl .appendQueryParam("displayName", request.getDisplayName()) .appendQueryParam("resourceId", request.getResourceId()) .appendQueryParam("id", request.getId()) + .appendEnumQueryParam("planIntent", request.getPlanIntent()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .handleBody( @@ -13059,6 +13062,7 @@ public java.util.concurrent.Future listSchedulin .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) .appendQueryParam("displayName", request.getDisplayName()) + .appendEnumQueryParam("cadence", request.getCadence()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .handleBodyList( diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java index 85d1c5a1ab0..e541771e72b 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/DatabaseClient.java @@ -10345,6 +10345,7 @@ public ListDbSystemComputePerformancesResponse listDbSystemComputePerformances( .basePath("/20160918") .appendPathParam("dbSystemComputePerformance") .appendQueryParam("dbSystemShape", request.getDbSystemShape()) + .appendQueryParam("compartmentId", request.getCompartmentId()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .handleBodyList( @@ -11396,6 +11397,7 @@ public ListParamsForActionTypeResponse listParamsForActionType( .basePath("/20160918") .appendPathParam("scheduledActionParams") .appendEnumQueryParam("type", request.getType()) + .appendEnumQueryParam("planIntent", request.getPlanIntent()) .appendQueryParam("limit", request.getLimit()) .appendQueryParam("page", request.getPage()) .accept("application/json") @@ -11655,6 +11657,7 @@ public ListSchedulingPlansResponse listSchedulingPlans(ListSchedulingPlansReques .appendQueryParam("displayName", request.getDisplayName()) .appendQueryParam("resourceId", request.getResourceId()) .appendQueryParam("id", request.getId()) + .appendEnumQueryParam("planIntent", request.getPlanIntent()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .handleBody( @@ -11689,6 +11692,7 @@ public ListSchedulingPoliciesResponse listSchedulingPolicies( .appendEnumQueryParam("sortOrder", request.getSortOrder()) .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) .appendQueryParam("displayName", request.getDisplayName()) + .appendEnumQueryParam("cadence", request.getCadence()) .accept("application/json") .appendHeader("opc-request-id", request.getOpcRequestId()) .handleBodyList( diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabase.java index 8dead628071..0246026e7bc 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabase.java @@ -1199,14 +1199,14 @@ public Builder dbSplitThreshold(Integer dbSplitThreshold) { } /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are - * 0%, 25%, and 50%, with 50% being the default option. + * 0%, 25%, 50%, 75%, and 100%, with 50% being the default option. */ @com.fasterxml.jackson.annotation.JsonProperty("vmFailoverReservation") private Integer vmFailoverReservation; /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are - * 0%, 25%, and 50%, with 50% being the default option. + * 0%, 25%, 50%, 75%, and 100%, with 50% being the default option. * * @param vmFailoverReservation the value to set * @return this builder @@ -2804,14 +2804,14 @@ public Integer getDbSplitThreshold() { /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, - * 25%, and 50%, with 50% being the default option. + * 25%, 50%, 75%, and 100%, with 50% being the default option. */ @com.fasterxml.jackson.annotation.JsonProperty("vmFailoverReservation") private final Integer vmFailoverReservation; /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, - * 25%, and 50%, with 50% being the default option. + * 25%, 50%, 75%, and 100%, with 50% being the default option. * * @return the value */ @@ -2892,6 +2892,7 @@ public DistributionAffinity getDistributionAffinity() { public enum NetServicesArchitecture implements com.oracle.bmc.http.internal.BmcEnum { Dedicated("DEDICATED"), Shared("SHARED"), + Drcp("DRCP"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseSummary.java index fb9e2d69a49..e2e20899ca8 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousContainerDatabaseSummary.java @@ -1202,14 +1202,14 @@ public Builder dbSplitThreshold(Integer dbSplitThreshold) { } /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are - * 0%, 25%, and 50%, with 50% being the default option. + * 0%, 25%, 50%, 75%, and 100%, with 50% being the default option. */ @com.fasterxml.jackson.annotation.JsonProperty("vmFailoverReservation") private Integer vmFailoverReservation; /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are - * 0%, 25%, and 50%, with 50% being the default option. + * 0%, 25%, 50%, 75%, and 100%, with 50% being the default option. * * @param vmFailoverReservation the value to set * @return this builder @@ -2807,14 +2807,14 @@ public Integer getDbSplitThreshold() { /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, - * 25%, and 50%, with 50% being the default option. + * 25%, 50%, 75%, and 100%, with 50% being the default option. */ @com.fasterxml.jackson.annotation.JsonProperty("vmFailoverReservation") private final Integer vmFailoverReservation; /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, - * 25%, and 50%, with 50% being the default option. + * 25%, 50%, 75%, and 100%, with 50% being the default option. * * @return the value */ @@ -2895,6 +2895,7 @@ public DistributionAffinity getDistributionAffinity() { public enum NetServicesArchitecture implements com.oracle.bmc.http.internal.BmcEnum { Dedicated("DEDICATED"), Shared("SHARED"), + Drcp("DRCP"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java index 059920b3efb..a13ff0e2aeb 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java @@ -1835,7 +1835,8 @@ public Builder isPreview(Boolean isPreview) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -1853,7 +1854,8 @@ public Builder isPreview(Boolean isPreview) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -5401,7 +5403,8 @@ public Boolean getIsPreview() { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -5464,7 +5467,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -5482,7 +5486,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -7309,6 +7314,7 @@ public DisasterRecoveryConfiguration getRemoteDisasterRecoveryConfiguration() { public enum NetServicesArchitecture implements com.oracle.bmc.http.internal.BmcEnum { Dedicated("DEDICATED"), Shared("SHARED"), + Drcp("DRCP"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java index fa656cb9af9..866a7ad6b3d 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java @@ -1838,7 +1838,8 @@ public Builder isPreview(Boolean isPreview) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -1856,7 +1857,8 @@ public Builder isPreview(Boolean isPreview) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -5404,7 +5406,8 @@ public Boolean getIsPreview() { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -5467,7 +5470,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -5485,7 +5489,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -7312,6 +7317,7 @@ public DisasterRecoveryConfiguration getRemoteDisasterRecoveryConfiguration() { public enum NetServicesArchitecture implements com.oracle.bmc.http.internal.BmcEnum { Dedicated("DEDICATED"), Shared("SHARED"), + Drcp("DRCP"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDbPreviewVersionSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDbPreviewVersionSummary.java index aa6269f7f9e..eb5f8531dba 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDbPreviewVersionSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDbPreviewVersionSummary.java @@ -101,7 +101,8 @@ public Builder timePreviewEnd(java.util.Date timePreviewEnd) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -119,7 +120,8 @@ public Builder timePreviewEnd(java.util.Date timePreviewEnd) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -244,7 +246,8 @@ public java.util.Date getTimePreviewEnd() { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -307,7 +310,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -325,7 +329,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDbVersionSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDbVersionSummary.java index 04dafaf1891..5116a00bf20 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDbVersionSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDbVersionSummary.java @@ -95,7 +95,8 @@ public Builder version(String version) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -113,7 +114,8 @@ public Builder version(String version) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -344,7 +346,8 @@ public String getVersion() { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -407,7 +410,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -425,7 +429,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDwDatabase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDwDatabase.java index 1df7792e2a8..52e54df56fd 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDwDatabase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDwDatabase.java @@ -1835,7 +1835,8 @@ public Builder isPreview(Boolean isPreview) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -1853,7 +1854,8 @@ public Builder isPreview(Boolean isPreview) { * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -5349,7 +5351,8 @@ public Boolean getIsPreview() { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -5399,7 +5402,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -5417,7 +5421,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -7090,6 +7095,7 @@ public DisasterRecoveryConfiguration getRemoteDisasterRecoveryConfiguration() { public enum NetServicesArchitecture implements com.oracle.bmc.http.internal.BmcEnum { Dedicated("DEDICATED"), Shared("SHARED"), + Drcp("DRCP"), ; private final String value; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java index 0b7b4bfaa56..dbec15cb456 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmCluster.java @@ -31,6 +31,8 @@ public final class AutonomousVmCluster "lifecycleState", "lifecycleDetails", "timeZone", + "distributionAlgorithm", + "sgaPercentage", "exadataInfrastructureId", "vmClusterNetworkId", "isLocalBackupEnabled", @@ -85,6 +87,8 @@ public AutonomousVmCluster( LifecycleState lifecycleState, String lifecycleDetails, String timeZone, + DistributionAlgorithm distributionAlgorithm, + Float sgaPercentage, String exadataInfrastructureId, String vmClusterNetworkId, Boolean isLocalBackupEnabled, @@ -138,6 +142,8 @@ public AutonomousVmCluster( this.lifecycleState = lifecycleState; this.lifecycleDetails = lifecycleDetails; this.timeZone = timeZone; + this.distributionAlgorithm = distributionAlgorithm; + this.sgaPercentage = sgaPercentage; this.exadataInfrastructureId = exadataInfrastructureId; this.vmClusterNetworkId = vmClusterNetworkId; this.isLocalBackupEnabled = isLocalBackupEnabled; @@ -309,6 +315,36 @@ public Builder timeZone(String timeZone) { this.__explicitlySet__.add("timeZone"); return this; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @param distributionAlgorithm the value to set + * @return this builder + */ + public Builder distributionAlgorithm(DistributionAlgorithm distributionAlgorithm) { + this.distributionAlgorithm = distributionAlgorithm; + this.__explicitlySet__.add("distributionAlgorithm"); + return this; + } + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @param sgaPercentage the value to set + * @return this builder + */ + public Builder sgaPercentage(Float sgaPercentage) { + this.sgaPercentage = sgaPercentage; + this.__explicitlySet__.add("sgaPercentage"); + return this; + } /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the * Exadata infrastructure. @@ -1098,6 +1134,8 @@ public AutonomousVmCluster build() { this.lifecycleState, this.lifecycleDetails, this.timeZone, + this.distributionAlgorithm, + this.sgaPercentage, this.exadataInfrastructureId, this.vmClusterNetworkId, this.isLocalBackupEnabled, @@ -1172,6 +1210,12 @@ public Builder copy(AutonomousVmCluster model) { if (model.wasPropertyExplicitlySet("timeZone")) { this.timeZone(model.getTimeZone()); } + if (model.wasPropertyExplicitlySet("distributionAlgorithm")) { + this.distributionAlgorithm(model.getDistributionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("sgaPercentage")) { + this.sgaPercentage(model.getSgaPercentage()); + } if (model.wasPropertyExplicitlySet("exadataInfrastructureId")) { this.exadataInfrastructureId(model.getExadataInfrastructureId()); } @@ -1482,6 +1526,78 @@ public String getTimeZone() { return timeZone; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + public enum DistributionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + ResourceOptimized("RESOURCE_OPTIMIZED"), + DistributionOptimized("DISTRIBUTION_OPTIMIZED"), + + /** + * 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(DistributionAlgorithm.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DistributionAlgorithm v : DistributionAlgorithm.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + DistributionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DistributionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'DistributionAlgorithm', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private final DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @return the value + */ + public DistributionAlgorithm getDistributionAlgorithm() { + return distributionAlgorithm; + } + + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private final Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @return the value + */ + public Float getSgaPercentage() { + return sgaPercentage; + } + /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the * Exadata infrastructure. @@ -2276,6 +2392,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", timeZone=").append(String.valueOf(this.timeZone)); + sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); + sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage)); sb.append(", exadataInfrastructureId=") .append(String.valueOf(this.exadataInfrastructureId)); sb.append(", vmClusterNetworkId=").append(String.valueOf(this.vmClusterNetworkId)); @@ -2359,6 +2477,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.timeZone, other.timeZone) + && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) + && java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage) && java.util.Objects.equals( this.exadataInfrastructureId, other.exadataInfrastructureId) && java.util.Objects.equals(this.vmClusterNetworkId, other.vmClusterNetworkId) @@ -2449,6 +2569,14 @@ public int hashCode() { (result * PRIME) + (this.lifecycleDetails == null ? 43 : this.lifecycleDetails.hashCode()); result = (result * PRIME) + (this.timeZone == null ? 43 : this.timeZone.hashCode()); + result = + (result * PRIME) + + (this.distributionAlgorithm == null + ? 43 + : this.distributionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode()); result = (result * PRIME) + (this.exadataInfrastructureId == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java index 4f35b391477..646f7df9350 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousVmClusterSummary.java @@ -31,6 +31,8 @@ public final class AutonomousVmClusterSummary "lifecycleState", "lifecycleDetails", "timeZone", + "distributionAlgorithm", + "sgaPercentage", "exadataInfrastructureId", "vmClusterNetworkId", "isLocalBackupEnabled", @@ -85,6 +87,8 @@ public AutonomousVmClusterSummary( LifecycleState lifecycleState, String lifecycleDetails, String timeZone, + DistributionAlgorithm distributionAlgorithm, + Float sgaPercentage, String exadataInfrastructureId, String vmClusterNetworkId, Boolean isLocalBackupEnabled, @@ -138,6 +142,8 @@ public AutonomousVmClusterSummary( this.lifecycleState = lifecycleState; this.lifecycleDetails = lifecycleDetails; this.timeZone = timeZone; + this.distributionAlgorithm = distributionAlgorithm; + this.sgaPercentage = sgaPercentage; this.exadataInfrastructureId = exadataInfrastructureId; this.vmClusterNetworkId = vmClusterNetworkId; this.isLocalBackupEnabled = isLocalBackupEnabled; @@ -309,6 +315,36 @@ public Builder timeZone(String timeZone) { this.__explicitlySet__.add("timeZone"); return this; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @param distributionAlgorithm the value to set + * @return this builder + */ + public Builder distributionAlgorithm(DistributionAlgorithm distributionAlgorithm) { + this.distributionAlgorithm = distributionAlgorithm; + this.__explicitlySet__.add("distributionAlgorithm"); + return this; + } + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @param sgaPercentage the value to set + * @return this builder + */ + public Builder sgaPercentage(Float sgaPercentage) { + this.sgaPercentage = sgaPercentage; + this.__explicitlySet__.add("sgaPercentage"); + return this; + } /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the * Exadata infrastructure. @@ -1098,6 +1134,8 @@ public AutonomousVmClusterSummary build() { this.lifecycleState, this.lifecycleDetails, this.timeZone, + this.distributionAlgorithm, + this.sgaPercentage, this.exadataInfrastructureId, this.vmClusterNetworkId, this.isLocalBackupEnabled, @@ -1172,6 +1210,12 @@ public Builder copy(AutonomousVmClusterSummary model) { if (model.wasPropertyExplicitlySet("timeZone")) { this.timeZone(model.getTimeZone()); } + if (model.wasPropertyExplicitlySet("distributionAlgorithm")) { + this.distributionAlgorithm(model.getDistributionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("sgaPercentage")) { + this.sgaPercentage(model.getSgaPercentage()); + } if (model.wasPropertyExplicitlySet("exadataInfrastructureId")) { this.exadataInfrastructureId(model.getExadataInfrastructureId()); } @@ -1482,6 +1526,78 @@ public String getTimeZone() { return timeZone; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + public enum DistributionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + ResourceOptimized("RESOURCE_OPTIMIZED"), + DistributionOptimized("DISTRIBUTION_OPTIMIZED"), + + /** + * 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(DistributionAlgorithm.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DistributionAlgorithm v : DistributionAlgorithm.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + DistributionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DistributionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'DistributionAlgorithm', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private final DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @return the value + */ + public DistributionAlgorithm getDistributionAlgorithm() { + return distributionAlgorithm; + } + + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private final Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @return the value + */ + public Float getSgaPercentage() { + return sgaPercentage; + } + /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the * Exadata infrastructure. @@ -2276,6 +2392,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", timeZone=").append(String.valueOf(this.timeZone)); + sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); + sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage)); sb.append(", exadataInfrastructureId=") .append(String.valueOf(this.exadataInfrastructureId)); sb.append(", vmClusterNetworkId=").append(String.valueOf(this.vmClusterNetworkId)); @@ -2359,6 +2477,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.timeZone, other.timeZone) + && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) + && java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage) && java.util.Objects.equals( this.exadataInfrastructureId, other.exadataInfrastructureId) && java.util.Objects.equals(this.vmClusterNetworkId, other.vmClusterNetworkId) @@ -2449,6 +2569,14 @@ public int hashCode() { (result * PRIME) + (this.lifecycleDetails == null ? 43 : this.lifecycleDetails.hashCode()); result = (result * PRIME) + (this.timeZone == null ? 43 : this.timeZone.hashCode()); + result = + (result * PRIME) + + (this.distributionAlgorithm == null + ? 43 + : this.distributionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode()); result = (result * PRIME) + (this.exadataInfrastructureId == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java index eba52316498..d74c285f217 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmCluster.java @@ -86,7 +86,9 @@ public final class CloudAutonomousVmCluster "systemTags", "subscriptionId", "multiCloudIdentityConnectorConfigs", - "tdeKeyStoreType" + "tdeKeyStoreType", + "distributionAlgorithm", + "sgaPercentage" }) public CloudAutonomousVmCluster( String id, @@ -151,7 +153,9 @@ public CloudAutonomousVmCluster( java.util.Map> systemTags, String subscriptionId, java.util.List multiCloudIdentityConnectorConfigs, - TdeKeyStoreType tdeKeyStoreType) { + TdeKeyStoreType tdeKeyStoreType, + DistributionAlgorithm distributionAlgorithm, + Float sgaPercentage) { super(); this.id = id; this.compartmentId = compartmentId; @@ -217,6 +221,8 @@ public CloudAutonomousVmCluster( this.subscriptionId = subscriptionId; this.multiCloudIdentityConnectorConfigs = multiCloudIdentityConnectorConfigs; this.tdeKeyStoreType = tdeKeyStoreType; + this.distributionAlgorithm = distributionAlgorithm; + this.sgaPercentage = sgaPercentage; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -1356,6 +1362,36 @@ public Builder tdeKeyStoreType(TdeKeyStoreType tdeKeyStoreType) { this.__explicitlySet__.add("tdeKeyStoreType"); return this; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @param distributionAlgorithm the value to set + * @return this builder + */ + public Builder distributionAlgorithm(DistributionAlgorithm distributionAlgorithm) { + this.distributionAlgorithm = distributionAlgorithm; + this.__explicitlySet__.add("distributionAlgorithm"); + return this; + } + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @param sgaPercentage the value to set + * @return this builder + */ + public Builder sgaPercentage(Float sgaPercentage) { + this.sgaPercentage = sgaPercentage; + this.__explicitlySet__.add("sgaPercentage"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -1425,7 +1461,9 @@ public CloudAutonomousVmCluster build() { this.systemTags, this.subscriptionId, this.multiCloudIdentityConnectorConfigs, - this.tdeKeyStoreType); + this.tdeKeyStoreType, + this.distributionAlgorithm, + this.sgaPercentage); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -1630,6 +1668,12 @@ public Builder copy(CloudAutonomousVmCluster model) { if (model.wasPropertyExplicitlySet("tdeKeyStoreType")) { this.tdeKeyStoreType(model.getTdeKeyStoreType()); } + if (model.wasPropertyExplicitlySet("distributionAlgorithm")) { + this.distributionAlgorithm(model.getDistributionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("sgaPercentage")) { + this.sgaPercentage(model.getSgaPercentage()); + } return this; } } @@ -2842,6 +2886,78 @@ public TdeKeyStoreType getTdeKeyStoreType() { return tdeKeyStoreType; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + public enum DistributionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + ResourceOptimized("RESOURCE_OPTIMIZED"), + DistributionOptimized("DISTRIBUTION_OPTIMIZED"), + + /** + * 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(DistributionAlgorithm.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DistributionAlgorithm v : DistributionAlgorithm.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + DistributionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DistributionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'DistributionAlgorithm', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private final DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @return the value + */ + public DistributionAlgorithm getDistributionAlgorithm() { + return distributionAlgorithm; + } + + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private final Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @return the value + */ + public Float getSgaPercentage() { + return sgaPercentage; + } + @Override public String toString() { return this.toString(true); @@ -2938,6 +3054,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", multiCloudIdentityConnectorConfigs=") .append(String.valueOf(this.multiCloudIdentityConnectorConfigs)); sb.append(", tdeKeyStoreType=").append(String.valueOf(this.tdeKeyStoreType)); + sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); + sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage)); sb.append(")"); return sb.toString(); } @@ -3044,6 +3162,8 @@ public boolean equals(Object o) { this.multiCloudIdentityConnectorConfigs, other.multiCloudIdentityConnectorConfigs) && java.util.Objects.equals(this.tdeKeyStoreType, other.tdeKeyStoreType) + && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) + && java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage) && super.equals(other); } @@ -3258,6 +3378,14 @@ public int hashCode() { result = (result * PRIME) + (this.tdeKeyStoreType == null ? 43 : this.tdeKeyStoreType.hashCode()); + result = + (result * PRIME) + + (this.distributionAlgorithm == null + ? 43 + : this.distributionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java index 7080389cea9..5f4993c1612 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudAutonomousVmClusterSummary.java @@ -86,7 +86,9 @@ public final class CloudAutonomousVmClusterSummary "systemTags", "subscriptionId", "multiCloudIdentityConnectorConfigs", - "tdeKeyStoreType" + "tdeKeyStoreType", + "distributionAlgorithm", + "sgaPercentage" }) public CloudAutonomousVmClusterSummary( String id, @@ -151,7 +153,9 @@ public CloudAutonomousVmClusterSummary( java.util.Map> systemTags, String subscriptionId, java.util.List multiCloudIdentityConnectorConfigs, - TdeKeyStoreType tdeKeyStoreType) { + TdeKeyStoreType tdeKeyStoreType, + DistributionAlgorithm distributionAlgorithm, + Float sgaPercentage) { super(); this.id = id; this.compartmentId = compartmentId; @@ -217,6 +221,8 @@ public CloudAutonomousVmClusterSummary( this.subscriptionId = subscriptionId; this.multiCloudIdentityConnectorConfigs = multiCloudIdentityConnectorConfigs; this.tdeKeyStoreType = tdeKeyStoreType; + this.distributionAlgorithm = distributionAlgorithm; + this.sgaPercentage = sgaPercentage; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -1356,6 +1362,36 @@ public Builder tdeKeyStoreType(TdeKeyStoreType tdeKeyStoreType) { this.__explicitlySet__.add("tdeKeyStoreType"); return this; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @param distributionAlgorithm the value to set + * @return this builder + */ + public Builder distributionAlgorithm(DistributionAlgorithm distributionAlgorithm) { + this.distributionAlgorithm = distributionAlgorithm; + this.__explicitlySet__.add("distributionAlgorithm"); + return this; + } + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @param sgaPercentage the value to set + * @return this builder + */ + public Builder sgaPercentage(Float sgaPercentage) { + this.sgaPercentage = sgaPercentage; + this.__explicitlySet__.add("sgaPercentage"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -1425,7 +1461,9 @@ public CloudAutonomousVmClusterSummary build() { this.systemTags, this.subscriptionId, this.multiCloudIdentityConnectorConfigs, - this.tdeKeyStoreType); + this.tdeKeyStoreType, + this.distributionAlgorithm, + this.sgaPercentage); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -1630,6 +1668,12 @@ public Builder copy(CloudAutonomousVmClusterSummary model) { if (model.wasPropertyExplicitlySet("tdeKeyStoreType")) { this.tdeKeyStoreType(model.getTdeKeyStoreType()); } + if (model.wasPropertyExplicitlySet("distributionAlgorithm")) { + this.distributionAlgorithm(model.getDistributionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("sgaPercentage")) { + this.sgaPercentage(model.getSgaPercentage()); + } return this; } } @@ -2842,6 +2886,78 @@ public TdeKeyStoreType getTdeKeyStoreType() { return tdeKeyStoreType; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + public enum DistributionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + ResourceOptimized("RESOURCE_OPTIMIZED"), + DistributionOptimized("DISTRIBUTION_OPTIMIZED"), + + /** + * 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(DistributionAlgorithm.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DistributionAlgorithm v : DistributionAlgorithm.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + DistributionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DistributionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'DistributionAlgorithm', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private final DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @return the value + */ + public DistributionAlgorithm getDistributionAlgorithm() { + return distributionAlgorithm; + } + + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private final Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @return the value + */ + public Float getSgaPercentage() { + return sgaPercentage; + } + @Override public String toString() { return this.toString(true); @@ -2938,6 +3054,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", multiCloudIdentityConnectorConfigs=") .append(String.valueOf(this.multiCloudIdentityConnectorConfigs)); sb.append(", tdeKeyStoreType=").append(String.valueOf(this.tdeKeyStoreType)); + sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); + sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage)); sb.append(")"); return sb.toString(); } @@ -3044,6 +3162,8 @@ public boolean equals(Object o) { this.multiCloudIdentityConnectorConfigs, other.multiCloudIdentityConnectorConfigs) && java.util.Objects.equals(this.tdeKeyStoreType, other.tdeKeyStoreType) + && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) + && java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage) && super.equals(other); } @@ -3258,6 +3378,14 @@ public int hashCode() { result = (result * PRIME) + (this.tdeKeyStoreType == null ? 43 : this.tdeKeyStoreType.hashCode()); + result = + (result * PRIME) + + (this.distributionAlgorithm == null + ? 43 + : this.distributionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java index e8fabb46e81..e4c6aeb8482 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructure.java @@ -50,6 +50,7 @@ public final class CloudExadataInfrastructure "timeCreated", "lifecycleDetails", "maintenanceWindow", + "maintenanceVersionPreferences", "lastMaintenanceRunId", "nextMaintenanceRunId", "freeformTags", @@ -93,6 +94,7 @@ public CloudExadataInfrastructure( java.util.Date timeCreated, String lifecycleDetails, MaintenanceWindow maintenanceWindow, + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences, String lastMaintenanceRunId, String nextMaintenanceRunId, java.util.Map freeformTags, @@ -135,6 +137,7 @@ public CloudExadataInfrastructure( this.timeCreated = timeCreated; this.lifecycleDetails = lifecycleDetails; this.maintenanceWindow = maintenanceWindow; + this.maintenanceVersionPreferences = maintenanceVersionPreferences; this.lastMaintenanceRunId = lastMaintenanceRunId; this.nextMaintenanceRunId = nextMaintenanceRunId; this.freeformTags = freeformTags; @@ -560,6 +563,16 @@ public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.__explicitlySet__.add("maintenanceWindow"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public Builder maintenanceVersionPreferences( + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences) { + this.maintenanceVersionPreferences = maintenanceVersionPreferences; + this.__explicitlySet__.add("maintenanceVersionPreferences"); + return this; + } /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the * last maintenance run. @@ -892,6 +905,7 @@ public CloudExadataInfrastructure build() { this.timeCreated, this.lifecycleDetails, this.maintenanceWindow, + this.maintenanceVersionPreferences, this.lastMaintenanceRunId, this.nextMaintenanceRunId, this.freeformTags, @@ -991,6 +1005,9 @@ public Builder copy(CloudExadataInfrastructure model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceVersionPreferences")) { + this.maintenanceVersionPreferences(model.getMaintenanceVersionPreferences()); + } if (model.wasPropertyExplicitlySet("lastMaintenanceRunId")) { this.lastMaintenanceRunId(model.getLastMaintenanceRunId()); } @@ -1454,6 +1471,13 @@ public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private final MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public MaintenanceVersionPreferenceDetails getMaintenanceVersionPreferences() { + return maintenanceVersionPreferences; + } + /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last * maintenance run. @@ -1813,6 +1837,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceVersionPreferences=") + .append(String.valueOf(this.maintenanceVersionPreferences)); sb.append(", lastMaintenanceRunId=").append(String.valueOf(this.lastMaintenanceRunId)); sb.append(", nextMaintenanceRunId=").append(String.valueOf(this.nextMaintenanceRunId)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); @@ -1875,6 +1901,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceVersionPreferences, other.maintenanceVersionPreferences) && java.util.Objects.equals(this.lastMaintenanceRunId, other.lastMaintenanceRunId) && java.util.Objects.equals(this.nextMaintenanceRunId, other.nextMaintenanceRunId) && java.util.Objects.equals(this.freeformTags, other.freeformTags) @@ -1981,6 +2009,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceVersionPreferences == null + ? 43 + : this.maintenanceVersionPreferences.hashCode()); result = (result * PRIME) + (this.lastMaintenanceRunId == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java index e49eb00d695..4d3b47cb947 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CloudExadataInfrastructureSummary.java @@ -50,6 +50,7 @@ public final class CloudExadataInfrastructureSummary "timeCreated", "lifecycleDetails", "maintenanceWindow", + "maintenanceVersionPreferences", "lastMaintenanceRunId", "nextMaintenanceRunId", "freeformTags", @@ -93,6 +94,7 @@ public CloudExadataInfrastructureSummary( java.util.Date timeCreated, String lifecycleDetails, MaintenanceWindow maintenanceWindow, + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences, String lastMaintenanceRunId, String nextMaintenanceRunId, java.util.Map freeformTags, @@ -135,6 +137,7 @@ public CloudExadataInfrastructureSummary( this.timeCreated = timeCreated; this.lifecycleDetails = lifecycleDetails; this.maintenanceWindow = maintenanceWindow; + this.maintenanceVersionPreferences = maintenanceVersionPreferences; this.lastMaintenanceRunId = lastMaintenanceRunId; this.nextMaintenanceRunId = nextMaintenanceRunId; this.freeformTags = freeformTags; @@ -560,6 +563,16 @@ public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.__explicitlySet__.add("maintenanceWindow"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public Builder maintenanceVersionPreferences( + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences) { + this.maintenanceVersionPreferences = maintenanceVersionPreferences; + this.__explicitlySet__.add("maintenanceVersionPreferences"); + return this; + } /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the * last maintenance run. @@ -892,6 +905,7 @@ public CloudExadataInfrastructureSummary build() { this.timeCreated, this.lifecycleDetails, this.maintenanceWindow, + this.maintenanceVersionPreferences, this.lastMaintenanceRunId, this.nextMaintenanceRunId, this.freeformTags, @@ -991,6 +1005,9 @@ public Builder copy(CloudExadataInfrastructureSummary model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceVersionPreferences")) { + this.maintenanceVersionPreferences(model.getMaintenanceVersionPreferences()); + } if (model.wasPropertyExplicitlySet("lastMaintenanceRunId")) { this.lastMaintenanceRunId(model.getLastMaintenanceRunId()); } @@ -1454,6 +1471,13 @@ public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private final MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public MaintenanceVersionPreferenceDetails getMaintenanceVersionPreferences() { + return maintenanceVersionPreferences; + } + /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last * maintenance run. @@ -1813,6 +1837,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceVersionPreferences=") + .append(String.valueOf(this.maintenanceVersionPreferences)); sb.append(", lastMaintenanceRunId=").append(String.valueOf(this.lastMaintenanceRunId)); sb.append(", nextMaintenanceRunId=").append(String.valueOf(this.nextMaintenanceRunId)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); @@ -1875,6 +1901,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceVersionPreferences, other.maintenanceVersionPreferences) && java.util.Objects.equals(this.lastMaintenanceRunId, other.lastMaintenanceRunId) && java.util.Objects.equals(this.nextMaintenanceRunId, other.nextMaintenanceRunId) && java.util.Objects.equals(this.freeformTags, other.freeformTags) @@ -1981,6 +2009,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceVersionPreferences == null + ? 43 + : this.maintenanceVersionPreferences.hashCode()); result = (result * PRIME) + (this.lastMaintenanceRunId == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java index 65802cd8da1..54b80ec6fd1 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousContainerDatabaseBase.java @@ -879,14 +879,14 @@ public Integer getDbSplitThreshold() { /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, - * 25%, and 50%, with 50% being the default option. + * 25%, 50%, 75%, and 100%, with 50% being the default option. */ @com.fasterxml.jackson.annotation.JsonProperty("vmFailoverReservation") private final Integer vmFailoverReservation; /** * The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, - * 25%, and 50%, with 50% being the default option. + * 25%, 50%, 75%, and 100%, with 50% being the default option. * * @return the value */ @@ -954,6 +954,7 @@ public DistributionAffinity getDistributionAffinity() { public enum NetServicesArchitecture implements com.oracle.bmc.http.internal.BmcEnum { Dedicated("DEDICATED"), Shared("SHARED"), + Drcp("DRCP"), ; private final String value; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java index a382697c646..871b55a9a82 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java @@ -557,7 +557,8 @@ public Float getOcpuCount() { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -607,7 +608,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -625,7 +627,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousVmClusterDetails.java index b2cd40f4b1d..39445ecb615 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousVmClusterDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousVmClusterDetails.java @@ -42,7 +42,9 @@ public final class CreateAutonomousVmClusterDetails "definedTags", "scanListenerPortTls", "scanListenerPortNonTls", - "isMtlsEnabled" + "isMtlsEnabled", + "distributionAlgorithm", + "sgaPercentage" }) public CreateAutonomousVmClusterDetails( String compartmentId, @@ -63,7 +65,9 @@ public CreateAutonomousVmClusterDetails( java.util.Map> definedTags, Integer scanListenerPortTls, Integer scanListenerPortNonTls, - Boolean isMtlsEnabled) { + Boolean isMtlsEnabled, + DistributionAlgorithm distributionAlgorithm, + Float sgaPercentage) { super(); this.compartmentId = compartmentId; this.displayName = displayName; @@ -84,6 +88,8 @@ public CreateAutonomousVmClusterDetails( this.scanListenerPortTls = scanListenerPortTls; this.scanListenerPortNonTls = scanListenerPortNonTls; this.isMtlsEnabled = isMtlsEnabled; + this.distributionAlgorithm = distributionAlgorithm; + this.sgaPercentage = sgaPercentage; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -428,6 +434,36 @@ public Builder isMtlsEnabled(Boolean isMtlsEnabled) { this.__explicitlySet__.add("isMtlsEnabled"); return this; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @param distributionAlgorithm the value to set + * @return this builder + */ + public Builder distributionAlgorithm(DistributionAlgorithm distributionAlgorithm) { + this.distributionAlgorithm = distributionAlgorithm; + this.__explicitlySet__.add("distributionAlgorithm"); + return this; + } + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @param sgaPercentage the value to set + * @return this builder + */ + public Builder sgaPercentage(Float sgaPercentage) { + this.sgaPercentage = sgaPercentage; + this.__explicitlySet__.add("sgaPercentage"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -453,7 +489,9 @@ public CreateAutonomousVmClusterDetails build() { this.definedTags, this.scanListenerPortTls, this.scanListenerPortNonTls, - this.isMtlsEnabled); + this.isMtlsEnabled, + this.distributionAlgorithm, + this.sgaPercentage); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -519,6 +557,12 @@ public Builder copy(CreateAutonomousVmClusterDetails model) { if (model.wasPropertyExplicitlySet("isMtlsEnabled")) { this.isMtlsEnabled(model.getIsMtlsEnabled()); } + if (model.wasPropertyExplicitlySet("distributionAlgorithm")) { + this.distributionAlgorithm(model.getDistributionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("sgaPercentage")) { + this.sgaPercentage(model.getSgaPercentage()); + } return this; } } @@ -901,6 +945,65 @@ public Boolean getIsMtlsEnabled() { return isMtlsEnabled; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + public enum DistributionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + ResourceOptimized("RESOURCE_OPTIMIZED"), + DistributionOptimized("DISTRIBUTION_OPTIMIZED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DistributionAlgorithm v : DistributionAlgorithm.values()) { + map.put(v.getValue(), v); + } + } + + DistributionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DistributionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DistributionAlgorithm: " + key); + } + }; + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private final DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @return the value + */ + public DistributionAlgorithm getDistributionAlgorithm() { + return distributionAlgorithm; + } + + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private final Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @return the value + */ + public Float getSgaPercentage() { + return sgaPercentage; + } + @Override public String toString() { return this.toString(true); @@ -940,6 +1043,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", scanListenerPortTls=").append(String.valueOf(this.scanListenerPortTls)); sb.append(", scanListenerPortNonTls=").append(String.valueOf(this.scanListenerPortNonTls)); sb.append(", isMtlsEnabled=").append(String.valueOf(this.isMtlsEnabled)); + sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); + sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage)); sb.append(")"); return sb.toString(); } @@ -979,6 +1084,8 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.scanListenerPortNonTls, other.scanListenerPortNonTls) && java.util.Objects.equals(this.isMtlsEnabled, other.isMtlsEnabled) + && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) + && java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage) && super.equals(other); } @@ -1049,6 +1156,14 @@ public int hashCode() { result = (result * PRIME) + (this.isMtlsEnabled == null ? 43 : this.isMtlsEnabled.hashCode()); + result = + (result * PRIME) + + (this.distributionAlgorithm == null + ? 43 + : this.distributionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudAutonomousVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudAutonomousVmClusterDetails.java index 9c01127c8d2..73c3649d37c 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudAutonomousVmClusterDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudAutonomousVmClusterDetails.java @@ -36,6 +36,8 @@ public final class CreateCloudAutonomousVmClusterDetails "clusterTimeZone", "computeModel", "isMtlsEnabledVmCluster", + "distributionAlgorithm", + "sgaPercentage", "dbServers", "maintenanceWindowDetails", "scanListenerPortTls", @@ -60,6 +62,8 @@ public CreateCloudAutonomousVmClusterDetails( String clusterTimeZone, ComputeModel computeModel, Boolean isMtlsEnabledVmCluster, + DistributionAlgorithm distributionAlgorithm, + Float sgaPercentage, java.util.List dbServers, MaintenanceWindow maintenanceWindowDetails, Integer scanListenerPortTls, @@ -83,6 +87,8 @@ public CreateCloudAutonomousVmClusterDetails( this.clusterTimeZone = clusterTimeZone; this.computeModel = computeModel; this.isMtlsEnabledVmCluster = isMtlsEnabledVmCluster; + this.distributionAlgorithm = distributionAlgorithm; + this.sgaPercentage = sgaPercentage; this.dbServers = dbServers; this.maintenanceWindowDetails = maintenanceWindowDetails; this.scanListenerPortTls = scanListenerPortTls; @@ -305,6 +311,36 @@ public Builder isMtlsEnabledVmCluster(Boolean isMtlsEnabledVmCluster) { this.__explicitlySet__.add("isMtlsEnabledVmCluster"); return this; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @param distributionAlgorithm the value to set + * @return this builder + */ + public Builder distributionAlgorithm(DistributionAlgorithm distributionAlgorithm) { + this.distributionAlgorithm = distributionAlgorithm; + this.__explicitlySet__.add("distributionAlgorithm"); + return this; + } + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @param sgaPercentage the value to set + * @return this builder + */ + public Builder sgaPercentage(Float sgaPercentage) { + this.sgaPercentage = sgaPercentage; + this.__explicitlySet__.add("sgaPercentage"); + return this; + } /** The list of database servers. */ @com.fasterxml.jackson.annotation.JsonProperty("dbServers") private java.util.List dbServers; @@ -546,6 +582,8 @@ public CreateCloudAutonomousVmClusterDetails build() { this.clusterTimeZone, this.computeModel, this.isMtlsEnabledVmCluster, + this.distributionAlgorithm, + this.sgaPercentage, this.dbServers, this.maintenanceWindowDetails, this.scanListenerPortTls, @@ -600,6 +638,12 @@ public Builder copy(CreateCloudAutonomousVmClusterDetails model) { if (model.wasPropertyExplicitlySet("isMtlsEnabledVmCluster")) { this.isMtlsEnabledVmCluster(model.getIsMtlsEnabledVmCluster()); } + if (model.wasPropertyExplicitlySet("distributionAlgorithm")) { + this.distributionAlgorithm(model.getDistributionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("sgaPercentage")) { + this.sgaPercentage(model.getSgaPercentage()); + } if (model.wasPropertyExplicitlySet("dbServers")) { this.dbServers(model.getDbServers()); } @@ -863,6 +907,65 @@ public Boolean getIsMtlsEnabledVmCluster() { return isMtlsEnabledVmCluster; } + /** The distribution algorithm used for the Autonomous VM cluster. */ + public enum DistributionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + ResourceOptimized("RESOURCE_OPTIMIZED"), + DistributionOptimized("DISTRIBUTION_OPTIMIZED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DistributionAlgorithm v : DistributionAlgorithm.values()) { + map.put(v.getValue(), v); + } + } + + DistributionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DistributionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DistributionAlgorithm: " + key); + } + }; + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private final DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @return the value + */ + public DistributionAlgorithm getDistributionAlgorithm() { + return distributionAlgorithm; + } + + /** Percentage of ECPU memory allocated for SGA(System Global Area). */ + @com.fasterxml.jackson.annotation.JsonProperty("sgaPercentage") + private final Float sgaPercentage; + + /** + * Percentage of ECPU memory allocated for SGA(System Global Area). + * + * @return the value + */ + public Float getSgaPercentage() { + return sgaPercentage; + } + /** The list of database servers. */ @com.fasterxml.jackson.annotation.JsonProperty("dbServers") private final java.util.List dbServers; @@ -1140,6 +1243,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", clusterTimeZone=").append(String.valueOf(this.clusterTimeZone)); sb.append(", computeModel=").append(String.valueOf(this.computeModel)); sb.append(", isMtlsEnabledVmCluster=").append(String.valueOf(this.isMtlsEnabledVmCluster)); + sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); + sb.append(", sgaPercentage=").append(String.valueOf(this.sgaPercentage)); sb.append(", dbServers=").append(String.valueOf(this.dbServers)); sb.append(", maintenanceWindowDetails=") .append(String.valueOf(this.maintenanceWindowDetails)); @@ -1182,6 +1287,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.computeModel, other.computeModel) && java.util.Objects.equals( this.isMtlsEnabledVmCluster, other.isMtlsEnabledVmCluster) + && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) + && java.util.Objects.equals(this.sgaPercentage, other.sgaPercentage) && java.util.Objects.equals(this.dbServers, other.dbServers) && java.util.Objects.equals( this.maintenanceWindowDetails, other.maintenanceWindowDetails) @@ -1241,6 +1348,14 @@ public int hashCode() { + (this.isMtlsEnabledVmCluster == null ? 43 : this.isMtlsEnabledVmCluster.hashCode()); + result = + (result * PRIME) + + (this.distributionAlgorithm == null + ? 43 + : this.distributionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.sgaPercentage == null ? 43 : this.sgaPercentage.hashCode()); result = (result * PRIME) + (this.dbServers == null ? 43 : this.dbServers.hashCode()); result = (result * PRIME) diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java index 174f9e39b86..4c05f1dd2f7 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCloudExadataInfrastructureDetails.java @@ -32,6 +32,7 @@ public final class CreateCloudExadataInfrastructureDetails "computeCount", "storageCount", "maintenanceWindow", + "maintenanceVersionPreferences", "freeformTags", "definedTags", "clusterPlacementGroupId", @@ -48,6 +49,7 @@ public CreateCloudExadataInfrastructureDetails( Integer computeCount, Integer storageCount, MaintenanceWindow maintenanceWindow, + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences, java.util.Map freeformTags, java.util.Map> definedTags, String clusterPlacementGroupId, @@ -63,6 +65,7 @@ public CreateCloudExadataInfrastructureDetails( this.computeCount = computeCount; this.storageCount = storageCount; this.maintenanceWindow = maintenanceWindow; + this.maintenanceVersionPreferences = maintenanceVersionPreferences; this.freeformTags = freeformTags; this.definedTags = definedTags; this.clusterPlacementGroupId = clusterPlacementGroupId; @@ -181,6 +184,16 @@ public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.__explicitlySet__.add("maintenanceWindow"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public Builder maintenanceVersionPreferences( + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences) { + this.maintenanceVersionPreferences = maintenanceVersionPreferences; + this.__explicitlySet__.add("maintenanceVersionPreferences"); + return this; + } /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined * name, type, or namespace. For more information, see [Resource @@ -325,6 +338,7 @@ public CreateCloudExadataInfrastructureDetails build() { this.computeCount, this.storageCount, this.maintenanceWindow, + this.maintenanceVersionPreferences, this.freeformTags, this.definedTags, this.clusterPlacementGroupId, @@ -361,6 +375,9 @@ public Builder copy(CreateCloudExadataInfrastructureDetails model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceVersionPreferences")) { + this.maintenanceVersionPreferences(model.getMaintenanceVersionPreferences()); + } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } @@ -488,6 +505,13 @@ public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private final MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public MaintenanceVersionPreferenceDetails getMaintenanceVersionPreferences() { + return maintenanceVersionPreferences; + } + /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined * name, type, or namespace. For more information, see [Resource @@ -625,6 +649,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", computeCount=").append(String.valueOf(this.computeCount)); sb.append(", storageCount=").append(String.valueOf(this.storageCount)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceVersionPreferences=") + .append(String.valueOf(this.maintenanceVersionPreferences)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", clusterPlacementGroupId=") @@ -654,6 +680,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.computeCount, other.computeCount) && java.util.Objects.equals(this.storageCount, other.storageCount) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceVersionPreferences, other.maintenanceVersionPreferences) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals( @@ -684,6 +712,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceVersionPreferences == null + ? 43 + : this.maintenanceVersionPreferences.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExadataInfrastructureDetails.java index 1fc1c6cf4ae..85ef17fad16 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExadataInfrastructureDetails.java @@ -41,6 +41,7 @@ public final class CreateExadataInfrastructureDetails "corporateProxy", "contacts", "maintenanceWindow", + "maintenanceVersionPreferences", "storageCount", "computeCount", "isMultiRackDeployment", @@ -68,6 +69,7 @@ public CreateExadataInfrastructureDetails( String corporateProxy, java.util.List contacts, MaintenanceWindow maintenanceWindow, + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences, Integer storageCount, Integer computeCount, Boolean isMultiRackDeployment, @@ -94,6 +96,7 @@ public CreateExadataInfrastructureDetails( this.corporateProxy = corporateProxy; this.contacts = contacts; this.maintenanceWindow = maintenanceWindow; + this.maintenanceVersionPreferences = maintenanceVersionPreferences; this.storageCount = storageCount; this.computeCount = computeCount; this.isMultiRackDeployment = isMultiRackDeployment; @@ -319,6 +322,16 @@ public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.__explicitlySet__.add("maintenanceWindow"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public Builder maintenanceVersionPreferences( + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences) { + this.maintenanceVersionPreferences = maintenanceVersionPreferences; + this.__explicitlySet__.add("maintenanceVersionPreferences"); + return this; + } /** The number of storage servers for the Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("storageCount") private Integer storageCount; @@ -543,6 +556,7 @@ public CreateExadataInfrastructureDetails build() { this.corporateProxy, this.contacts, this.maintenanceWindow, + this.maintenanceVersionPreferences, this.storageCount, this.computeCount, this.isMultiRackDeployment, @@ -602,6 +616,9 @@ public Builder copy(CreateExadataInfrastructureDetails model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceVersionPreferences")) { + this.maintenanceVersionPreferences(model.getMaintenanceVersionPreferences()); + } if (model.wasPropertyExplicitlySet("storageCount")) { this.storageCount(model.getStorageCount()); } @@ -832,6 +849,13 @@ public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private final MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public MaintenanceVersionPreferenceDetails getMaintenanceVersionPreferences() { + return maintenanceVersionPreferences; + } + /** The number of storage servers for the Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("storageCount") private final Integer storageCount; @@ -1040,6 +1064,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", corporateProxy=").append(String.valueOf(this.corporateProxy)); sb.append(", contacts=").append(String.valueOf(this.contacts)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceVersionPreferences=") + .append(String.valueOf(this.maintenanceVersionPreferences)); sb.append(", storageCount=").append(String.valueOf(this.storageCount)); sb.append(", computeCount=").append(String.valueOf(this.computeCount)); sb.append(", isMultiRackDeployment=").append(String.valueOf(this.isMultiRackDeployment)); @@ -1092,6 +1118,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.corporateProxy, other.corporateProxy) && java.util.Objects.equals(this.contacts, other.contacts) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceVersionPreferences, other.maintenanceVersionPreferences) && java.util.Objects.equals(this.storageCount, other.storageCount) && java.util.Objects.equals(this.computeCount, other.computeCount) && java.util.Objects.equals(this.isMultiRackDeployment, other.isMultiRackDeployment) @@ -1147,6 +1175,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceVersionPreferences == null + ? 43 + : this.maintenanceVersionPreferences.hashCode()); result = (result * PRIME) + (this.storageCount == null ? 43 : this.storageCount.hashCode()); result = (result * PRIME) + (this.computeCount == null ? 43 : this.computeCount.hashCode()); result = diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExecutionActionDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExecutionActionDetails.java index 67d84094ca2..543c1947a0a 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExecutionActionDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateExecutionActionDetails.java @@ -281,6 +281,7 @@ public enum ActionType implements com.oracle.bmc.http.internal.BmcEnum { DbServerFullSoftwareUpdate("DB_SERVER_FULL_SOFTWARE_UPDATE"), StorageServerFullSoftwareUpdate("STORAGE_SERVER_FULL_SOFTWARE_UPDATE"), NetworkSwitchFullSoftwareUpdate("NETWORK_SWITCH_FULL_SOFTWARE_UPDATE"), + DbServerOnlineSoftwareUpdate("DB_SERVER_ONLINE_SOFTWARE_UPDATE"), ; private final String value; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateScheduledActionDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateScheduledActionDetails.java index a28db833b68..e6f39c4f513 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateScheduledActionDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateScheduledActionDetails.java @@ -276,6 +276,7 @@ public enum ActionType implements com.oracle.bmc.http.internal.BmcEnum { FsuVmClusterOsSoftwareUpdate("FSU_VM_CLUSTER_OS_SOFTWARE_UPDATE"), FsuVmClusterGiSoftwareUpdate("FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE"), FsuVmClusterGiOsSoftwareUpdate("FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE"), + DbServerOnlineSoftwareUpdate("DB_SERVER_ONLINE_SOFTWARE_UPDATE"), ; private final String value; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateSchedulingPlanDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateSchedulingPlanDetails.java index 1b336995add..fe8e0030533 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateSchedulingPlanDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateSchedulingPlanDetails.java @@ -30,7 +30,8 @@ public final class CreateSchedulingPlanDetails "serviceType", "isUsingRecommendedScheduledActions", "freeformTags", - "definedTags" + "definedTags", + "planIntent" }) public CreateSchedulingPlanDetails( String compartmentId, @@ -39,7 +40,8 @@ public CreateSchedulingPlanDetails( ServiceType serviceType, Boolean isUsingRecommendedScheduledActions, java.util.Map freeformTags, - java.util.Map> definedTags) { + java.util.Map> definedTags, + PlanIntent planIntent) { super(); this.compartmentId = compartmentId; this.schedulingPolicyId = schedulingPolicyId; @@ -48,6 +50,7 @@ public CreateSchedulingPlanDetails( this.isUsingRecommendedScheduledActions = isUsingRecommendedScheduledActions; this.freeformTags = freeformTags; this.definedTags = definedTags; + this.planIntent = planIntent; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -187,6 +190,25 @@ public Builder definedTags( this.__explicitlySet__.add("definedTags"); return this; } + /** + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. + */ + @com.fasterxml.jackson.annotation.JsonProperty("planIntent") + private PlanIntent planIntent; + + /** + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. + * + * @param planIntent the value to set + * @return this builder + */ + public Builder planIntent(PlanIntent planIntent) { + this.planIntent = planIntent; + this.__explicitlySet__.add("planIntent"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -200,7 +222,8 @@ public CreateSchedulingPlanDetails build() { this.serviceType, this.isUsingRecommendedScheduledActions, this.freeformTags, - this.definedTags); + this.definedTags, + this.planIntent); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -231,6 +254,9 @@ public Builder copy(CreateSchedulingPlanDetails model) { if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } + if (model.wasPropertyExplicitlySet("planIntent")) { + this.planIntent(model.getPlanIntent()); + } return this; } } @@ -397,6 +423,59 @@ public java.util.Map> getDefinedTags() { return definedTags; } + /** + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. + */ + public enum PlanIntent implements com.oracle.bmc.http.internal.BmcEnum { + ExadataInfrastructureFullSoftwareUpdate("EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE"), + ExadataInfrastructureSecurityUpdate("EXADATA_INFRASTRUCTURE_SECURITY_UPDATE"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PlanIntent v : PlanIntent.values()) { + map.put(v.getValue(), v); + } + } + + PlanIntent(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PlanIntent create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid PlanIntent: " + key); + } + }; + /** + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. + */ + @com.fasterxml.jackson.annotation.JsonProperty("planIntent") + private final PlanIntent planIntent; + + /** + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. + * + * @return the value + */ + public PlanIntent getPlanIntent() { + return planIntent; + } + @Override public String toString() { return this.toString(true); @@ -420,6 +499,7 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.isUsingRecommendedScheduledActions)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", planIntent=").append(String.valueOf(this.planIntent)); sb.append(")"); return sb.toString(); } @@ -443,6 +523,7 @@ public boolean equals(Object o) { other.isUsingRecommendedScheduledActions) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.planIntent, other.planIntent) && super.equals(other); } @@ -467,6 +548,7 @@ public int hashCode() { : this.isUsingRecommendedScheduledActions.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.planIntent == null ? 43 : this.planIntent.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/DefinedFileSystemConfiguration.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/DefinedFileSystemConfiguration.java index 6e076309ad1..0104c7a0e04 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/DefinedFileSystemConfiguration.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/DefinedFileSystemConfiguration.java @@ -26,14 +26,20 @@ public final class DefinedFileSystemConfiguration @java.beans.ConstructorProperties({ "mountPoint", "minSizeGb", + "maxSizeGb", "isResizable", "isBackupPartition" }) public DefinedFileSystemConfiguration( - String mountPoint, Integer minSizeGb, Boolean isResizable, Boolean isBackupPartition) { + String mountPoint, + Integer minSizeGb, + Integer maxSizeGb, + Boolean isResizable, + Boolean isBackupPartition) { super(); this.mountPoint = mountPoint; this.minSizeGb = minSizeGb; + this.maxSizeGb = maxSizeGb; this.isResizable = isResizable; this.isBackupPartition = isBackupPartition; } @@ -70,6 +76,21 @@ public Builder minSizeGb(Integer minSizeGb) { this.__explicitlySet__.add("minSizeGb"); return this; } + /** The maximum size of file system. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxSizeGb") + private Integer maxSizeGb; + + /** + * The maximum size of file system. + * + * @param maxSizeGb the value to set + * @return this builder + */ + public Builder maxSizeGb(Integer maxSizeGb) { + this.maxSizeGb = maxSizeGb; + this.__explicitlySet__.add("maxSizeGb"); + return this; + } /** * If true, the file system resize is allowed for the Exadata Infrastructure cluster. If * false, the file system resize is not allowed. @@ -113,6 +134,7 @@ public DefinedFileSystemConfiguration build() { new DefinedFileSystemConfiguration( this.mountPoint, this.minSizeGb, + this.maxSizeGb, this.isResizable, this.isBackupPartition); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -129,6 +151,9 @@ public Builder copy(DefinedFileSystemConfiguration model) { if (model.wasPropertyExplicitlySet("minSizeGb")) { this.minSizeGb(model.getMinSizeGb()); } + if (model.wasPropertyExplicitlySet("maxSizeGb")) { + this.maxSizeGb(model.getMaxSizeGb()); + } if (model.wasPropertyExplicitlySet("isResizable")) { this.isResizable(model.getIsResizable()); } @@ -174,6 +199,19 @@ public Integer getMinSizeGb() { return minSizeGb; } + /** The maximum size of file system. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxSizeGb") + private final Integer maxSizeGb; + + /** + * The maximum size of file system. + * + * @return the value + */ + public Integer getMaxSizeGb() { + return maxSizeGb; + } + /** * If true, the file system resize is allowed for the Exadata Infrastructure cluster. If false, * the file system resize is not allowed. @@ -221,6 +259,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("mountPoint=").append(String.valueOf(this.mountPoint)); sb.append(", minSizeGb=").append(String.valueOf(this.minSizeGb)); + sb.append(", maxSizeGb=").append(String.valueOf(this.maxSizeGb)); sb.append(", isResizable=").append(String.valueOf(this.isResizable)); sb.append(", isBackupPartition=").append(String.valueOf(this.isBackupPartition)); sb.append(")"); @@ -239,6 +278,7 @@ public boolean equals(Object o) { DefinedFileSystemConfiguration other = (DefinedFileSystemConfiguration) o; return java.util.Objects.equals(this.mountPoint, other.mountPoint) && java.util.Objects.equals(this.minSizeGb, other.minSizeGb) + && java.util.Objects.equals(this.maxSizeGb, other.maxSizeGb) && java.util.Objects.equals(this.isResizable, other.isResizable) && java.util.Objects.equals(this.isBackupPartition, other.isBackupPartition) && super.equals(other); @@ -250,6 +290,7 @@ public int hashCode() { int result = 1; result = (result * PRIME) + (this.mountPoint == null ? 43 : this.mountPoint.hashCode()); result = (result * PRIME) + (this.minSizeGb == null ? 43 : this.minSizeGb.hashCode()); + result = (result * PRIME) + (this.maxSizeGb == null ? 43 : this.maxSizeGb.hashCode()); result = (result * PRIME) + (this.isResizable == null ? 43 : this.isResizable.hashCode()); result = (result * PRIME) diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructure.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructure.java index 811d0b48d3d..5a7772548c9 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructure.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructure.java @@ -62,6 +62,7 @@ public final class ExadataInfrastructure "contacts", "maintenanceSLOStatus", "maintenanceWindow", + "maintenanceVersionPreferences", "storageServerVersion", "dbServerVersion", "monthlyDbServerVersion", @@ -119,6 +120,7 @@ public ExadataInfrastructure( java.util.List contacts, MaintenanceSLOStatus maintenanceSLOStatus, MaintenanceWindow maintenanceWindow, + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences, String storageServerVersion, String dbServerVersion, String monthlyDbServerVersion, @@ -175,6 +177,7 @@ public ExadataInfrastructure( this.contacts = contacts; this.maintenanceSLOStatus = maintenanceSLOStatus; this.maintenanceWindow = maintenanceWindow; + this.maintenanceVersionPreferences = maintenanceVersionPreferences; this.storageServerVersion = storageServerVersion; this.dbServerVersion = dbServerVersion; this.monthlyDbServerVersion = monthlyDbServerVersion; @@ -799,6 +802,16 @@ public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.__explicitlySet__.add("maintenanceWindow"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public Builder maintenanceVersionPreferences( + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences) { + this.maintenanceVersionPreferences = maintenanceVersionPreferences; + this.__explicitlySet__.add("maintenanceVersionPreferences"); + return this; + } /** The software version of the storage servers (cells) in the Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("storageServerVersion") private String storageServerVersion; @@ -1144,6 +1157,7 @@ public ExadataInfrastructure build() { this.contacts, this.maintenanceSLOStatus, this.maintenanceWindow, + this.maintenanceVersionPreferences, this.storageServerVersion, this.dbServerVersion, this.monthlyDbServerVersion, @@ -1283,6 +1297,9 @@ public Builder copy(ExadataInfrastructure model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceVersionPreferences")) { + this.maintenanceVersionPreferences(model.getMaintenanceVersionPreferences()); + } if (model.wasPropertyExplicitlySet("storageServerVersion")) { this.storageServerVersion(model.getStorageServerVersion()); } @@ -2032,6 +2049,13 @@ public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private final MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public MaintenanceVersionPreferenceDetails getMaintenanceVersionPreferences() { + return maintenanceVersionPreferences; + } + /** The software version of the storage servers (cells) in the Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("storageServerVersion") private final String storageServerVersion; @@ -2409,6 +2433,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", contacts=").append(String.valueOf(this.contacts)); sb.append(", maintenanceSLOStatus=").append(String.valueOf(this.maintenanceSLOStatus)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceVersionPreferences=") + .append(String.valueOf(this.maintenanceVersionPreferences)); sb.append(", storageServerVersion=").append(String.valueOf(this.storageServerVersion)); sb.append(", dbServerVersion=").append(String.valueOf(this.dbServerVersion)); sb.append(", monthlyDbServerVersion=").append(String.valueOf(this.monthlyDbServerVersion)); @@ -2489,6 +2515,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.contacts, other.contacts) && java.util.Objects.equals(this.maintenanceSLOStatus, other.maintenanceSLOStatus) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceVersionPreferences, other.maintenanceVersionPreferences) && java.util.Objects.equals(this.storageServerVersion, other.storageServerVersion) && java.util.Objects.equals(this.dbServerVersion, other.dbServerVersion) && java.util.Objects.equals( @@ -2626,6 +2654,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceVersionPreferences == null + ? 43 + : this.maintenanceVersionPreferences.hashCode()); result = (result * PRIME) + (this.storageServerVersion == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureSummary.java index 30d9b52979f..32d352b7c7d 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureSummary.java @@ -65,6 +65,7 @@ public final class ExadataInfrastructureSummary "contacts", "maintenanceSLOStatus", "maintenanceWindow", + "maintenanceVersionPreferences", "storageServerVersion", "dbServerVersion", "monthlyDbServerVersion", @@ -122,6 +123,7 @@ public ExadataInfrastructureSummary( java.util.List contacts, MaintenanceSLOStatus maintenanceSLOStatus, MaintenanceWindow maintenanceWindow, + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences, String storageServerVersion, String dbServerVersion, String monthlyDbServerVersion, @@ -178,6 +180,7 @@ public ExadataInfrastructureSummary( this.contacts = contacts; this.maintenanceSLOStatus = maintenanceSLOStatus; this.maintenanceWindow = maintenanceWindow; + this.maintenanceVersionPreferences = maintenanceVersionPreferences; this.storageServerVersion = storageServerVersion; this.dbServerVersion = dbServerVersion; this.monthlyDbServerVersion = monthlyDbServerVersion; @@ -802,6 +805,16 @@ public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.__explicitlySet__.add("maintenanceWindow"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public Builder maintenanceVersionPreferences( + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences) { + this.maintenanceVersionPreferences = maintenanceVersionPreferences; + this.__explicitlySet__.add("maintenanceVersionPreferences"); + return this; + } /** The software version of the storage servers (cells) in the Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("storageServerVersion") private String storageServerVersion; @@ -1147,6 +1160,7 @@ public ExadataInfrastructureSummary build() { this.contacts, this.maintenanceSLOStatus, this.maintenanceWindow, + this.maintenanceVersionPreferences, this.storageServerVersion, this.dbServerVersion, this.monthlyDbServerVersion, @@ -1286,6 +1300,9 @@ public Builder copy(ExadataInfrastructureSummary model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceVersionPreferences")) { + this.maintenanceVersionPreferences(model.getMaintenanceVersionPreferences()); + } if (model.wasPropertyExplicitlySet("storageServerVersion")) { this.storageServerVersion(model.getStorageServerVersion()); } @@ -2035,6 +2052,13 @@ public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private final MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public MaintenanceVersionPreferenceDetails getMaintenanceVersionPreferences() { + return maintenanceVersionPreferences; + } + /** The software version of the storage servers (cells) in the Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("storageServerVersion") private final String storageServerVersion; @@ -2412,6 +2436,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", contacts=").append(String.valueOf(this.contacts)); sb.append(", maintenanceSLOStatus=").append(String.valueOf(this.maintenanceSLOStatus)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceVersionPreferences=") + .append(String.valueOf(this.maintenanceVersionPreferences)); sb.append(", storageServerVersion=").append(String.valueOf(this.storageServerVersion)); sb.append(", dbServerVersion=").append(String.valueOf(this.dbServerVersion)); sb.append(", monthlyDbServerVersion=").append(String.valueOf(this.monthlyDbServerVersion)); @@ -2492,6 +2518,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.contacts, other.contacts) && java.util.Objects.equals(this.maintenanceSLOStatus, other.maintenanceSLOStatus) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceVersionPreferences, other.maintenanceVersionPreferences) && java.util.Objects.equals(this.storageServerVersion, other.storageServerVersion) && java.util.Objects.equals(this.dbServerVersion, other.dbServerVersion) && java.util.Objects.equals( @@ -2629,6 +2657,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceVersionPreferences == null + ? 43 + : this.maintenanceVersionPreferences.hashCode()); result = (result * PRIME) + (this.storageServerVersion == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureUnAllocatedResources.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureUnAllocatedResources.java index ef78d96a861..a5ce57b3278 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureUnAllocatedResources.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExadataInfrastructureUnAllocatedResources.java @@ -5,8 +5,8 @@ package com.oracle.bmc.database.model; /** - * Un allocated resources details of the Exadata Cloud@Customer infrastructure. Applies to Exadata - * Cloud@Customer instances only.
+ * Displays details of unallocated resources for the Exadata Cloud@Customer infrastructure. Applies + * to Exadata Cloud@Customer instances only.
* 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 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionAction.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionAction.java index 2ea1cb6d860..c3b1e5d5ec4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionAction.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionAction.java @@ -824,6 +824,7 @@ public enum ActionType implements com.oracle.bmc.http.internal.BmcEnum { DbServerFullSoftwareUpdate("DB_SERVER_FULL_SOFTWARE_UPDATE"), StorageServerFullSoftwareUpdate("STORAGE_SERVER_FULL_SOFTWARE_UPDATE"), NetworkSwitchFullSoftwareUpdate("NETWORK_SWITCH_FULL_SOFTWARE_UPDATE"), + DbServerOnlineSoftwareUpdate("DB_SERVER_ONLINE_SOFTWARE_UPDATE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionActionSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionActionSummary.java index 8b8a05ce5cd..663b799ad25 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionActionSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionActionSummary.java @@ -825,6 +825,7 @@ public enum ActionType implements com.oracle.bmc.http.internal.BmcEnum { DbServerFullSoftwareUpdate("DB_SERVER_FULL_SOFTWARE_UPDATE"), StorageServerFullSoftwareUpdate("STORAGE_SERVER_FULL_SOFTWARE_UPDATE"), NetworkSwitchFullSoftwareUpdate("NETWORK_SWITCH_FULL_SOFTWARE_UPDATE"), + DbServerOnlineSoftwareUpdate("DB_SERVER_ONLINE_SOFTWARE_UPDATE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionWindow.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionWindow.java index cf1a18346c3..2fb42f24a87 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionWindow.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionWindow.java @@ -44,7 +44,8 @@ public final class ExecutionWindow "windowType", "freeformTags", "definedTags", - "systemTags" + "systemTags", + "windowDetails" }) public ExecutionWindow( String id, @@ -68,7 +69,8 @@ public ExecutionWindow( WindowType windowType, java.util.Map freeformTags, java.util.Map> definedTags, - java.util.Map> systemTags) { + java.util.Map> systemTags, + String windowDetails) { super(); this.id = id; this.executionResourceId = executionResourceId; @@ -92,6 +94,7 @@ public ExecutionWindow( this.freeformTags = freeformTags; this.definedTags = definedTags; this.systemTags = systemTags; + this.windowDetails = windowDetails; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -481,6 +484,31 @@ public Builder systemTags(java.util.Map> s this.__explicitlySet__.add("systemTags"); return this; } + /** + * A message that gives a description of its creation. For example, if the window type is + * unplanned, the message must specify the window display name. If the window has been + * deferred from another window, the message should additionally reference the deferred + * window\u2019s display name and provide the justification for creating the unplanned + * window. + */ + @com.fasterxml.jackson.annotation.JsonProperty("windowDetails") + private String windowDetails; + + /** + * A message that gives a description of its creation. For example, if the window type is + * unplanned, the message must specify the window display name. If the window has been + * deferred from another window, the message should additionally reference the deferred + * window\u2019s display name and provide the justification for creating the unplanned + * window. + * + * @param windowDetails the value to set + * @return this builder + */ + public Builder windowDetails(String windowDetails) { + this.windowDetails = windowDetails; + this.__explicitlySet__.add("windowDetails"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -509,7 +537,8 @@ public ExecutionWindow build() { this.windowType, this.freeformTags, this.definedTags, - this.systemTags); + this.systemTags, + this.windowDetails); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -584,6 +613,9 @@ public Builder copy(ExecutionWindow model) { if (model.wasPropertyExplicitlySet("systemTags")) { this.systemTags(model.getSystemTags()); } + if (model.wasPropertyExplicitlySet("windowDetails")) { + this.windowDetails(model.getWindowDetails()); + } return this; } } @@ -1093,6 +1125,27 @@ public java.util.Map> getSystemTags() { return systemTags; } + /** + * A message that gives a description of its creation. For example, if the window type is + * unplanned, the message must specify the window display name. If the window has been deferred + * from another window, the message should additionally reference the deferred window\u2019s + * display name and provide the justification for creating the unplanned window. + */ + @com.fasterxml.jackson.annotation.JsonProperty("windowDetails") + private final String windowDetails; + + /** + * A message that gives a description of its creation. For example, if the window type is + * unplanned, the message must specify the window display name. If the window has been deferred + * from another window, the message should additionally reference the deferred window\u2019s + * display name and provide the justification for creating the unplanned window. + * + * @return the value + */ + public String getWindowDetails() { + return windowDetails; + } + @Override public String toString() { return this.toString(true); @@ -1131,6 +1184,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(", windowDetails=").append(String.valueOf(this.windowDetails)); sb.append(")"); return sb.toString(); } @@ -1168,6 +1222,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.windowDetails, other.windowDetails) && super.equals(other); } @@ -1231,6 +1286,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.windowDetails == null ? 43 : this.windowDetails.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionWindowSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionWindowSummary.java index e20a5cc905a..c77f40b78b3 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionWindowSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ExecutionWindowSummary.java @@ -45,7 +45,8 @@ public final class ExecutionWindowSummary "windowType", "freeformTags", "definedTags", - "systemTags" + "systemTags", + "windowDetails" }) public ExecutionWindowSummary( String id, @@ -69,7 +70,8 @@ public ExecutionWindowSummary( WindowType windowType, java.util.Map freeformTags, java.util.Map> definedTags, - java.util.Map> systemTags) { + java.util.Map> systemTags, + String windowDetails) { super(); this.id = id; this.executionResourceId = executionResourceId; @@ -93,6 +95,7 @@ public ExecutionWindowSummary( this.freeformTags = freeformTags; this.definedTags = definedTags; this.systemTags = systemTags; + this.windowDetails = windowDetails; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -482,6 +485,31 @@ public Builder systemTags(java.util.Map> s this.__explicitlySet__.add("systemTags"); return this; } + /** + * A message that gives a description of its creation. For example, if the window type is + * unplanned, the message must specify the window display name. If the window has been + * deferred from another window, the message should additionally reference the deferred + * window\u2019s display name and provide the justification for creating the unplanned + * window. + */ + @com.fasterxml.jackson.annotation.JsonProperty("windowDetails") + private String windowDetails; + + /** + * A message that gives a description of its creation. For example, if the window type is + * unplanned, the message must specify the window display name. If the window has been + * deferred from another window, the message should additionally reference the deferred + * window\u2019s display name and provide the justification for creating the unplanned + * window. + * + * @param windowDetails the value to set + * @return this builder + */ + public Builder windowDetails(String windowDetails) { + this.windowDetails = windowDetails; + this.__explicitlySet__.add("windowDetails"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -510,7 +538,8 @@ public ExecutionWindowSummary build() { this.windowType, this.freeformTags, this.definedTags, - this.systemTags); + this.systemTags, + this.windowDetails); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -585,6 +614,9 @@ public Builder copy(ExecutionWindowSummary model) { if (model.wasPropertyExplicitlySet("systemTags")) { this.systemTags(model.getSystemTags()); } + if (model.wasPropertyExplicitlySet("windowDetails")) { + this.windowDetails(model.getWindowDetails()); + } return this; } } @@ -1094,6 +1126,27 @@ public java.util.Map> getSystemTags() { return systemTags; } + /** + * A message that gives a description of its creation. For example, if the window type is + * unplanned, the message must specify the window display name. If the window has been deferred + * from another window, the message should additionally reference the deferred window\u2019s + * display name and provide the justification for creating the unplanned window. + */ + @com.fasterxml.jackson.annotation.JsonProperty("windowDetails") + private final String windowDetails; + + /** + * A message that gives a description of its creation. For example, if the window type is + * unplanned, the message must specify the window display name. If the window has been deferred + * from another window, the message should additionally reference the deferred window\u2019s + * display name and provide the justification for creating the unplanned window. + * + * @return the value + */ + public String getWindowDetails() { + return windowDetails; + } + @Override public String toString() { return this.toString(true); @@ -1132,6 +1185,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(", windowDetails=").append(String.valueOf(this.windowDetails)); sb.append(")"); return sb.toString(); } @@ -1169,6 +1223,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.windowDetails, other.windowDetails) && super.equals(other); } @@ -1232,6 +1287,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.windowDetails == null ? 43 : this.windowDetails.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java index 05467e2bd7b..5ca23d5a2d5 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRun.java @@ -56,7 +56,9 @@ public final class MaintenanceRun "systemTags", "isMaintenanceRunGranular", "totalTimeTakenInMins", - "databaseSoftwareImageId" + "referenceResourceIdForImageUpdates", + "databaseSoftwareImageId", + "windowTypeDescriptions" }) public MaintenanceRun( String id, @@ -92,7 +94,9 @@ public MaintenanceRun( java.util.Map> systemTags, Boolean isMaintenanceRunGranular, Integer totalTimeTakenInMins, - String databaseSoftwareImageId) { + String referenceResourceIdForImageUpdates, + String databaseSoftwareImageId, + java.util.List windowTypeDescriptions) { super(); this.id = id; this.compartmentId = compartmentId; @@ -127,7 +131,9 @@ public MaintenanceRun( this.systemTags = systemTags; this.isMaintenanceRunGranular = isMaintenanceRunGranular; this.totalTimeTakenInMins = totalTimeTakenInMins; + this.referenceResourceIdForImageUpdates = referenceResourceIdForImageUpdates; this.databaseSoftwareImageId = databaseSoftwareImageId; + this.windowTypeDescriptions = windowTypeDescriptions; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -680,6 +686,32 @@ public Builder totalTimeTakenInMins(Integer totalTimeTakenInMins) { this.__explicitlySet__.add("totalTimeTakenInMins"); return this; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. This + * field is set during maintenance run creation based on infrastructure's maintenance run + * version preferences. Currently this is only be supported for monthly maintenance runs + * created via scheduling plans. + */ + @com.fasterxml.jackson.annotation.JsonProperty("referenceResourceIdForImageUpdates") + private String referenceResourceIdForImageUpdates; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. This + * field is set during maintenance run creation based on infrastructure's maintenance run + * version preferences. Currently this is only be supported for monthly maintenance runs + * created via scheduling plans. + * + * @param referenceResourceIdForImageUpdates the value to set + * @return this builder + */ + public Builder referenceResourceIdForImageUpdates( + String referenceResourceIdForImageUpdates) { + this.referenceResourceIdForImageUpdates = referenceResourceIdForImageUpdates; + this.__explicitlySet__.add("referenceResourceIdForImageUpdates"); + return this; + } /** * The Autonomous AI Database Software Image * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) @@ -699,6 +731,26 @@ public Builder databaseSoftwareImageId(String databaseSoftwareImageId) { this.__explicitlySet__.add("databaseSoftwareImageId"); return this; } + /** + * A list of key-value pairs where the key will contain the window type and value contains + * all the windowDetails of that window type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("windowTypeDescriptions") + private java.util.List windowTypeDescriptions; + + /** + * A list of key-value pairs where the key will contain the window type and value contains + * all the windowDetails of that window type. + * + * @param windowTypeDescriptions the value to set + * @return this builder + */ + public Builder windowTypeDescriptions( + java.util.List windowTypeDescriptions) { + this.windowTypeDescriptions = windowTypeDescriptions; + this.__explicitlySet__.add("windowTypeDescriptions"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -739,7 +791,9 @@ public MaintenanceRun build() { this.systemTags, this.isMaintenanceRunGranular, this.totalTimeTakenInMins, - this.databaseSoftwareImageId); + this.referenceResourceIdForImageUpdates, + this.databaseSoftwareImageId, + this.windowTypeDescriptions); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -848,9 +902,16 @@ public Builder copy(MaintenanceRun model) { if (model.wasPropertyExplicitlySet("totalTimeTakenInMins")) { this.totalTimeTakenInMins(model.getTotalTimeTakenInMins()); } + if (model.wasPropertyExplicitlySet("referenceResourceIdForImageUpdates")) { + this.referenceResourceIdForImageUpdates( + model.getReferenceResourceIdForImageUpdates()); + } if (model.wasPropertyExplicitlySet("databaseSoftwareImageId")) { this.databaseSoftwareImageId(model.getDatabaseSoftwareImageId()); } + if (model.wasPropertyExplicitlySet("windowTypeDescriptions")) { + this.windowTypeDescriptions(model.getWindowTypeDescriptions()); + } return this; } } @@ -1656,6 +1717,29 @@ public Integer getTotalTimeTakenInMins() { return totalTimeTakenInMins; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. This field + * is set during maintenance run creation based on infrastructure's maintenance run version + * preferences. Currently this is only be supported for monthly maintenance runs created via + * scheduling plans. + */ + @com.fasterxml.jackson.annotation.JsonProperty("referenceResourceIdForImageUpdates") + private final String referenceResourceIdForImageUpdates; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. This field + * is set during maintenance run creation based on infrastructure's maintenance run version + * preferences. Currently this is only be supported for monthly maintenance runs created via + * scheduling plans. + * + * @return the value + */ + public String getReferenceResourceIdForImageUpdates() { + return referenceResourceIdForImageUpdates; + } + /** * The Autonomous AI Database Software Image * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) @@ -1673,6 +1757,23 @@ public String getDatabaseSoftwareImageId() { return databaseSoftwareImageId; } + /** + * A list of key-value pairs where the key will contain the window type and value contains all + * the windowDetails of that window type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("windowTypeDescriptions") + private final java.util.List windowTypeDescriptions; + + /** + * A list of key-value pairs where the key will contain the window type and value contains all + * the windowDetails of that window type. + * + * @return the value + */ + public java.util.List getWindowTypeDescriptions() { + return windowTypeDescriptions; + } + @Override public String toString() { return this.toString(true); @@ -1728,8 +1829,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", isMaintenanceRunGranular=") .append(String.valueOf(this.isMaintenanceRunGranular)); sb.append(", totalTimeTakenInMins=").append(String.valueOf(this.totalTimeTakenInMins)); + sb.append(", referenceResourceIdForImageUpdates=") + .append(String.valueOf(this.referenceResourceIdForImageUpdates)); sb.append(", databaseSoftwareImageId=") .append(String.valueOf(this.databaseSoftwareImageId)); + sb.append(", windowTypeDescriptions=").append(String.valueOf(this.windowTypeDescriptions)); sb.append(")"); return sb.toString(); } @@ -1787,8 +1891,13 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.isMaintenanceRunGranular, other.isMaintenanceRunGranular) && java.util.Objects.equals(this.totalTimeTakenInMins, other.totalTimeTakenInMins) + && java.util.Objects.equals( + this.referenceResourceIdForImageUpdates, + other.referenceResourceIdForImageUpdates) && java.util.Objects.equals( this.databaseSoftwareImageId, other.databaseSoftwareImageId) + && java.util.Objects.equals( + this.windowTypeDescriptions, other.windowTypeDescriptions) && super.equals(other); } @@ -1909,11 +2018,21 @@ public int hashCode() { + (this.totalTimeTakenInMins == null ? 43 : this.totalTimeTakenInMins.hashCode()); + result = + (result * PRIME) + + (this.referenceResourceIdForImageUpdates == null + ? 43 + : this.referenceResourceIdForImageUpdates.hashCode()); result = (result * PRIME) + (this.databaseSoftwareImageId == null ? 43 : this.databaseSoftwareImageId.hashCode()); + result = + (result * PRIME) + + (this.windowTypeDescriptions == null + ? 43 + : this.windowTypeDescriptions.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java index e1bcc84556e..234e8aa292e 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceRunSummary.java @@ -57,7 +57,9 @@ public final class MaintenanceRunSummary "systemTags", "isMaintenanceRunGranular", "totalTimeTakenInMins", - "databaseSoftwareImageId" + "referenceResourceIdForImageUpdates", + "databaseSoftwareImageId", + "windowTypeDescriptions" }) public MaintenanceRunSummary( String id, @@ -93,7 +95,9 @@ public MaintenanceRunSummary( java.util.Map> systemTags, Boolean isMaintenanceRunGranular, Integer totalTimeTakenInMins, - String databaseSoftwareImageId) { + String referenceResourceIdForImageUpdates, + String databaseSoftwareImageId, + java.util.List windowTypeDescriptions) { super(); this.id = id; this.compartmentId = compartmentId; @@ -128,7 +132,9 @@ public MaintenanceRunSummary( this.systemTags = systemTags; this.isMaintenanceRunGranular = isMaintenanceRunGranular; this.totalTimeTakenInMins = totalTimeTakenInMins; + this.referenceResourceIdForImageUpdates = referenceResourceIdForImageUpdates; this.databaseSoftwareImageId = databaseSoftwareImageId; + this.windowTypeDescriptions = windowTypeDescriptions; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -681,6 +687,32 @@ public Builder totalTimeTakenInMins(Integer totalTimeTakenInMins) { this.__explicitlySet__.add("totalTimeTakenInMins"); return this; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. This + * field is set during maintenance run creation based on infrastructure's maintenance run + * version preferences. Currently this is only be supported for monthly maintenance runs + * created via scheduling plans. + */ + @com.fasterxml.jackson.annotation.JsonProperty("referenceResourceIdForImageUpdates") + private String referenceResourceIdForImageUpdates; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. This + * field is set during maintenance run creation based on infrastructure's maintenance run + * version preferences. Currently this is only be supported for monthly maintenance runs + * created via scheduling plans. + * + * @param referenceResourceIdForImageUpdates the value to set + * @return this builder + */ + public Builder referenceResourceIdForImageUpdates( + String referenceResourceIdForImageUpdates) { + this.referenceResourceIdForImageUpdates = referenceResourceIdForImageUpdates; + this.__explicitlySet__.add("referenceResourceIdForImageUpdates"); + return this; + } /** * The Autonomous AI Database Software Image * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) @@ -700,6 +732,26 @@ public Builder databaseSoftwareImageId(String databaseSoftwareImageId) { this.__explicitlySet__.add("databaseSoftwareImageId"); return this; } + /** + * A list of key-value pairs where the key will contain the window type and value contains + * all the windowDetails of that window type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("windowTypeDescriptions") + private java.util.List windowTypeDescriptions; + + /** + * A list of key-value pairs where the key will contain the window type and value contains + * all the windowDetails of that window type. + * + * @param windowTypeDescriptions the value to set + * @return this builder + */ + public Builder windowTypeDescriptions( + java.util.List windowTypeDescriptions) { + this.windowTypeDescriptions = windowTypeDescriptions; + this.__explicitlySet__.add("windowTypeDescriptions"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -740,7 +792,9 @@ public MaintenanceRunSummary build() { this.systemTags, this.isMaintenanceRunGranular, this.totalTimeTakenInMins, - this.databaseSoftwareImageId); + this.referenceResourceIdForImageUpdates, + this.databaseSoftwareImageId, + this.windowTypeDescriptions); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -849,9 +903,16 @@ public Builder copy(MaintenanceRunSummary model) { if (model.wasPropertyExplicitlySet("totalTimeTakenInMins")) { this.totalTimeTakenInMins(model.getTotalTimeTakenInMins()); } + if (model.wasPropertyExplicitlySet("referenceResourceIdForImageUpdates")) { + this.referenceResourceIdForImageUpdates( + model.getReferenceResourceIdForImageUpdates()); + } if (model.wasPropertyExplicitlySet("databaseSoftwareImageId")) { this.databaseSoftwareImageId(model.getDatabaseSoftwareImageId()); } + if (model.wasPropertyExplicitlySet("windowTypeDescriptions")) { + this.windowTypeDescriptions(model.getWindowTypeDescriptions()); + } return this; } } @@ -1657,6 +1718,29 @@ public Integer getTotalTimeTakenInMins() { return totalTimeTakenInMins; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. This field + * is set during maintenance run creation based on infrastructure's maintenance run version + * preferences. Currently this is only be supported for monthly maintenance runs created via + * scheduling plans. + */ + @com.fasterxml.jackson.annotation.JsonProperty("referenceResourceIdForImageUpdates") + private final String referenceResourceIdForImageUpdates; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. This field + * is set during maintenance run creation based on infrastructure's maintenance run version + * preferences. Currently this is only be supported for monthly maintenance runs created via + * scheduling plans. + * + * @return the value + */ + public String getReferenceResourceIdForImageUpdates() { + return referenceResourceIdForImageUpdates; + } + /** * The Autonomous AI Database Software Image * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) @@ -1674,6 +1758,23 @@ public String getDatabaseSoftwareImageId() { return databaseSoftwareImageId; } + /** + * A list of key-value pairs where the key will contain the window type and value contains all + * the windowDetails of that window type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("windowTypeDescriptions") + private final java.util.List windowTypeDescriptions; + + /** + * A list of key-value pairs where the key will contain the window type and value contains all + * the windowDetails of that window type. + * + * @return the value + */ + public java.util.List getWindowTypeDescriptions() { + return windowTypeDescriptions; + } + @Override public String toString() { return this.toString(true); @@ -1729,8 +1830,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", isMaintenanceRunGranular=") .append(String.valueOf(this.isMaintenanceRunGranular)); sb.append(", totalTimeTakenInMins=").append(String.valueOf(this.totalTimeTakenInMins)); + sb.append(", referenceResourceIdForImageUpdates=") + .append(String.valueOf(this.referenceResourceIdForImageUpdates)); sb.append(", databaseSoftwareImageId=") .append(String.valueOf(this.databaseSoftwareImageId)); + sb.append(", windowTypeDescriptions=").append(String.valueOf(this.windowTypeDescriptions)); sb.append(")"); return sb.toString(); } @@ -1788,8 +1892,13 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.isMaintenanceRunGranular, other.isMaintenanceRunGranular) && java.util.Objects.equals(this.totalTimeTakenInMins, other.totalTimeTakenInMins) + && java.util.Objects.equals( + this.referenceResourceIdForImageUpdates, + other.referenceResourceIdForImageUpdates) && java.util.Objects.equals( this.databaseSoftwareImageId, other.databaseSoftwareImageId) + && java.util.Objects.equals( + this.windowTypeDescriptions, other.windowTypeDescriptions) && super.equals(other); } @@ -1910,11 +2019,21 @@ public int hashCode() { + (this.totalTimeTakenInMins == null ? 43 : this.totalTimeTakenInMins.hashCode()); + result = + (result * PRIME) + + (this.referenceResourceIdForImageUpdates == null + ? 43 + : this.referenceResourceIdForImageUpdates.hashCode()); result = (result * PRIME) + (this.databaseSoftwareImageId == null ? 43 : this.databaseSoftwareImageId.hashCode()); + result = + (result * PRIME) + + (this.windowTypeDescriptions == null + ? 43 + : this.windowTypeDescriptions.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceVersionPreferenceDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceVersionPreferenceDetails.java new file mode 100644 index 00000000000..3ab65d24b37 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/MaintenanceVersionPreferenceDetails.java @@ -0,0 +1,158 @@ +/** + * 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.database.model; + +/** + * The preferences for target versions of future maintenance runs. + * + *

Currently these preferences are only supported for Monthly maintenance runs created via + * scheduling plans If no preferences are specified then the version will be set by default to + * "Latest". Changing preferences will not change versions for an already existing maintenance run. + *
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MaintenanceVersionPreferenceDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MaintenanceVersionPreferenceDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"referenceResourceIdForImageUpdates"}) + public MaintenanceVersionPreferenceDetails(String referenceResourceIdForImageUpdates) { + super(); + this.referenceResourceIdForImageUpdates = referenceResourceIdForImageUpdates; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. + */ + @com.fasterxml.jackson.annotation.JsonProperty("referenceResourceIdForImageUpdates") + private String referenceResourceIdForImageUpdates; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. + * + * @param referenceResourceIdForImageUpdates the value to set + * @return this builder + */ + public Builder referenceResourceIdForImageUpdates( + String referenceResourceIdForImageUpdates) { + this.referenceResourceIdForImageUpdates = referenceResourceIdForImageUpdates; + this.__explicitlySet__.add("referenceResourceIdForImageUpdates"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MaintenanceVersionPreferenceDetails build() { + MaintenanceVersionPreferenceDetails model = + new MaintenanceVersionPreferenceDetails( + this.referenceResourceIdForImageUpdates); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MaintenanceVersionPreferenceDetails model) { + if (model.wasPropertyExplicitlySet("referenceResourceIdForImageUpdates")) { + this.referenceResourceIdForImageUpdates( + model.getReferenceResourceIdForImageUpdates()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. + */ + @com.fasterxml.jackson.annotation.JsonProperty("referenceResourceIdForImageUpdates") + private final String referenceResourceIdForImageUpdates; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource the maintenance run will refer to when trying to fetch target versions. + * + * @return the value + */ + public String getReferenceResourceIdForImageUpdates() { + return referenceResourceIdForImageUpdates; + } + + @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("MaintenanceVersionPreferenceDetails("); + sb.append("super=").append(super.toString()); + sb.append("referenceResourceIdForImageUpdates=") + .append(String.valueOf(this.referenceResourceIdForImageUpdates)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MaintenanceVersionPreferenceDetails)) { + return false; + } + + MaintenanceVersionPreferenceDetails other = (MaintenanceVersionPreferenceDetails) o; + return java.util.Objects.equals( + this.referenceResourceIdForImageUpdates, + other.referenceResourceIdForImageUpdates) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.referenceResourceIdForImageUpdates == null + ? 43 + : this.referenceResourceIdForImageUpdates.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/RecommendedScheduledActionSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/RecommendedScheduledActionSummary.java index 95afae5d28a..e5f2a4cc4e4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/RecommendedScheduledActionSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/RecommendedScheduledActionSummary.java @@ -242,6 +242,7 @@ public enum ActionType implements com.oracle.bmc.http.internal.BmcEnum { FsuVmClusterOsSoftwareUpdate("FSU_VM_CLUSTER_OS_SOFTWARE_UPDATE"), FsuVmClusterGiSoftwareUpdate("FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE"), FsuVmClusterGiOsSoftwareUpdate("FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE"), + DbServerOnlineSoftwareUpdate("DB_SERVER_ONLINE_SOFTWARE_UPDATE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ScheduledAction.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ScheduledAction.java index eb384437491..920962414e0 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ScheduledAction.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ScheduledAction.java @@ -559,6 +559,7 @@ public enum ActionType implements com.oracle.bmc.http.internal.BmcEnum { FsuVmClusterOsSoftwareUpdate("FSU_VM_CLUSTER_OS_SOFTWARE_UPDATE"), FsuVmClusterGiSoftwareUpdate("FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE"), FsuVmClusterGiOsSoftwareUpdate("FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE"), + DbServerOnlineSoftwareUpdate("DB_SERVER_ONLINE_SOFTWARE_UPDATE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/ScheduledActionSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/ScheduledActionSummary.java index 067334cd4ba..982bd771cb0 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/ScheduledActionSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/ScheduledActionSummary.java @@ -560,6 +560,7 @@ public enum ActionType implements com.oracle.bmc.http.internal.BmcEnum { FsuVmClusterOsSoftwareUpdate("FSU_VM_CLUSTER_OS_SOFTWARE_UPDATE"), FsuVmClusterGiSoftwareUpdate("FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE"), FsuVmClusterGiOsSoftwareUpdate("FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE"), + DbServerOnlineSoftwareUpdate("DB_SERVER_ONLINE_SOFTWARE_UPDATE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/SchedulingPlan.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/SchedulingPlan.java index 52bc3acd146..6d29dbdc251 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/SchedulingPlan.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/SchedulingPlan.java @@ -220,15 +220,15 @@ public Builder isUsingRecommendedScheduledActions( return this; } /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. */ @com.fasterxml.jackson.annotation.JsonProperty("planIntent") private PlanIntent planIntent; /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. * * @param planIntent the value to set * @return this builder @@ -638,11 +638,12 @@ public Boolean getIsUsingRecommendedScheduledActions() { } /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. */ public enum PlanIntent implements com.oracle.bmc.http.internal.BmcEnum { ExadataInfrastructureFullSoftwareUpdate("EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE"), + ExadataInfrastructureSecurityUpdate("EXADATA_INFRASTRUCTURE_SECURITY_UPDATE"), /** * This value is used if a service returns a value for this enum that is not recognized by @@ -686,15 +687,15 @@ public static PlanIntent create(String key) { } }; /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. */ @com.fasterxml.jackson.annotation.JsonProperty("planIntent") private final PlanIntent planIntent; /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. * * @return the value */ diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/SchedulingPlanSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/SchedulingPlanSummary.java index 55112a4cb41..a3f9c153ea2 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/SchedulingPlanSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/SchedulingPlanSummary.java @@ -221,15 +221,15 @@ public Builder isUsingRecommendedScheduledActions( return this; } /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. */ @com.fasterxml.jackson.annotation.JsonProperty("planIntent") private PlanIntent planIntent; /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. * * @param planIntent the value to set * @return this builder @@ -639,11 +639,12 @@ public Boolean getIsUsingRecommendedScheduledActions() { } /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. */ public enum PlanIntent implements com.oracle.bmc.http.internal.BmcEnum { ExadataInfrastructureFullSoftwareUpdate("EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE"), + ExadataInfrastructureSecurityUpdate("EXADATA_INFRASTRUCTURE_SECURITY_UPDATE"), /** * This value is used if a service returns a value for this enum that is not recognized by @@ -687,15 +688,15 @@ public static PlanIntent create(String key) { } }; /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. */ @com.fasterxml.jackson.annotation.JsonProperty("planIntent") private final PlanIntent planIntent; /** - * The current intent the Scheduling Plan. Valid states is - * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. + * The current intent of the Scheduling Plan. Valid states are + * EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE and EXADATA_INFRASTRUCTURE_SECURITY_UPDATE. * * @return the value */ diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/SourceDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/SourceDatabaseDetails.java index ac8847d4b0b..bce9d22b80b 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/SourceDatabaseDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/SourceDatabaseDetails.java @@ -180,7 +180,8 @@ public Builder autonomousDatabaseCustomerContacts( * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -198,7 +199,8 @@ public Builder autonomousDatabaseCustomerContacts( * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -380,7 +382,8 @@ public java.util.List getAutonomousDatabaseCustomerContacts() { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -443,7 +446,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -461,7 +465,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousContainerDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousContainerDatabaseDetails.java index 93615ba0ba4..4548ae98af4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousContainerDatabaseDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousContainerDatabaseDetails.java @@ -34,7 +34,11 @@ public final class UpdateAutonomousContainerDatabaseDetails "isDstFileUpdateEnabled", "freeformTags", "definedTags", - "backupConfig" + "backupConfig", + "dbSplitThreshold", + "vmFailoverReservation", + "distributionAffinity", + "netServicesArchitecture" }) public UpdateAutonomousContainerDatabaseDetails( String displayName, @@ -47,7 +51,11 @@ public UpdateAutonomousContainerDatabaseDetails( Boolean isDstFileUpdateEnabled, java.util.Map freeformTags, java.util.Map> definedTags, - AutonomousContainerDatabaseBackupConfig backupConfig) { + AutonomousContainerDatabaseBackupConfig backupConfig, + Integer dbSplitThreshold, + Integer vmFailoverReservation, + DistributionAffinity distributionAffinity, + NetServicesArchitecture netServicesArchitecture) { super(); this.displayName = displayName; this.customerContacts = customerContacts; @@ -60,6 +68,10 @@ public UpdateAutonomousContainerDatabaseDetails( this.freeformTags = freeformTags; this.definedTags = definedTags; this.backupConfig = backupConfig; + this.dbSplitThreshold = dbSplitThreshold; + this.vmFailoverReservation = vmFailoverReservation; + this.distributionAffinity = distributionAffinity; + this.netServicesArchitecture = netServicesArchitecture; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -246,6 +258,84 @@ public Builder backupConfig(AutonomousContainerDatabaseBackupConfig backupConfig this.__explicitlySet__.add("backupConfig"); return this; } + /** + * The CPU value beyond which an Autonomous AI Database will be opened across multiple + * nodes. The default value of this attribute is 16 for OCPUs and 64 for ECPUs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dbSplitThreshold") + private Integer dbSplitThreshold; + + /** + * The CPU value beyond which an Autonomous AI Database will be opened across multiple + * nodes. The default value of this attribute is 16 for OCPUs and 64 for ECPUs. + * + * @param dbSplitThreshold the value to set + * @return this builder + */ + public Builder dbSplitThreshold(Integer dbSplitThreshold) { + this.dbSplitThreshold = dbSplitThreshold; + this.__explicitlySet__.add("dbSplitThreshold"); + return this; + } + /** + * The percentage of CPUs reserved across nodes to support node failover. Allowed values are + * 0%, 25%, 50%, 75%, and 100%, with 50% being the default option. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vmFailoverReservation") + private Integer vmFailoverReservation; + + /** + * The percentage of CPUs reserved across nodes to support node failover. Allowed values are + * 0%, 25%, 50%, 75%, and 100%, with 50% being the default option. + * + * @param vmFailoverReservation the value to set + * @return this builder + */ + public Builder vmFailoverReservation(Integer vmFailoverReservation) { + this.vmFailoverReservation = vmFailoverReservation; + this.__explicitlySet__.add("vmFailoverReservation"); + return this; + } + /** + * Determines whether an Autonomous AI Database must be opened across a minimum or maximum + * of nodes. By default, Minimum nodes is selected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAffinity") + private DistributionAffinity distributionAffinity; + + /** + * Determines whether an Autonomous AI Database must be opened across a minimum or maximum + * of nodes. By default, Minimum nodes is selected. + * + * @param distributionAffinity the value to set + * @return this builder + */ + public Builder distributionAffinity(DistributionAffinity distributionAffinity) { + this.distributionAffinity = distributionAffinity; + this.__explicitlySet__.add("distributionAffinity"); + return this; + } + /** + * Enabling SHARED server architecture enables a database server to allow many client + * processes to share very few server processes, thereby increasing the number of supported + * users. + */ + @com.fasterxml.jackson.annotation.JsonProperty("netServicesArchitecture") + private NetServicesArchitecture netServicesArchitecture; + + /** + * Enabling SHARED server architecture enables a database server to allow many client + * processes to share very few server processes, thereby increasing the number of supported + * users. + * + * @param netServicesArchitecture the value to set + * @return this builder + */ + public Builder netServicesArchitecture(NetServicesArchitecture netServicesArchitecture) { + this.netServicesArchitecture = netServicesArchitecture; + this.__explicitlySet__.add("netServicesArchitecture"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -263,7 +353,11 @@ public UpdateAutonomousContainerDatabaseDetails build() { this.isDstFileUpdateEnabled, this.freeformTags, this.definedTags, - this.backupConfig); + this.backupConfig, + this.dbSplitThreshold, + this.vmFailoverReservation, + this.distributionAffinity, + this.netServicesArchitecture); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -305,6 +399,18 @@ public Builder copy(UpdateAutonomousContainerDatabaseDetails model) { if (model.wasPropertyExplicitlySet("backupConfig")) { this.backupConfig(model.getBackupConfig()); } + if (model.wasPropertyExplicitlySet("dbSplitThreshold")) { + this.dbSplitThreshold(model.getDbSplitThreshold()); + } + if (model.wasPropertyExplicitlySet("vmFailoverReservation")) { + this.vmFailoverReservation(model.getVmFailoverReservation()); + } + if (model.wasPropertyExplicitlySet("distributionAffinity")) { + this.distributionAffinity(model.getDistributionAffinity()); + } + if (model.wasPropertyExplicitlySet("netServicesArchitecture")) { + this.netServicesArchitecture(model.getNetServicesArchitecture()); + } return this; } } @@ -543,6 +649,147 @@ public AutonomousContainerDatabaseBackupConfig getBackupConfig() { return backupConfig; } + /** + * The CPU value beyond which an Autonomous AI Database will be opened across multiple nodes. + * The default value of this attribute is 16 for OCPUs and 64 for ECPUs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dbSplitThreshold") + private final Integer dbSplitThreshold; + + /** + * The CPU value beyond which an Autonomous AI Database will be opened across multiple nodes. + * The default value of this attribute is 16 for OCPUs and 64 for ECPUs. + * + * @return the value + */ + public Integer getDbSplitThreshold() { + return dbSplitThreshold; + } + + /** + * The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, + * 25%, 50%, 75%, and 100%, with 50% being the default option. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vmFailoverReservation") + private final Integer vmFailoverReservation; + + /** + * The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, + * 25%, 50%, 75%, and 100%, with 50% being the default option. + * + * @return the value + */ + public Integer getVmFailoverReservation() { + return vmFailoverReservation; + } + + /** + * Determines whether an Autonomous AI Database must be opened across a minimum or maximum of + * nodes. By default, Minimum nodes is selected. + */ + public enum DistributionAffinity implements com.oracle.bmc.http.internal.BmcEnum { + MinimumDistribution("MINIMUM_DISTRIBUTION"), + MaximumDistribution("MAXIMUM_DISTRIBUTION"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DistributionAffinity v : DistributionAffinity.values()) { + map.put(v.getValue(), v); + } + } + + DistributionAffinity(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DistributionAffinity create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DistributionAffinity: " + key); + } + }; + /** + * Determines whether an Autonomous AI Database must be opened across a minimum or maximum of + * nodes. By default, Minimum nodes is selected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAffinity") + private final DistributionAffinity distributionAffinity; + + /** + * Determines whether an Autonomous AI Database must be opened across a minimum or maximum of + * nodes. By default, Minimum nodes is selected. + * + * @return the value + */ + public DistributionAffinity getDistributionAffinity() { + return distributionAffinity; + } + + /** + * Enabling SHARED server architecture enables a database server to allow many client processes + * to share very few server processes, thereby increasing the number of supported users. + */ + public enum NetServicesArchitecture implements com.oracle.bmc.http.internal.BmcEnum { + Dedicated("DEDICATED"), + Shared("SHARED"), + Drcp("DRCP"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (NetServicesArchitecture v : NetServicesArchitecture.values()) { + map.put(v.getValue(), v); + } + } + + NetServicesArchitecture(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static NetServicesArchitecture create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid NetServicesArchitecture: " + key); + } + }; + /** + * Enabling SHARED server architecture enables a database server to allow many client processes + * to share very few server processes, thereby increasing the number of supported users. + */ + @com.fasterxml.jackson.annotation.JsonProperty("netServicesArchitecture") + private final NetServicesArchitecture netServicesArchitecture; + + /** + * Enabling SHARED server architecture enables a database server to allow many client processes + * to share very few server processes, thereby increasing the number of supported users. + * + * @return the value + */ + public NetServicesArchitecture getNetServicesArchitecture() { + return netServicesArchitecture; + } + @Override public String toString() { return this.toString(true); @@ -571,6 +818,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", backupConfig=").append(String.valueOf(this.backupConfig)); + sb.append(", dbSplitThreshold=").append(String.valueOf(this.dbSplitThreshold)); + sb.append(", vmFailoverReservation=").append(String.valueOf(this.vmFailoverReservation)); + sb.append(", distributionAffinity=").append(String.valueOf(this.distributionAffinity)); + sb.append(", netServicesArchitecture=") + .append(String.valueOf(this.netServicesArchitecture)); sb.append(")"); return sb.toString(); } @@ -600,6 +852,11 @@ 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.backupConfig, other.backupConfig) + && java.util.Objects.equals(this.dbSplitThreshold, other.dbSplitThreshold) + && java.util.Objects.equals(this.vmFailoverReservation, other.vmFailoverReservation) + && java.util.Objects.equals(this.distributionAffinity, other.distributionAffinity) + && java.util.Objects.equals( + this.netServicesArchitecture, other.netServicesArchitecture) && super.equals(other); } @@ -638,6 +895,24 @@ 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.backupConfig == null ? 43 : this.backupConfig.hashCode()); + result = + (result * PRIME) + + (this.dbSplitThreshold == null ? 43 : this.dbSplitThreshold.hashCode()); + result = + (result * PRIME) + + (this.vmFailoverReservation == null + ? 43 + : this.vmFailoverReservation.hashCode()); + result = + (result * PRIME) + + (this.distributionAffinity == null + ? 43 + : this.distributionAffinity.hashCode()); + result = + (result * PRIME) + + (this.netServicesArchitecture == null + ? 43 + : this.netServicesArchitecture.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java index 22f55d01d76..fdb513cc9f0 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java @@ -759,7 +759,8 @@ public Builder securityAttributes( * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -777,7 +778,8 @@ public Builder securityAttributes( * - LH - indicates an Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, + * the default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -1230,6 +1232,9 @@ public Builder isDataGuardEnabled(Boolean isDataGuardEnabled) { * *

To create or delete a local (in-region) standby, see the {@code isDataGuardEnabled} * parameter. + * + *

When disconnecting a cross-region standby, specify the standby database OCID in this + * parameter together with {@code isDisconnectPeer=true}. */ @com.fasterxml.jackson.annotation.JsonProperty("peerDbId") private String peerDbId; @@ -1242,6 +1247,9 @@ public Builder isDataGuardEnabled(Boolean isDataGuardEnabled) { *

To create or delete a local (in-region) standby, see the {@code isDataGuardEnabled} * parameter. * + *

When disconnecting a cross-region standby, specify the standby database OCID in this + * parameter together with {@code isDisconnectPeer=true}. + * * @param peerDbId the value to set * @return this builder */ @@ -1905,21 +1913,29 @@ public Builder encryptionKey(AutonomousDatabaseEncryptionKeyDetails encryptionKe return this; } /** - * If true, this will disconnect the Autonomous AI Database from its peer and the Autonomous - * AI Database can work permanently as a standalone database. + * If true, this disconnects the Autonomous AI Database from its peer. After the disconnect + * completes, the Autonomous AI Database works permanently as a standalone database. * - *

To disconnect a cross region standby, please also provide the OCID of the standby - * database in the {@code peerDbId} parameter. + *

*Warning:** A disconnected standby is no longer part of the disaster recovery + * configuration. Operations and restrictions that apply to a connected standby do not apply + * in the same way after the database has been disconnected. + * + *

To disconnect a cross region standby, also provide the OCID of the standby database in + * the {@code peerDbId} parameter. */ @com.fasterxml.jackson.annotation.JsonProperty("isDisconnectPeer") private Boolean isDisconnectPeer; /** - * If true, this will disconnect the Autonomous AI Database from its peer and the Autonomous - * AI Database can work permanently as a standalone database. + * If true, this disconnects the Autonomous AI Database from its peer. After the disconnect + * completes, the Autonomous AI Database works permanently as a standalone database. + * + *

*Warning:** A disconnected standby is no longer part of the disaster recovery + * configuration. Operations and restrictions that apply to a connected standby do not apply + * in the same way after the database has been disconnected. * - *

To disconnect a cross region standby, please also provide the OCID of the standby - * database in the {@code peerDbId} parameter. + *

To disconnect a cross region standby, also provide the OCID of the standby database in + * the {@code peerDbId} parameter. * * @param isDisconnectPeer the value to set * @return this builder @@ -2761,7 +2777,8 @@ public java.util.Map> getSecurityAttribute * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -2811,7 +2828,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -2829,7 +2847,8 @@ public static DbWorkload create(String key) { * Oracle Autonomous AI Lakehouse database * *

*Note** Starting December 2026, DW will not be supported as a valid value for this - * parameter. + * parameter. When creating an Autonomous AI Database, if this parameter is not specified, the + * default value is {@code OLTP}. * *

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, * cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, @@ -3328,6 +3347,9 @@ public Boolean getIsDataGuardEnabled() { * *

To create or delete a local (in-region) standby, see the {@code isDataGuardEnabled} * parameter. + * + *

When disconnecting a cross-region standby, specify the standby database OCID in this + * parameter together with {@code isDisconnectPeer=true}. */ @com.fasterxml.jackson.annotation.JsonProperty("peerDbId") private final String peerDbId; @@ -3340,6 +3362,9 @@ public Boolean getIsDataGuardEnabled() { *

To create or delete a local (in-region) standby, see the {@code isDataGuardEnabled} * parameter. * + *

When disconnecting a cross-region standby, specify the standby database OCID in this + * parameter together with {@code isDisconnectPeer=true}. + * * @return the value */ public String getPeerDbId() { @@ -4039,21 +4064,29 @@ public AutonomousDatabaseEncryptionKeyDetails getEncryptionKey() { } /** - * If true, this will disconnect the Autonomous AI Database from its peer and the Autonomous AI - * Database can work permanently as a standalone database. + * If true, this disconnects the Autonomous AI Database from its peer. After the disconnect + * completes, the Autonomous AI Database works permanently as a standalone database. + * + *

*Warning:** A disconnected standby is no longer part of the disaster recovery + * configuration. Operations and restrictions that apply to a connected standby do not apply in + * the same way after the database has been disconnected. * - *

To disconnect a cross region standby, please also provide the OCID of the standby database - * in the {@code peerDbId} parameter. + *

To disconnect a cross region standby, also provide the OCID of the standby database in the + * {@code peerDbId} parameter. */ @com.fasterxml.jackson.annotation.JsonProperty("isDisconnectPeer") private final Boolean isDisconnectPeer; /** - * If true, this will disconnect the Autonomous AI Database from its peer and the Autonomous AI - * Database can work permanently as a standalone database. + * If true, this disconnects the Autonomous AI Database from its peer. After the disconnect + * completes, the Autonomous AI Database works permanently as a standalone database. + * + *

*Warning:** A disconnected standby is no longer part of the disaster recovery + * configuration. Operations and restrictions that apply to a connected standby do not apply in + * the same way after the database has been disconnected. * - *

To disconnect a cross region standby, please also provide the OCID of the standby database - * in the {@code peerDbId} parameter. + *

To disconnect a cross region standby, also provide the OCID of the standby database in the + * {@code peerDbId} parameter. * * @return the value */ diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousVmClusterDetails.java index 28d2081b2be..30fd0c1199c 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousVmClusterDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousVmClusterDetails.java @@ -30,7 +30,12 @@ public final class UpdateAutonomousVmClusterDetails "definedTags", "autonomousDataStorageSizeInTBs", "cpuCoreCountPerNode", - "totalContainerDatabases" + "totalContainerDatabases", + "timeZone", + "scanListenerPortTls", + "scanListenerPortNonTls", + "isMtlsEnabled", + "distributionAlgorithm" }) public UpdateAutonomousVmClusterDetails( MaintenanceWindow maintenanceWindowDetails, @@ -39,7 +44,12 @@ public UpdateAutonomousVmClusterDetails( java.util.Map> definedTags, Double autonomousDataStorageSizeInTBs, Integer cpuCoreCountPerNode, - Integer totalContainerDatabases) { + Integer totalContainerDatabases, + String timeZone, + Integer scanListenerPortTls, + Integer scanListenerPortNonTls, + Boolean isMtlsEnabled, + DistributionAlgorithm distributionAlgorithm) { super(); this.maintenanceWindowDetails = maintenanceWindowDetails; this.licenseModel = licenseModel; @@ -48,6 +58,11 @@ public UpdateAutonomousVmClusterDetails( this.autonomousDataStorageSizeInTBs = autonomousDataStorageSizeInTBs; this.cpuCoreCountPerNode = cpuCoreCountPerNode; this.totalContainerDatabases = totalContainerDatabases; + this.timeZone = timeZone; + this.scanListenerPortTls = scanListenerPortTls; + this.scanListenerPortNonTls = scanListenerPortNonTls; + this.isMtlsEnabled = isMtlsEnabled; + this.distributionAlgorithm = distributionAlgorithm; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -174,6 +189,85 @@ public Builder totalContainerDatabases(Integer totalContainerDatabases) { this.__explicitlySet__.add("totalContainerDatabases"); return this; } + /** + * The time zone to use for the Autonomous VM cluster. For details, see [DB System Time + * Zones](https://docs.oracle.com/iaas/Content/Database/References/timezones.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeZone") + private String timeZone; + + /** + * The time zone to use for the Autonomous VM cluster. For details, see [DB System Time + * Zones](https://docs.oracle.com/iaas/Content/Database/References/timezones.htm). + * + * @param timeZone the value to set + * @return this builder + */ + public Builder timeZone(String timeZone) { + this.timeZone = timeZone; + this.__explicitlySet__.add("timeZone"); + return this; + } + /** The SCAN Listener TLS port number. Default value is 2484. */ + @com.fasterxml.jackson.annotation.JsonProperty("scanListenerPortTls") + private Integer scanListenerPortTls; + + /** + * The SCAN Listener TLS port number. Default value is 2484. + * + * @param scanListenerPortTls the value to set + * @return this builder + */ + public Builder scanListenerPortTls(Integer scanListenerPortTls) { + this.scanListenerPortTls = scanListenerPortTls; + this.__explicitlySet__.add("scanListenerPortTls"); + return this; + } + /** The SCAN Listener Non TLS port number. Default value is 1521. */ + @com.fasterxml.jackson.annotation.JsonProperty("scanListenerPortNonTls") + private Integer scanListenerPortNonTls; + + /** + * The SCAN Listener Non TLS port number. Default value is 1521. + * + * @param scanListenerPortNonTls the value to set + * @return this builder + */ + public Builder scanListenerPortNonTls(Integer scanListenerPortNonTls) { + this.scanListenerPortNonTls = scanListenerPortNonTls; + this.__explicitlySet__.add("scanListenerPortNonTls"); + return this; + } + /** Enable mutual TLS(mTLS) authentication for database. Default is TLS. */ + @com.fasterxml.jackson.annotation.JsonProperty("isMtlsEnabled") + private Boolean isMtlsEnabled; + + /** + * Enable mutual TLS(mTLS) authentication for database. Default is TLS. + * + * @param isMtlsEnabled the value to set + * @return this builder + */ + public Builder isMtlsEnabled(Boolean isMtlsEnabled) { + this.isMtlsEnabled = isMtlsEnabled; + this.__explicitlySet__.add("isMtlsEnabled"); + return this; + } + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @param distributionAlgorithm the value to set + * @return this builder + */ + public Builder distributionAlgorithm(DistributionAlgorithm distributionAlgorithm) { + this.distributionAlgorithm = distributionAlgorithm; + this.__explicitlySet__.add("distributionAlgorithm"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -187,7 +281,12 @@ public UpdateAutonomousVmClusterDetails build() { this.definedTags, this.autonomousDataStorageSizeInTBs, this.cpuCoreCountPerNode, - this.totalContainerDatabases); + this.totalContainerDatabases, + this.timeZone, + this.scanListenerPortTls, + this.scanListenerPortNonTls, + this.isMtlsEnabled, + this.distributionAlgorithm); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -217,6 +316,21 @@ public Builder copy(UpdateAutonomousVmClusterDetails model) { if (model.wasPropertyExplicitlySet("totalContainerDatabases")) { this.totalContainerDatabases(model.getTotalContainerDatabases()); } + if (model.wasPropertyExplicitlySet("timeZone")) { + this.timeZone(model.getTimeZone()); + } + if (model.wasPropertyExplicitlySet("scanListenerPortTls")) { + this.scanListenerPortTls(model.getScanListenerPortTls()); + } + if (model.wasPropertyExplicitlySet("scanListenerPortNonTls")) { + this.scanListenerPortNonTls(model.getScanListenerPortNonTls()); + } + if (model.wasPropertyExplicitlySet("isMtlsEnabled")) { + this.isMtlsEnabled(model.getIsMtlsEnabled()); + } + if (model.wasPropertyExplicitlySet("distributionAlgorithm")) { + this.distributionAlgorithm(model.getDistributionAlgorithm()); + } return this; } } @@ -371,6 +485,108 @@ public Integer getTotalContainerDatabases() { return totalContainerDatabases; } + /** + * The time zone to use for the Autonomous VM cluster. For details, see [DB System Time + * Zones](https://docs.oracle.com/iaas/Content/Database/References/timezones.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeZone") + private final String timeZone; + + /** + * The time zone to use for the Autonomous VM cluster. For details, see [DB System Time + * Zones](https://docs.oracle.com/iaas/Content/Database/References/timezones.htm). + * + * @return the value + */ + public String getTimeZone() { + return timeZone; + } + + /** The SCAN Listener TLS port number. Default value is 2484. */ + @com.fasterxml.jackson.annotation.JsonProperty("scanListenerPortTls") + private final Integer scanListenerPortTls; + + /** + * The SCAN Listener TLS port number. Default value is 2484. + * + * @return the value + */ + public Integer getScanListenerPortTls() { + return scanListenerPortTls; + } + + /** The SCAN Listener Non TLS port number. Default value is 1521. */ + @com.fasterxml.jackson.annotation.JsonProperty("scanListenerPortNonTls") + private final Integer scanListenerPortNonTls; + + /** + * The SCAN Listener Non TLS port number. Default value is 1521. + * + * @return the value + */ + public Integer getScanListenerPortNonTls() { + return scanListenerPortNonTls; + } + + /** Enable mutual TLS(mTLS) authentication for database. Default is TLS. */ + @com.fasterxml.jackson.annotation.JsonProperty("isMtlsEnabled") + private final Boolean isMtlsEnabled; + + /** + * Enable mutual TLS(mTLS) authentication for database. Default is TLS. + * + * @return the value + */ + public Boolean getIsMtlsEnabled() { + return isMtlsEnabled; + } + + /** The distribution algorithm used for the Autonomous VM cluster. */ + public enum DistributionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + ResourceOptimized("RESOURCE_OPTIMIZED"), + DistributionOptimized("DISTRIBUTION_OPTIMIZED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DistributionAlgorithm v : DistributionAlgorithm.values()) { + map.put(v.getValue(), v); + } + } + + DistributionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DistributionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DistributionAlgorithm: " + key); + } + }; + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private final DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @return the value + */ + public DistributionAlgorithm getDistributionAlgorithm() { + return distributionAlgorithm; + } + @Override public String toString() { return this.toString(true); @@ -396,6 +612,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", cpuCoreCountPerNode=").append(String.valueOf(this.cpuCoreCountPerNode)); sb.append(", totalContainerDatabases=") .append(String.valueOf(this.totalContainerDatabases)); + sb.append(", timeZone=").append(String.valueOf(this.timeZone)); + sb.append(", scanListenerPortTls=").append(String.valueOf(this.scanListenerPortTls)); + sb.append(", scanListenerPortNonTls=").append(String.valueOf(this.scanListenerPortNonTls)); + sb.append(", isMtlsEnabled=").append(String.valueOf(this.isMtlsEnabled)); + sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); sb.append(")"); return sb.toString(); } @@ -420,6 +641,12 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.cpuCoreCountPerNode, other.cpuCoreCountPerNode) && java.util.Objects.equals( this.totalContainerDatabases, other.totalContainerDatabases) + && java.util.Objects.equals(this.timeZone, other.timeZone) + && java.util.Objects.equals(this.scanListenerPortTls, other.scanListenerPortTls) + && java.util.Objects.equals( + this.scanListenerPortNonTls, other.scanListenerPortNonTls) + && java.util.Objects.equals(this.isMtlsEnabled, other.isMtlsEnabled) + && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) && super.equals(other); } @@ -450,6 +677,25 @@ public int hashCode() { + (this.totalContainerDatabases == null ? 43 : this.totalContainerDatabases.hashCode()); + result = (result * PRIME) + (this.timeZone == null ? 43 : this.timeZone.hashCode()); + result = + (result * PRIME) + + (this.scanListenerPortTls == null + ? 43 + : this.scanListenerPortTls.hashCode()); + result = + (result * PRIME) + + (this.scanListenerPortNonTls == null + ? 43 + : this.scanListenerPortNonTls.hashCode()); + result = + (result * PRIME) + + (this.isMtlsEnabled == null ? 43 : this.isMtlsEnabled.hashCode()); + result = + (result * PRIME) + + (this.distributionAlgorithm == null + ? 43 + : this.distributionAlgorithm.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudAutonomousVmClusterDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudAutonomousVmClusterDetails.java index ad9dde2a984..37beb289325 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudAutonomousVmClusterDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudAutonomousVmClusterDetails.java @@ -34,6 +34,11 @@ public final class UpdateCloudAutonomousVmClusterDetails "nsgIds", "freeformTags", "definedTags", + "clusterTimeZone", + "scanListenerPortTls", + "scanListenerPortNonTls", + "isMtlsEnabledVmCluster", + "distributionAlgorithm", "securityAttributes" }) public UpdateCloudAutonomousVmClusterDetails( @@ -47,6 +52,11 @@ public UpdateCloudAutonomousVmClusterDetails( java.util.List nsgIds, java.util.Map freeformTags, java.util.Map> definedTags, + String clusterTimeZone, + Integer scanListenerPortTls, + Integer scanListenerPortNonTls, + Boolean isMtlsEnabledVmCluster, + DistributionAlgorithm distributionAlgorithm, java.util.Map> securityAttributes) { super(); this.description = description; @@ -59,6 +69,11 @@ public UpdateCloudAutonomousVmClusterDetails( this.nsgIds = nsgIds; this.freeformTags = freeformTags; this.definedTags = definedTags; + this.clusterTimeZone = clusterTimeZone; + this.scanListenerPortTls = scanListenerPortTls; + this.scanListenerPortNonTls = scanListenerPortNonTls; + this.isMtlsEnabledVmCluster = isMtlsEnabledVmCluster; + this.distributionAlgorithm = distributionAlgorithm; this.securityAttributes = securityAttributes; } @@ -279,6 +294,89 @@ public Builder definedTags( this.__explicitlySet__.add("definedTags"); return this; } + /** + * The time zone to use for the Autonomous VM cluster. For details, see [DB System Time + * Zones](https://docs.oracle.com/iaas/Content/Database/References/timezones.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("clusterTimeZone") + private String clusterTimeZone; + + /** + * The time zone to use for the Autonomous VM cluster. For details, see [DB System Time + * Zones](https://docs.oracle.com/iaas/Content/Database/References/timezones.htm). + * + * @param clusterTimeZone the value to set + * @return this builder + */ + public Builder clusterTimeZone(String clusterTimeZone) { + this.clusterTimeZone = clusterTimeZone; + this.__explicitlySet__.add("clusterTimeZone"); + return this; + } + /** The SCAN Listener TLS port. Default is 2484. */ + @com.fasterxml.jackson.annotation.JsonProperty("scanListenerPortTls") + private Integer scanListenerPortTls; + + /** + * The SCAN Listener TLS port. Default is 2484. + * + * @param scanListenerPortTls the value to set + * @return this builder + */ + public Builder scanListenerPortTls(Integer scanListenerPortTls) { + this.scanListenerPortTls = scanListenerPortTls; + this.__explicitlySet__.add("scanListenerPortTls"); + return this; + } + /** The SCAN Listener Non TLS port. Default is 1521. */ + @com.fasterxml.jackson.annotation.JsonProperty("scanListenerPortNonTls") + private Integer scanListenerPortNonTls; + + /** + * The SCAN Listener Non TLS port. Default is 1521. + * + * @param scanListenerPortNonTls the value to set + * @return this builder + */ + public Builder scanListenerPortNonTls(Integer scanListenerPortNonTls) { + this.scanListenerPortNonTls = scanListenerPortNonTls; + this.__explicitlySet__.add("scanListenerPortNonTls"); + return this; + } + /** + * Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. + * This is applicable to database TLS Certificates only. Default is TLS + */ + @com.fasterxml.jackson.annotation.JsonProperty("isMtlsEnabledVmCluster") + private Boolean isMtlsEnabledVmCluster; + + /** + * Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. + * This is applicable to database TLS Certificates only. Default is TLS + * + * @param isMtlsEnabledVmCluster the value to set + * @return this builder + */ + public Builder isMtlsEnabledVmCluster(Boolean isMtlsEnabledVmCluster) { + this.isMtlsEnabledVmCluster = isMtlsEnabledVmCluster; + this.__explicitlySet__.add("isMtlsEnabledVmCluster"); + return this; + } + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @param distributionAlgorithm the value to set + * @return this builder + */ + public Builder distributionAlgorithm(DistributionAlgorithm distributionAlgorithm) { + this.distributionAlgorithm = distributionAlgorithm; + this.__explicitlySet__.add("distributionAlgorithm"); + return this; + } /** * Security Attributes for this resource. Each key is predefined and scoped to a namespace. * For more information, see [Resource @@ -320,6 +418,11 @@ public UpdateCloudAutonomousVmClusterDetails build() { this.nsgIds, this.freeformTags, this.definedTags, + this.clusterTimeZone, + this.scanListenerPortTls, + this.scanListenerPortNonTls, + this.isMtlsEnabledVmCluster, + this.distributionAlgorithm, this.securityAttributes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -359,6 +462,21 @@ public Builder copy(UpdateCloudAutonomousVmClusterDetails model) { if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } + if (model.wasPropertyExplicitlySet("clusterTimeZone")) { + this.clusterTimeZone(model.getClusterTimeZone()); + } + if (model.wasPropertyExplicitlySet("scanListenerPortTls")) { + this.scanListenerPortTls(model.getScanListenerPortTls()); + } + if (model.wasPropertyExplicitlySet("scanListenerPortNonTls")) { + this.scanListenerPortNonTls(model.getScanListenerPortNonTls()); + } + if (model.wasPropertyExplicitlySet("isMtlsEnabledVmCluster")) { + this.isMtlsEnabledVmCluster(model.getIsMtlsEnabledVmCluster()); + } + if (model.wasPropertyExplicitlySet("distributionAlgorithm")) { + this.distributionAlgorithm(model.getDistributionAlgorithm()); + } if (model.wasPropertyExplicitlySet("securityAttributes")) { this.securityAttributes(model.getSecurityAttributes()); } @@ -613,6 +731,112 @@ public java.util.Map> getDefinedTags() { return definedTags; } + /** + * The time zone to use for the Autonomous VM cluster. For details, see [DB System Time + * Zones](https://docs.oracle.com/iaas/Content/Database/References/timezones.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("clusterTimeZone") + private final String clusterTimeZone; + + /** + * The time zone to use for the Autonomous VM cluster. For details, see [DB System Time + * Zones](https://docs.oracle.com/iaas/Content/Database/References/timezones.htm). + * + * @return the value + */ + public String getClusterTimeZone() { + return clusterTimeZone; + } + + /** The SCAN Listener TLS port. Default is 2484. */ + @com.fasterxml.jackson.annotation.JsonProperty("scanListenerPortTls") + private final Integer scanListenerPortTls; + + /** + * The SCAN Listener TLS port. Default is 2484. + * + * @return the value + */ + public Integer getScanListenerPortTls() { + return scanListenerPortTls; + } + + /** The SCAN Listener Non TLS port. Default is 1521. */ + @com.fasterxml.jackson.annotation.JsonProperty("scanListenerPortNonTls") + private final Integer scanListenerPortNonTls; + + /** + * The SCAN Listener Non TLS port. Default is 1521. + * + * @return the value + */ + public Integer getScanListenerPortNonTls() { + return scanListenerPortNonTls; + } + + /** + * Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. This + * is applicable to database TLS Certificates only. Default is TLS + */ + @com.fasterxml.jackson.annotation.JsonProperty("isMtlsEnabledVmCluster") + private final Boolean isMtlsEnabledVmCluster; + + /** + * Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. This + * is applicable to database TLS Certificates only. Default is TLS + * + * @return the value + */ + public Boolean getIsMtlsEnabledVmCluster() { + return isMtlsEnabledVmCluster; + } + + /** The distribution algorithm used for the Autonomous VM cluster. */ + public enum DistributionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + ResourceOptimized("RESOURCE_OPTIMIZED"), + DistributionOptimized("DISTRIBUTION_OPTIMIZED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DistributionAlgorithm v : DistributionAlgorithm.values()) { + map.put(v.getValue(), v); + } + } + + DistributionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DistributionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DistributionAlgorithm: " + key); + } + }; + /** The distribution algorithm used for the Autonomous VM cluster. */ + @com.fasterxml.jackson.annotation.JsonProperty("distributionAlgorithm") + private final DistributionAlgorithm distributionAlgorithm; + + /** + * The distribution algorithm used for the Autonomous VM cluster. + * + * @return the value + */ + public DistributionAlgorithm getDistributionAlgorithm() { + return distributionAlgorithm; + } + /** * Security Attributes for this resource. Each key is predefined and scoped to a namespace. For * more information, see [Resource @@ -662,6 +886,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", clusterTimeZone=").append(String.valueOf(this.clusterTimeZone)); + sb.append(", scanListenerPortTls=").append(String.valueOf(this.scanListenerPortTls)); + sb.append(", scanListenerPortNonTls=").append(String.valueOf(this.scanListenerPortNonTls)); + sb.append(", isMtlsEnabledVmCluster=").append(String.valueOf(this.isMtlsEnabledVmCluster)); + sb.append(", distributionAlgorithm=").append(String.valueOf(this.distributionAlgorithm)); sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); sb.append(")"); return sb.toString(); @@ -690,6 +919,13 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.nsgIds, other.nsgIds) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.clusterTimeZone, other.clusterTimeZone) + && java.util.Objects.equals(this.scanListenerPortTls, other.scanListenerPortTls) + && java.util.Objects.equals( + this.scanListenerPortNonTls, other.scanListenerPortNonTls) + && java.util.Objects.equals( + this.isMtlsEnabledVmCluster, other.isMtlsEnabledVmCluster) + && java.util.Objects.equals(this.distributionAlgorithm, other.distributionAlgorithm) && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) && super.equals(other); } @@ -724,6 +960,29 @@ public int hashCode() { result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.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.clusterTimeZone == null ? 43 : this.clusterTimeZone.hashCode()); + result = + (result * PRIME) + + (this.scanListenerPortTls == null + ? 43 + : this.scanListenerPortTls.hashCode()); + result = + (result * PRIME) + + (this.scanListenerPortNonTls == null + ? 43 + : this.scanListenerPortNonTls.hashCode()); + result = + (result * PRIME) + + (this.isMtlsEnabledVmCluster == null + ? 43 + : this.isMtlsEnabledVmCluster.hashCode()); + result = + (result * PRIME) + + (this.distributionAlgorithm == null + ? 43 + : this.distributionAlgorithm.hashCode()); result = (result * PRIME) + (this.securityAttributes == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudExadataInfrastructureDetails.java index de44824eabc..e80b4128ebc 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateCloudExadataInfrastructureDetails.java @@ -26,6 +26,7 @@ public final class UpdateCloudExadataInfrastructureDetails @java.beans.ConstructorProperties({ "displayName", "maintenanceWindow", + "maintenanceVersionPreferences", "computeCount", "storageCount", "freeformTags", @@ -35,6 +36,7 @@ public final class UpdateCloudExadataInfrastructureDetails public UpdateCloudExadataInfrastructureDetails( String displayName, MaintenanceWindow maintenanceWindow, + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences, Integer computeCount, Integer storageCount, java.util.Map freeformTags, @@ -43,6 +45,7 @@ public UpdateCloudExadataInfrastructureDetails( super(); this.displayName = displayName; this.maintenanceWindow = maintenanceWindow; + this.maintenanceVersionPreferences = maintenanceVersionPreferences; this.computeCount = computeCount; this.storageCount = storageCount; this.freeformTags = freeformTags; @@ -80,6 +83,16 @@ public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.__explicitlySet__.add("maintenanceWindow"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public Builder maintenanceVersionPreferences( + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences) { + this.maintenanceVersionPreferences = maintenanceVersionPreferences; + this.__explicitlySet__.add("maintenanceVersionPreferences"); + return this; + } /** The number of compute servers for the cloud Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("computeCount") private Integer computeCount; @@ -185,6 +198,7 @@ public UpdateCloudExadataInfrastructureDetails build() { new UpdateCloudExadataInfrastructureDetails( this.displayName, this.maintenanceWindow, + this.maintenanceVersionPreferences, this.computeCount, this.storageCount, this.freeformTags, @@ -204,6 +218,9 @@ public Builder copy(UpdateCloudExadataInfrastructureDetails model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceVersionPreferences")) { + this.maintenanceVersionPreferences(model.getMaintenanceVersionPreferences()); + } if (model.wasPropertyExplicitlySet("computeCount")) { this.computeCount(model.getComputeCount()); } @@ -256,6 +273,13 @@ public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private final MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public MaintenanceVersionPreferenceDetails getMaintenanceVersionPreferences() { + return maintenanceVersionPreferences; + } + /** The number of compute servers for the cloud Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("computeCount") private final Integer computeCount; @@ -358,6 +382,8 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("displayName=").append(String.valueOf(this.displayName)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceVersionPreferences=") + .append(String.valueOf(this.maintenanceVersionPreferences)); sb.append(", computeCount=").append(String.valueOf(this.computeCount)); sb.append(", storageCount=").append(String.valueOf(this.storageCount)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); @@ -379,6 +405,8 @@ public boolean equals(Object o) { UpdateCloudExadataInfrastructureDetails other = (UpdateCloudExadataInfrastructureDetails) o; return java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceVersionPreferences, other.maintenanceVersionPreferences) && java.util.Objects.equals(this.computeCount, other.computeCount) && java.util.Objects.equals(this.storageCount, other.storageCount) && java.util.Objects.equals(this.freeformTags, other.freeformTags) @@ -395,6 +423,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceVersionPreferences == null + ? 43 + : this.maintenanceVersionPreferences.hashCode()); result = (result * PRIME) + (this.computeCount == null ? 43 : this.computeCount.hashCode()); result = (result * PRIME) + (this.storageCount == null ? 43 : this.storageCount.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateExadataInfrastructureDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateExadataInfrastructureDetails.java index 40409078f07..b59d858d309 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateExadataInfrastructureDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateExadataInfrastructureDetails.java @@ -36,6 +36,7 @@ public final class UpdateExadataInfrastructureDetails "corporateProxy", "contacts", "maintenanceWindow", + "maintenanceVersionPreferences", "additionalStorageCount", "isMultiRackDeployment", "multiRackConfigurationFile", @@ -59,6 +60,7 @@ public UpdateExadataInfrastructureDetails( String corporateProxy, java.util.List contacts, MaintenanceWindow maintenanceWindow, + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences, Integer additionalStorageCount, Boolean isMultiRackDeployment, byte[] multiRackConfigurationFile, @@ -81,6 +83,7 @@ public UpdateExadataInfrastructureDetails( this.corporateProxy = corporateProxy; this.contacts = contacts; this.maintenanceWindow = maintenanceWindow; + this.maintenanceVersionPreferences = maintenanceVersionPreferences; this.additionalStorageCount = additionalStorageCount; this.isMultiRackDeployment = isMultiRackDeployment; this.multiRackConfigurationFile = multiRackConfigurationFile; @@ -226,6 +229,16 @@ public Builder maintenanceWindow(MaintenanceWindow maintenanceWindow) { this.__explicitlySet__.add("maintenanceWindow"); return this; } + + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public Builder maintenanceVersionPreferences( + MaintenanceVersionPreferenceDetails maintenanceVersionPreferences) { + this.maintenanceVersionPreferences = maintenanceVersionPreferences; + this.__explicitlySet__.add("maintenanceVersionPreferences"); + return this; + } /** The requested number of additional storage servers for the Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("additionalStorageCount") private Integer additionalStorageCount; @@ -459,6 +472,7 @@ public UpdateExadataInfrastructureDetails build() { this.corporateProxy, this.contacts, this.maintenanceWindow, + this.maintenanceVersionPreferences, this.additionalStorageCount, this.isMultiRackDeployment, this.multiRackConfigurationFile, @@ -506,6 +520,9 @@ public Builder copy(UpdateExadataInfrastructureDetails model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceVersionPreferences")) { + this.maintenanceVersionPreferences(model.getMaintenanceVersionPreferences()); + } if (model.wasPropertyExplicitlySet("additionalStorageCount")) { this.additionalStorageCount(model.getAdditionalStorageCount()); } @@ -666,6 +683,13 @@ public MaintenanceWindow getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceVersionPreferences") + private final MaintenanceVersionPreferenceDetails maintenanceVersionPreferences; + + public MaintenanceVersionPreferenceDetails getMaintenanceVersionPreferences() { + return maintenanceVersionPreferences; + } + /** The requested number of additional storage servers for the Exadata infrastructure. */ @com.fasterxml.jackson.annotation.JsonProperty("additionalStorageCount") private final Integer additionalStorageCount; @@ -924,6 +948,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", corporateProxy=").append(String.valueOf(this.corporateProxy)); sb.append(", contacts=").append(String.valueOf(this.contacts)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceVersionPreferences=") + .append(String.valueOf(this.maintenanceVersionPreferences)); sb.append(", additionalStorageCount=").append(String.valueOf(this.additionalStorageCount)); sb.append(", isMultiRackDeployment=").append(String.valueOf(this.isMultiRackDeployment)); sb.append(", multiRackConfigurationFile=") @@ -973,6 +999,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.corporateProxy, other.corporateProxy) && java.util.Objects.equals(this.contacts, other.contacts) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceVersionPreferences, other.maintenanceVersionPreferences) && java.util.Objects.equals( this.additionalStorageCount, other.additionalStorageCount) && java.util.Objects.equals(this.isMultiRackDeployment, other.isMultiRackDeployment) @@ -1025,6 +1053,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceVersionPreferences == null + ? 43 + : this.maintenanceVersionPreferences.hashCode()); result = (result * PRIME) + (this.additionalStorageCount == null diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/WindowTypeDescription.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/WindowTypeDescription.java new file mode 100644 index 00000000000..0f82c3fcd71 --- /dev/null +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/WindowTypeDescription.java @@ -0,0 +1,224 @@ +/** + * 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.database.model; + +/** + * A key-value pair where the key will hold the window type and value will be a list of window + * details from all the active execution windows of that window type.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = WindowTypeDescription.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class WindowTypeDescription + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"windowType", "messages"}) + public WindowTypeDescription(WindowType windowType, java.util.List messages) { + super(); + this.windowType = windowType; + this.messages = messages; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The execution window is of PLANNED or UNPLANNED type. */ + @com.fasterxml.jackson.annotation.JsonProperty("windowType") + private WindowType windowType; + + /** + * The execution window is of PLANNED or UNPLANNED type. + * + * @param windowType the value to set + * @return this builder + */ + public Builder windowType(WindowType windowType) { + this.windowType = windowType; + this.__explicitlySet__.add("windowType"); + return this; + } + /** + * A list of window detail messages from all the active execution windows based on the + * window type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("messages") + private java.util.List messages; + + /** + * A list of window detail messages from all the active execution windows based on the + * window type. + * + * @param messages the value to set + * @return this builder + */ + public Builder messages(java.util.List messages) { + this.messages = messages; + this.__explicitlySet__.add("messages"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public WindowTypeDescription build() { + WindowTypeDescription model = new WindowTypeDescription(this.windowType, this.messages); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(WindowTypeDescription model) { + if (model.wasPropertyExplicitlySet("windowType")) { + this.windowType(model.getWindowType()); + } + if (model.wasPropertyExplicitlySet("messages")) { + this.messages(model.getMessages()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The execution window is of PLANNED or UNPLANNED type. */ + public enum WindowType implements com.oracle.bmc.http.internal.BmcEnum { + Planned("PLANNED"), + Unplanned("UNPLANNED"), + + /** + * 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(WindowType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (WindowType v : WindowType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + WindowType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static WindowType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'WindowType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** The execution window is of PLANNED or UNPLANNED type. */ + @com.fasterxml.jackson.annotation.JsonProperty("windowType") + private final WindowType windowType; + + /** + * The execution window is of PLANNED or UNPLANNED type. + * + * @return the value + */ + public WindowType getWindowType() { + return windowType; + } + + /** + * A list of window detail messages from all the active execution windows based on the window + * type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("messages") + private final java.util.List messages; + + /** + * A list of window detail messages from all the active execution windows based on the window + * type. + * + * @return the value + */ + public java.util.List getMessages() { + return messages; + } + + @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("WindowTypeDescription("); + sb.append("super=").append(super.toString()); + sb.append("windowType=").append(String.valueOf(this.windowType)); + sb.append(", messages=").append(String.valueOf(this.messages)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof WindowTypeDescription)) { + return false; + } + + WindowTypeDescription other = (WindowTypeDescription) o; + return java.util.Objects.equals(this.windowType, other.windowType) + && java.util.Objects.equals(this.messages, other.messages) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.windowType == null ? 43 : this.windowType.hashCode()); + result = (result * PRIME) + (this.messages == null ? 43 : this.messages.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDbSystemComputePerformancesRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDbSystemComputePerformancesRequest.java index 5c4e5260c87..0ffe52a9db2 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDbSystemComputePerformancesRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListDbSystemComputePerformancesRequest.java @@ -35,6 +35,19 @@ public String getDbSystemShape() { public String getOpcRequestId() { return opcRequestId; } + /** + * The compartment + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + private String compartmentId; + + /** + * The compartment + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + public String getCompartmentId() { + return compartmentId; + } public static class Builder implements com.oracle.bmc.requests.BmcRequest.Builder< @@ -74,6 +87,24 @@ public Builder opcRequestId(String opcRequestId) { return this; } + /** + * The compartment + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + private String compartmentId = null; + + /** + * The compartment + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * @param compartmentId the value to set + * @return this builder instance + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + return this; + } + /** * Set the invocation callback for the request to be built. * @@ -106,6 +137,7 @@ public Builder retryConfiguration( public Builder copy(ListDbSystemComputePerformancesRequest o) { dbSystemShape(o.getDbSystemShape()); opcRequestId(o.getOpcRequestId()); + compartmentId(o.getCompartmentId()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); return this; @@ -145,8 +177,10 @@ public ListDbSystemComputePerformancesRequest buildWithoutInvocationCallback() { new ListDbSystemComputePerformancesRequest(); request.dbSystemShape = dbSystemShape; request.opcRequestId = opcRequestId; + request.compartmentId = compartmentId; return request; - // new ListDbSystemComputePerformancesRequest(dbSystemShape, opcRequestId); + // new ListDbSystemComputePerformancesRequest(dbSystemShape, opcRequestId, + // compartmentId); } } @@ -156,7 +190,10 @@ public ListDbSystemComputePerformancesRequest buildWithoutInvocationCallback() { * @return instance of {@link Builder} that allows you to modify request properties. */ public Builder toBuilder() { - return new Builder().dbSystemShape(dbSystemShape).opcRequestId(opcRequestId); + return new Builder() + .dbSystemShape(dbSystemShape) + .opcRequestId(opcRequestId) + .compartmentId(compartmentId); } /** @@ -175,6 +212,7 @@ public String toString() { sb.append("super=").append(super.toString()); sb.append(",dbSystemShape=").append(String.valueOf(this.dbSystemShape)); sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(")"); return sb.toString(); } @@ -191,7 +229,8 @@ public boolean equals(Object o) { ListDbSystemComputePerformancesRequest other = (ListDbSystemComputePerformancesRequest) o; return super.equals(o) && java.util.Objects.equals(this.dbSystemShape, other.dbSystemShape) - && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.compartmentId, other.compartmentId); } @Override @@ -202,6 +241,9 @@ public int hashCode() { (result * PRIME) + (this.dbSystemShape == null ? 43 : this.dbSystemShape.hashCode()); result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); return result; } } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListParamsForActionTypeRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListParamsForActionTypeRequest.java index 7e378ae4333..eef317481da 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListParamsForActionTypeRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListParamsForActionTypeRequest.java @@ -22,6 +22,56 @@ public class ListParamsForActionTypeRequest public com.oracle.bmc.database.model.RecommendedScheduledActionSummary.ActionType getType() { return type; } + /** + * The plan intent the action will be used for. Relevant to action type that can be used in + * multiple plans + */ + private PlanIntent planIntent; + + /** + * The plan intent the action will be used for. Relevant to action type that can be used in + * multiple plans + */ + public enum PlanIntent implements com.oracle.bmc.http.internal.BmcEnum { + ExadataInfrastructureFullSoftwareUpdate("EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE"), + ExadataInfrastructureSecurityUpdate("EXADATA_INFRASTRUCTURE_SECURITY_UPDATE"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PlanIntent v : PlanIntent.values()) { + map.put(v.getValue(), v); + } + } + + PlanIntent(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PlanIntent create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid PlanIntent: " + key); + } + }; + + /** + * The plan intent the action will be used for. Relevant to action type that can be used in + * multiple plans + */ + public PlanIntent getPlanIntent() { + return planIntent; + } /** The maximum number of items to return per page. */ private Integer limit; @@ -66,6 +116,24 @@ public Builder type( return this; } + /** + * The plan intent the action will be used for. Relevant to action type that can be used in + * multiple plans + */ + private PlanIntent planIntent = null; + + /** + * The plan intent the action will be used for. Relevant to action type that can be used in + * multiple plans + * + * @param planIntent the value to set + * @return this builder instance + */ + public Builder planIntent(PlanIntent planIntent) { + this.planIntent = planIntent; + return this; + } + /** The maximum number of items to return per page. */ private Integer limit = null; @@ -139,6 +207,7 @@ public Builder retryConfiguration( */ public Builder copy(ListParamsForActionTypeRequest o) { type(o.getType()); + planIntent(o.getPlanIntent()); limit(o.getLimit()); page(o.getPage()); opcRequestId(o.getOpcRequestId()); @@ -177,11 +246,12 @@ public ListParamsForActionTypeRequest build() { public ListParamsForActionTypeRequest buildWithoutInvocationCallback() { ListParamsForActionTypeRequest request = new ListParamsForActionTypeRequest(); request.type = type; + request.planIntent = planIntent; request.limit = limit; request.page = page; request.opcRequestId = opcRequestId; return request; - // new ListParamsForActionTypeRequest(type, limit, page, opcRequestId); + // new ListParamsForActionTypeRequest(type, planIntent, limit, page, opcRequestId); } } @@ -191,7 +261,12 @@ public ListParamsForActionTypeRequest buildWithoutInvocationCallback() { * @return instance of {@link Builder} that allows you to modify request properties. */ public Builder toBuilder() { - return new Builder().type(type).limit(limit).page(page).opcRequestId(opcRequestId); + return new Builder() + .type(type) + .planIntent(planIntent) + .limit(limit) + .page(page) + .opcRequestId(opcRequestId); } /** @@ -209,6 +284,7 @@ public String toString() { sb.append("("); sb.append("super=").append(super.toString()); sb.append(",type=").append(String.valueOf(this.type)); + sb.append(",planIntent=").append(String.valueOf(this.planIntent)); sb.append(",limit=").append(String.valueOf(this.limit)); sb.append(",page=").append(String.valueOf(this.page)); sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); @@ -228,6 +304,7 @@ public boolean equals(Object o) { ListParamsForActionTypeRequest other = (ListParamsForActionTypeRequest) o; return super.equals(o) && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.planIntent, other.planIntent) && java.util.Objects.equals(this.limit, other.limit) && java.util.Objects.equals(this.page, other.page) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); @@ -238,6 +315,7 @@ public int hashCode() { final int PRIME = 59; int result = super.hashCode(); result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.planIntent == null ? 43 : this.planIntent.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.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListRecommendedScheduledActionsRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListRecommendedScheduledActionsRequest.java index b5129e751cd..0d4ea718fb7 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListRecommendedScheduledActionsRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListRecommendedScheduledActionsRequest.java @@ -49,6 +49,7 @@ public String getSchedulingPolicyTargetResourceId() { /** The scheduling plan intent the scheduled actions will be for. */ public enum PlanIntent implements com.oracle.bmc.http.internal.BmcEnum { ExadataInfrastructureFullSoftwareUpdate("EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE"), + ExadataInfrastructureSecurityUpdate("EXADATA_INFRASTRUCTURE_SECURITY_UPDATE"), ; private final String value; diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListSchedulingPlansRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListSchedulingPlansRequest.java index 8101d6dc3cf..1b708013a87 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListSchedulingPlansRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListSchedulingPlansRequest.java @@ -179,6 +179,47 @@ public String getResourceId() { public String getId() { return id; } + /** A filter to return only resources that match the given plan intent exactly. */ + private PlanIntent planIntent; + + /** A filter to return only resources that match the given plan intent exactly. */ + public enum PlanIntent implements com.oracle.bmc.http.internal.BmcEnum { + ExadataInfrastructureFullSoftwareUpdate("EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE"), + ExadataInfrastructureSecurityUpdate("EXADATA_INFRASTRUCTURE_SECURITY_UPDATE"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PlanIntent v : PlanIntent.values()) { + map.put(v.getValue(), v); + } + } + + PlanIntent(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PlanIntent create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid PlanIntent: " + key); + } + }; + + /** A filter to return only resources that match the given plan intent exactly. */ + public PlanIntent getPlanIntent() { + return planIntent; + } public static class Builder implements com.oracle.bmc.requests.BmcRequest.Builder< @@ -354,6 +395,20 @@ public Builder id(String id) { return this; } + /** A filter to return only resources that match the given plan intent exactly. */ + private PlanIntent planIntent = null; + + /** + * A filter to return only resources that match the given plan intent exactly. + * + * @param planIntent the value to set + * @return this builder instance + */ + public Builder planIntent(PlanIntent planIntent) { + this.planIntent = planIntent; + return this; + } + /** * Set the invocation callback for the request to be built. * @@ -395,6 +450,7 @@ public Builder copy(ListSchedulingPlansRequest o) { displayName(o.getDisplayName()); resourceId(o.getResourceId()); id(o.getId()); + planIntent(o.getPlanIntent()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); return this; @@ -440,9 +496,11 @@ public ListSchedulingPlansRequest buildWithoutInvocationCallback() { request.displayName = displayName; request.resourceId = resourceId; request.id = id; + request.planIntent = planIntent; return request; // new ListSchedulingPlansRequest(compartmentId, limit, page, opcRequestId, sortBy, - // sortOrder, lifecycleState, schedulingPolicyId, displayName, resourceId, id); + // sortOrder, lifecycleState, schedulingPolicyId, displayName, resourceId, id, + // planIntent); } } @@ -463,7 +521,8 @@ public Builder toBuilder() { .schedulingPolicyId(schedulingPolicyId) .displayName(displayName) .resourceId(resourceId) - .id(id); + .id(id) + .planIntent(planIntent); } /** @@ -491,6 +550,7 @@ public String toString() { sb.append(",displayName=").append(String.valueOf(this.displayName)); sb.append(",resourceId=").append(String.valueOf(this.resourceId)); sb.append(",id=").append(String.valueOf(this.id)); + sb.append(",planIntent=").append(String.valueOf(this.planIntent)); sb.append(")"); return sb.toString(); } @@ -516,7 +576,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.schedulingPolicyId, other.schedulingPolicyId) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.resourceId, other.resourceId) - && java.util.Objects.equals(this.id, other.id); + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.planIntent, other.planIntent); } @Override @@ -542,6 +603,7 @@ public int hashCode() { result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.resourceId == null ? 43 : this.resourceId.hashCode()); result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.planIntent == null ? 43 : this.planIntent.hashCode()); return result; } } diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListSchedulingPoliciesRequest.java b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListSchedulingPoliciesRequest.java index 74d0a9101ee..f5e37bd3a29 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListSchedulingPoliciesRequest.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/requests/ListSchedulingPoliciesRequest.java @@ -164,6 +164,13 @@ public SortOrder getSortOrder() { public String getDisplayName() { return displayName; } + /** A filter to return only resources that match the given cadence period exactly. */ + private com.oracle.bmc.database.model.SchedulingPolicySummary.Cadence cadence; + + /** A filter to return only resources that match the given cadence period exactly. */ + public com.oracle.bmc.database.model.SchedulingPolicySummary.Cadence getCadence() { + return cadence; + } public static class Builder implements com.oracle.bmc.requests.BmcRequest.Builder< @@ -300,6 +307,21 @@ public Builder displayName(String displayName) { return this; } + /** A filter to return only resources that match the given cadence period exactly. */ + private com.oracle.bmc.database.model.SchedulingPolicySummary.Cadence cadence = null; + + /** + * A filter to return only resources that match the given cadence period exactly. + * + * @param cadence the value to set + * @return this builder instance + */ + public Builder cadence( + com.oracle.bmc.database.model.SchedulingPolicySummary.Cadence cadence) { + this.cadence = cadence; + return this; + } + /** * Set the invocation callback for the request to be built. * @@ -338,6 +360,7 @@ public Builder copy(ListSchedulingPoliciesRequest o) { sortOrder(o.getSortOrder()); lifecycleState(o.getLifecycleState()); displayName(o.getDisplayName()); + cadence(o.getCadence()); invocationCallback(o.getInvocationCallback()); retryConfiguration(o.getRetryConfiguration()); return this; @@ -380,9 +403,10 @@ public ListSchedulingPoliciesRequest buildWithoutInvocationCallback() { request.sortOrder = sortOrder; request.lifecycleState = lifecycleState; request.displayName = displayName; + request.cadence = cadence; return request; // new ListSchedulingPoliciesRequest(compartmentId, limit, page, opcRequestId, sortBy, - // sortOrder, lifecycleState, displayName); + // sortOrder, lifecycleState, displayName, cadence); } } @@ -400,7 +424,8 @@ public Builder toBuilder() { .sortBy(sortBy) .sortOrder(sortOrder) .lifecycleState(lifecycleState) - .displayName(displayName); + .displayName(displayName) + .cadence(cadence); } /** @@ -425,6 +450,7 @@ public String toString() { sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(",displayName=").append(String.valueOf(this.displayName)); + sb.append(",cadence=").append(String.valueOf(this.cadence)); sb.append(")"); return sb.toString(); } @@ -447,7 +473,8 @@ 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.lifecycleState, other.lifecycleState) - && java.util.Objects.equals(this.displayName, other.displayName); + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.cadence, other.cadence); } @Override @@ -466,6 +493,7 @@ public int hashCode() { (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.cadence == null ? 43 : this.cadence.hashCode()); return result; } } diff --git a/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json b/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json index d78b87fa248..8d55d99adab 100644 --- a/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json +++ b/bmc-database/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-database/reflect-config.json @@ -1724,6 +1724,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.AutonomousVmCluster$DistributionAlgorithm", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.AutonomousVmCluster$ComputeModel", @@ -1784,6 +1790,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.AutonomousVmClusterSummary$DistributionAlgorithm", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.AutonomousVmClusterSummary$ComputeModel", @@ -2574,6 +2586,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.CloudAutonomousVmCluster$DistributionAlgorithm", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.CloudAutonomousVmClusterResourceDetails", @@ -2640,6 +2658,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.CloudAutonomousVmClusterSummary$DistributionAlgorithm", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.CloudDatabaseManagementConfig", @@ -3475,6 +3499,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.CreateAutonomousVmClusterDetails$DistributionAlgorithm", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.CreateBackupDestinationDetails", @@ -3522,6 +3552,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.CreateCloudAutonomousVmClusterDetails$DistributionAlgorithm", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.CreateCloudAutonomousVmClusterDetails$LicenseModel", @@ -4533,6 +4569,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.CreateSchedulingPlanDetails$PlanIntent", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.CreateSchedulingPolicyDetails", @@ -8150,6 +8192,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.MaintenanceVersionPreferenceDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.MaintenanceVersionPreferenceDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.MaintenanceWindow", @@ -10036,6 +10092,18 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.UpdateAutonomousContainerDatabaseDetails$DistributionAffinity", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.UpdateAutonomousContainerDatabaseDetails$NetServicesArchitecture", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.UpdateAutonomousDatabaseBackupDetails", @@ -10168,6 +10236,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.UpdateAutonomousVmClusterDetails$DistributionAlgorithm", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.UpdateBackupDestinationDetails", @@ -10222,6 +10296,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.UpdateCloudAutonomousVmClusterDetails$DistributionAlgorithm", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.UpdateCloudExadataInfrastructureDetails", @@ -11309,6 +11389,26 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.WindowTypeDescription", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.WindowTypeDescription$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.database.model.WindowTypeDescription$WindowType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.database.model.WorkloadType", diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml index b8bb3e91f12..8c35bb7bc77 100644 --- a/bmc-databasemanagement/pom.xml +++ b/bmc-databasemanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-databasemanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml index fac11564723..53bc6301971 100644 --- a/bmc-databasemigration/pom.xml +++ b/bmc-databasemigration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-databasemigration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml index 22087a8af98..2e75ae09201 100644 --- a/bmc-databasetools/pom.xml +++ b/bmc-databasetools/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-databasetools @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-databasetoolsruntime/pom.xml b/bmc-databasetoolsruntime/pom.xml index 12039101d53..3bab11fafb6 100644 --- a/bmc-databasetoolsruntime/pom.xml +++ b/bmc-databasetoolsruntime/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-databasetoolsruntime @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml index 239387dd101..2ebb4de5179 100644 --- a/bmc-datacatalog/pom.xml +++ b/bmc-datacatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-datacatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml index 0c24ea28f5e..eabb478661b 100644 --- a/bmc-dataflow/pom.xml +++ b/bmc-dataflow/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-dataflow @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml index 48d9b35a1b7..87dc6cf49a2 100644 --- a/bmc-dataintegration/pom.xml +++ b/bmc-dataintegration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-dataintegration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml index ee35e433257..9f143aa9148 100644 --- a/bmc-datalabelingservice/pom.xml +++ b/bmc-datalabelingservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-datalabelingservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml index e4b8bb272f8..0826351e350 100644 --- a/bmc-datalabelingservicedataplane/pom.xml +++ b/bmc-datalabelingservicedataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-datalabelingservicedataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml index 76136139478..44feac0ef69 100644 --- a/bmc-datasafe/pom.xml +++ b/bmc-datasafe/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-datasafe @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml index 3bb35a8ba5c..2e1721e25e3 100644 --- a/bmc-datascience/pom.xml +++ b/bmc-datascience/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-datascience @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScience.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScience.java index c1782e11b4c..a8a03c34281 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScience.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScience.java @@ -192,6 +192,24 @@ public interface DataScience extends AutoCloseable { */ CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request); + /** + * Moves a compute target into a different compartment. When provided, If-Match is checked + * against ETag values of the resource. + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ChangeComputeTargetCompartment API. + */ + ChangeComputeTargetCompartmentResponse changeComputeTargetCompartment( + ChangeComputeTargetCompartmentRequest request); + /** * Moves a private endpoint into a different compartment. When provided, If-Match is checked * against ETag values of the resource. @@ -488,6 +506,22 @@ ChangeProjectCompartmentResponse changeProjectCompartment( ChangeScheduleCompartmentResponse changeScheduleCompartment( ChangeScheduleCompartmentRequest request); + /** + * Creates a new compute target resource. + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use CreateComputeTarget + * API. + */ + CreateComputeTargetResponse createComputeTarget(CreateComputeTargetRequest request); + /** * Creates a Data Science private endpoint to be used by a Data Science resource. * @@ -1119,6 +1153,22 @@ DeactivateNotebookSessionResponse deactivateNotebookSession( */ DeactivateScheduleResponse deactivateSchedule(DeactivateScheduleRequest request); + /** + * Deletes the specified compute target. + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use DeleteComputeTarget + * API. + */ + DeleteComputeTargetResponse deleteComputeTarget(DeleteComputeTargetRequest request); + /** * Deletes a private endpoint using `privateEndpointId`. * @@ -1459,6 +1509,22 @@ EnableMlApplicationInstanceViewTriggerResponse enableMlApplicationInstanceViewTr */ ExportModelArtifactResponse exportModelArtifact(ExportModelArtifactRequest request); + /** + * Retrieves the compute target for the specified `computeTargetId`. + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use GetComputeTarget + * API. + */ + GetComputeTargetResponse getComputeTarget(GetComputeTargetRequest request); + /** * Retrieves an private endpoint using a `privateEndpointId`. * @@ -2023,6 +2089,39 @@ HeadModelDefinedMetadatumArtifactResponse headModelDefinedMetadatumArtifact( */ ImportModelArtifactResponse importModelArtifact(ImportModelArtifactRequest request); + /** + * Lists the valid compute target shapes. + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListComputeTargetShapes API. + */ + ListComputeTargetShapesResponse listComputeTargetShapes(ListComputeTargetShapesRequest request); + + /** + * List all compute targets in the specified compartment. Supports queries on various other + * parameters in the query alongside compartmentId (must be included). + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ListComputeTargets + * API. + */ + ListComputeTargetsResponse listComputeTargets(ListComputeTargetsRequest request); + /** * List containers. * @@ -2614,6 +2713,22 @@ TriggerMlApplicationInstanceFlowResponse triggerMlApplicationInstanceFlow( TriggerMlApplicationInstanceViewFlowResponse triggerMlApplicationInstanceViewFlow( TriggerMlApplicationInstanceViewFlowRequest request); + /** + * Updates the compute target. + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use UpdateComputeTarget + * API. + */ + UpdateComputeTargetResponse updateComputeTarget(UpdateComputeTargetRequest request); + /** * Updates a private endpoint using a `privateEndpointId`. If changes to a private endpoint * match a previously defined private endpoint, then a 409 status code is returned. This diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsync.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsync.java index 2ecf6b2f7d1..a6852cb2219 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsync.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsync.java @@ -188,6 +188,25 @@ java.util.concurrent.Future cancelWorkRequest( CancelWorkRequestRequest, CancelWorkRequestResponse> handler); + /** + * Moves a compute target into a different compartment. When provided, If-Match is checked + * against ETag values of the resource. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future + changeComputeTargetCompartment( + ChangeComputeTargetCompartmentRequest request, + com.oracle.bmc.responses.AsyncHandler< + ChangeComputeTargetCompartmentRequest, + ChangeComputeTargetCompartmentResponse> + handler); + /** * Moves a private endpoint into a different compartment. When provided, If-Match is checked * against ETag values of the resource. @@ -488,6 +507,22 @@ java.util.concurrent.Future changeScheduleCom ChangeScheduleCompartmentRequest, ChangeScheduleCompartmentResponse> handler); + /** + * Creates a new compute target resource. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future createComputeTarget( + CreateComputeTargetRequest request, + com.oracle.bmc.responses.AsyncHandler< + CreateComputeTargetRequest, CreateComputeTargetResponse> + handler); + /** * Creates a Data Science private endpoint to be used by a Data Science resource. * @@ -936,6 +971,22 @@ java.util.concurrent.Future deactivateSchedule( DeactivateScheduleRequest, DeactivateScheduleResponse> handler); + /** + * Deletes the specified compute target. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future deleteComputeTarget( + DeleteComputeTargetRequest request, + com.oracle.bmc.responses.AsyncHandler< + DeleteComputeTargetRequest, DeleteComputeTargetResponse> + handler); + /** * Deletes a private endpoint using `privateEndpointId`. * @@ -1279,6 +1330,21 @@ java.util.concurrent.Future exportModelArtifact( ExportModelArtifactRequest, ExportModelArtifactResponse> handler); + /** + * Retrieves the compute target for the specified `computeTargetId`. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future getComputeTarget( + GetComputeTargetRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + /** * Retrieves an private endpoint using a `privateEndpointId`. * @@ -1841,6 +1907,39 @@ java.util.concurrent.Future importModelArtifact( ImportModelArtifactRequest, ImportModelArtifactResponse> handler); + /** + * Lists the valid compute target shapes. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listComputeTargetShapes( + ListComputeTargetShapesRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListComputeTargetShapesRequest, ListComputeTargetShapesResponse> + handler); + + /** + * List all compute targets in the specified compartment. Supports queries on various other + * parameters in the query alongside compartmentId (must be included). + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listComputeTargets( + ListComputeTargetsRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListComputeTargetsRequest, ListComputeTargetsResponse> + handler); + /** * List containers. * @@ -2402,6 +2501,22 @@ java.util.concurrent.Future restoreArchive TriggerMlApplicationInstanceViewFlowResponse> handler); + /** + * Updates the compute target. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future updateComputeTarget( + UpdateComputeTargetRequest request, + com.oracle.bmc.responses.AsyncHandler< + UpdateComputeTargetRequest, UpdateComputeTargetResponse> + handler); + /** * Updates a private endpoint using a `privateEndpointId`. If changes to a private endpoint * match a previously defined private endpoint, then a 409 status code is returned. This diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsyncClient.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsyncClient.java index d9f190e5f33..fca458f489e 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsyncClient.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceAsyncClient.java @@ -377,6 +377,44 @@ public java.util.concurrent.Future cancelWorkRequest( .callAsync(handler); } + @Override + public java.util.concurrent.Future + changeComputeTargetCompartment( + ChangeComputeTargetCompartmentRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ChangeComputeTargetCompartmentRequest, + ChangeComputeTargetCompartmentResponse> + handler) { + + Validate.notBlank(request.getComputeTargetId(), "computeTargetId must not be blank"); + Objects.requireNonNull( + request.getChangeComputeTargetCompartmentDetails(), + "changeComputeTargetCompartmentDetails is required"); + + return clientCall(request, ChangeComputeTargetCompartmentResponse::builder) + .logger(LOG, "changeComputeTargetCompartment") + .serviceDetails( + "DataScience", + "ChangeComputeTargetCompartment", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/ChangeComputeTargetCompartment") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeComputeTargetCompartmentRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendPathParam(request.getComputeTargetId()) + .appendPathParam("actions") + .appendPathParam("changeCompartment") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleResponseHeaderString( + "opc-request-id", + ChangeComputeTargetCompartmentResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future changeDataSciencePrivateEndpointCompartment( @@ -1030,6 +1068,43 @@ public java.util.concurrent.Future changeSche .callAsync(handler); } + @Override + public java.util.concurrent.Future createComputeTarget( + CreateComputeTargetRequest request, + final com.oracle.bmc.responses.AsyncHandler< + CreateComputeTargetRequest, CreateComputeTargetResponse> + handler) { + Objects.requireNonNull( + request.getCreateComputeTargetDetails(), "createComputeTargetDetails is required"); + + return clientCall(request, CreateComputeTargetResponse::builder) + .logger(LOG, "createComputeTarget") + .serviceDetails( + "DataScience", + "CreateComputeTarget", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/CreateComputeTarget") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateComputeTargetRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.datascience.model.ComputeTarget.class, + CreateComputeTargetResponse.Builder::computeTarget) + .handleResponseHeaderString("etag", CreateComputeTargetResponse.Builder::etag) + .handleResponseHeaderString( + "location", CreateComputeTargetResponse.Builder::location) + .handleResponseHeaderString( + "opc-request-id", CreateComputeTargetResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", + CreateComputeTargetResponse.Builder::opcWorkRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future createDataSciencePrivateEndpoint( @@ -2035,6 +2110,37 @@ public java.util.concurrent.Future deactivateSchedul .callAsync(handler); } + @Override + public java.util.concurrent.Future deleteComputeTarget( + DeleteComputeTargetRequest request, + final com.oracle.bmc.responses.AsyncHandler< + DeleteComputeTargetRequest, DeleteComputeTargetResponse> + handler) { + + Validate.notBlank(request.getComputeTargetId(), "computeTargetId must not be blank"); + + return clientCall(request, DeleteComputeTargetResponse::builder) + .logger(LOG, "deleteComputeTarget") + .serviceDetails( + "DataScience", + "DeleteComputeTarget", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/DeleteComputeTarget") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteComputeTargetRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendPathParam(request.getComputeTargetId()) + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleResponseHeaderString( + "opc-work-request-id", + DeleteComputeTargetResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", DeleteComputeTargetResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future deleteDataSciencePrivateEndpoint( @@ -2735,6 +2841,37 @@ public java.util.concurrent.Future exportModelArtif .callAsync(handler); } + @Override + public java.util.concurrent.Future getComputeTarget( + GetComputeTargetRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetComputeTargetRequest, GetComputeTargetResponse> + handler) { + + Validate.notBlank(request.getComputeTargetId(), "computeTargetId must not be blank"); + + return clientCall(request, GetComputeTargetResponse::builder) + .logger(LOG, "getComputeTarget") + .serviceDetails( + "DataScience", + "GetComputeTarget", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/GetComputeTarget") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetComputeTargetRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendPathParam(request.getComputeTargetId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBody( + com.oracle.bmc.datascience.model.ComputeTarget.class, + GetComputeTargetResponse.Builder::computeTarget) + .handleResponseHeaderString("etag", GetComputeTargetResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", GetComputeTargetResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getDataSciencePrivateEndpoint( @@ -4040,6 +4177,81 @@ public java.util.concurrent.Future importModelArtif .callAsync(handler); } + @Override + public java.util.concurrent.Future listComputeTargetShapes( + ListComputeTargetShapesRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListComputeTargetShapesRequest, ListComputeTargetShapesResponse> + handler) { + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); + + return clientCall(request, ListComputeTargetShapesResponse::builder) + .logger(LOG, "listComputeTargetShapes") + .serviceDetails( + "DataScience", + "ListComputeTargetShapes", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTargetShapeSummary/ListComputeTargetShapes") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListComputeTargetShapesRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargetShapes") + .appendQueryParam("compartmentId", request.getCompartmentId()) + .appendQueryParam("limit", request.getLimit()) + .appendQueryParam("page", request.getPage()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBodyList( + com.oracle.bmc.datascience.model.ComputeTargetShapeSummary.class, + ListComputeTargetShapesResponse.Builder::items) + .handleResponseHeaderString( + "opc-next-page", ListComputeTargetShapesResponse.Builder::opcNextPage) + .handleResponseHeaderString( + "opc-prev-page", ListComputeTargetShapesResponse.Builder::opcPrevPage) + .handleResponseHeaderString( + "opc-request-id", ListComputeTargetShapesResponse.Builder::opcRequestId) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future listComputeTargets( + ListComputeTargetsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListComputeTargetsRequest, ListComputeTargetsResponse> + handler) { + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); + + return clientCall(request, ListComputeTargetsResponse::builder) + .logger(LOG, "listComputeTargets") + .serviceDetails( + "DataScience", + "ListComputeTargets", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTargetSummary/ListComputeTargets") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListComputeTargetsRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendQueryParam("compartmentId", request.getCompartmentId()) + .appendQueryParam("id", request.getId()) + .appendQueryParam("displayName", request.getDisplayName()) + .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) + .appendQueryParam("limit", request.getLimit()) + .appendQueryParam("page", request.getPage()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendEnumQueryParam("sortBy", request.getSortBy()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBodyList( + com.oracle.bmc.datascience.model.ComputeTargetSummary.class, + ListComputeTargetsResponse.Builder::items) + .handleResponseHeaderString( + "opc-next-page", ListComputeTargetsResponse.Builder::opcNextPage) + .handleResponseHeaderString( + "opc-prev-page", ListComputeTargetsResponse.Builder::opcPrevPage) + .handleResponseHeaderString( + "opc-request-id", ListComputeTargetsResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listContainers( ListContainersRequest request, @@ -5438,6 +5650,40 @@ public java.util.concurrent.Future putMlApplica .callAsync(handler); } + @Override + public java.util.concurrent.Future updateComputeTarget( + UpdateComputeTargetRequest request, + final com.oracle.bmc.responses.AsyncHandler< + UpdateComputeTargetRequest, UpdateComputeTargetResponse> + handler) { + + Validate.notBlank(request.getComputeTargetId(), "computeTargetId must not be blank"); + Objects.requireNonNull( + request.getUpdateComputeTargetDetails(), "updateComputeTargetDetails is required"); + + return clientCall(request, UpdateComputeTargetResponse::builder) + .logger(LOG, "updateComputeTarget") + .serviceDetails( + "DataScience", + "UpdateComputeTarget", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/UpdateComputeTarget") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(UpdateComputeTargetRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendPathParam(request.getComputeTargetId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .hasBody() + .handleResponseHeaderString( + "opc-request-id", UpdateComputeTargetResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", + UpdateComputeTargetResponse.Builder::opcWorkRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future updateDataSciencePrivateEndpoint( diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceClient.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceClient.java index 8845f2692ee..bee1f233a8e 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceClient.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceClient.java @@ -381,6 +381,40 @@ public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest requ .callSync(); } + @Override + public ChangeComputeTargetCompartmentResponse changeComputeTargetCompartment( + ChangeComputeTargetCompartmentRequest request) { + + Validate.notBlank(request.getComputeTargetId(), "computeTargetId must not be blank"); + Objects.requireNonNull( + request.getChangeComputeTargetCompartmentDetails(), + "changeComputeTargetCompartmentDetails is required"); + + return clientCall(request, ChangeComputeTargetCompartmentResponse::builder) + .logger(LOG, "changeComputeTargetCompartment") + .serviceDetails( + "DataScience", + "ChangeComputeTargetCompartment", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/ChangeComputeTargetCompartment") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ChangeComputeTargetCompartmentRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendPathParam(request.getComputeTargetId()) + .appendPathParam("actions") + .appendPathParam("changeCompartment") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .operationUsesDefaultRetries() + .hasBody() + .handleResponseHeaderString( + "opc-request-id", + ChangeComputeTargetCompartmentResponse.Builder::opcRequestId) + .callSync(); + } + @Override public ChangeDataSciencePrivateEndpointCompartmentResponse changeDataSciencePrivateEndpointCompartment( @@ -972,6 +1006,40 @@ public ChangeScheduleCompartmentResponse changeScheduleCompartment( .callSync(); } + @Override + public CreateComputeTargetResponse createComputeTarget(CreateComputeTargetRequest request) { + Objects.requireNonNull( + request.getCreateComputeTargetDetails(), "createComputeTargetDetails is required"); + + return clientCall(request, CreateComputeTargetResponse::builder) + .logger(LOG, "createComputeTarget") + .serviceDetails( + "DataScience", + "CreateComputeTarget", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/CreateComputeTarget") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateComputeTargetRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .operationUsesDefaultRetries() + .hasBody() + .handleBody( + com.oracle.bmc.datascience.model.ComputeTarget.class, + CreateComputeTargetResponse.Builder::computeTarget) + .handleResponseHeaderString("etag", CreateComputeTargetResponse.Builder::etag) + .handleResponseHeaderString( + "location", CreateComputeTargetResponse.Builder::location) + .handleResponseHeaderString( + "opc-request-id", CreateComputeTargetResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", + CreateComputeTargetResponse.Builder::opcWorkRequestId) + .callSync(); + } + @Override public CreateDataSciencePrivateEndpointResponse createDataSciencePrivateEndpoint( CreateDataSciencePrivateEndpointRequest request) { @@ -1892,6 +1960,34 @@ public DeactivateScheduleResponse deactivateSchedule(DeactivateScheduleRequest r .callSync(); } + @Override + public DeleteComputeTargetResponse deleteComputeTarget(DeleteComputeTargetRequest request) { + + Validate.notBlank(request.getComputeTargetId(), "computeTargetId must not be blank"); + + return clientCall(request, DeleteComputeTargetResponse::builder) + .logger(LOG, "deleteComputeTarget") + .serviceDetails( + "DataScience", + "DeleteComputeTarget", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/DeleteComputeTarget") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteComputeTargetRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendPathParam(request.getComputeTargetId()) + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleResponseHeaderString( + "opc-work-request-id", + DeleteComputeTargetResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", DeleteComputeTargetResponse.Builder::opcRequestId) + .callSync(); + } + @Override public DeleteDataSciencePrivateEndpointResponse deleteDataSciencePrivateEndpoint( DeleteDataSciencePrivateEndpointRequest request) { @@ -2522,6 +2618,34 @@ public ExportModelArtifactResponse exportModelArtifact(ExportModelArtifactReques .callSync(); } + @Override + public GetComputeTargetResponse getComputeTarget(GetComputeTargetRequest request) { + + Validate.notBlank(request.getComputeTargetId(), "computeTargetId must not be blank"); + + return clientCall(request, GetComputeTargetResponse::builder) + .logger(LOG, "getComputeTarget") + .serviceDetails( + "DataScience", + "GetComputeTarget", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/GetComputeTarget") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetComputeTargetRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendPathParam(request.getComputeTargetId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleBody( + com.oracle.bmc.datascience.model.ComputeTarget.class, + GetComputeTargetResponse.Builder::computeTarget) + .handleResponseHeaderString("etag", GetComputeTargetResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", GetComputeTargetResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetDataSciencePrivateEndpointResponse getDataSciencePrivateEndpoint( GetDataSciencePrivateEndpointRequest request) { @@ -3723,6 +3847,76 @@ public ImportModelArtifactResponse importModelArtifact(ImportModelArtifactReques .callSync(); } + @Override + public ListComputeTargetShapesResponse listComputeTargetShapes( + ListComputeTargetShapesRequest request) { + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); + + return clientCall(request, ListComputeTargetShapesResponse::builder) + .logger(LOG, "listComputeTargetShapes") + .serviceDetails( + "DataScience", + "ListComputeTargetShapes", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTargetShapeSummary/ListComputeTargetShapes") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListComputeTargetShapesRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargetShapes") + .appendQueryParam("compartmentId", request.getCompartmentId()) + .appendQueryParam("limit", request.getLimit()) + .appendQueryParam("page", request.getPage()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleBodyList( + com.oracle.bmc.datascience.model.ComputeTargetShapeSummary.class, + ListComputeTargetShapesResponse.Builder::items) + .handleResponseHeaderString( + "opc-next-page", ListComputeTargetShapesResponse.Builder::opcNextPage) + .handleResponseHeaderString( + "opc-prev-page", ListComputeTargetShapesResponse.Builder::opcPrevPage) + .handleResponseHeaderString( + "opc-request-id", ListComputeTargetShapesResponse.Builder::opcRequestId) + .callSync(); + } + + @Override + public ListComputeTargetsResponse listComputeTargets(ListComputeTargetsRequest request) { + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); + + return clientCall(request, ListComputeTargetsResponse::builder) + .logger(LOG, "listComputeTargets") + .serviceDetails( + "DataScience", + "ListComputeTargets", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTargetSummary/ListComputeTargets") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListComputeTargetsRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendQueryParam("compartmentId", request.getCompartmentId()) + .appendQueryParam("id", request.getId()) + .appendQueryParam("displayName", request.getDisplayName()) + .appendEnumQueryParam("lifecycleState", request.getLifecycleState()) + .appendQueryParam("limit", request.getLimit()) + .appendQueryParam("page", request.getPage()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendEnumQueryParam("sortBy", request.getSortBy()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleBodyList( + com.oracle.bmc.datascience.model.ComputeTargetSummary.class, + ListComputeTargetsResponse.Builder::items) + .handleResponseHeaderString( + "opc-next-page", ListComputeTargetsResponse.Builder::opcNextPage) + .handleResponseHeaderString( + "opc-prev-page", ListComputeTargetsResponse.Builder::opcPrevPage) + .handleResponseHeaderString( + "opc-request-id", ListComputeTargetsResponse.Builder::opcRequestId) + .callSync(); + } + @Override public ListContainersResponse listContainers(ListContainersRequest request) { @@ -5019,6 +5213,37 @@ public TriggerMlApplicationInstanceViewFlowResponse triggerMlApplicationInstance .callSync(); } + @Override + public UpdateComputeTargetResponse updateComputeTarget(UpdateComputeTargetRequest request) { + + Validate.notBlank(request.getComputeTargetId(), "computeTargetId must not be blank"); + Objects.requireNonNull( + request.getUpdateComputeTargetDetails(), "updateComputeTargetDetails is required"); + + return clientCall(request, UpdateComputeTargetResponse::builder) + .logger(LOG, "updateComputeTarget") + .serviceDetails( + "DataScience", + "UpdateComputeTarget", + "https://docs.oracle.com/iaas/api/#/en/data-science/20190101/ComputeTarget/UpdateComputeTarget") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(UpdateComputeTargetRequest::builder) + .basePath("/20190101") + .appendPathParam("computeTargets") + .appendPathParam(request.getComputeTargetId()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .operationUsesDefaultRetries() + .hasBody() + .handleResponseHeaderString( + "opc-request-id", UpdateComputeTargetResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", + UpdateComputeTargetResponse.Builder::opcWorkRequestId) + .callSync(); + } + @Override public UpdateDataSciencePrivateEndpointResponse updateDataSciencePrivateEndpoint( UpdateDataSciencePrivateEndpointRequest request) { diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataSciencePaginators.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataSciencePaginators.java index 46ecdac4476..a0a1eec0337 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataSciencePaginators.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataSciencePaginators.java @@ -41,6 +41,249 @@ public DataSciencePaginators(DataScience client) { this.client = client; } + /** + * Creates a new iterable which will iterate over the responses received from the + * listComputeTargetShapes operation. This iterable will fetch more data from the server as + * needed. + * + * @param request a request which can be sent to the service operation + * @return an {@link java.lang.Iterable} which can be used to iterate over the responses + * received from the service. + */ + public Iterable listComputeTargetShapesResponseIterator( + final ListComputeTargetShapesRequest request) { + return new com.oracle.bmc.paginator.internal.ResponseIterable< + ListComputeTargetShapesRequest.Builder, + ListComputeTargetShapesRequest, + ListComputeTargetShapesResponse>( + new java.util.function.Supplier() { + @Override + public ListComputeTargetShapesRequest.Builder get() { + return ListComputeTargetShapesRequest.builder().copy(request); + } + }, + new java.util.function.Function() { + @Override + public String apply(ListComputeTargetShapesResponse response) { + return response.getOpcNextPage(); + } + }, + new java.util.function.Function< + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListComputeTargetShapesRequest.Builder>, + ListComputeTargetShapesRequest>() { + @Override + public ListComputeTargetShapesRequest apply( + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListComputeTargetShapesRequest.Builder> + input) { + if (input.getNextPageToken() == null) { + return input.getRequestBuilder().build(); + } else { + return input.getRequestBuilder() + .page(input.getNextPageToken().orElse(null)) + .build(); + } + } + }, + new java.util.function.Function< + ListComputeTargetShapesRequest, ListComputeTargetShapesResponse>() { + @Override + public ListComputeTargetShapesResponse apply( + ListComputeTargetShapesRequest request) { + return client.listComputeTargetShapes(request); + } + }); + } + + /** + * Creates a new iterable which will iterate over the {@link + * com.oracle.bmc.datascience.model.ComputeTargetShapeSummary} objects contained in responses + * from the listComputeTargetShapes operation. This iterable will fetch more data from the + * server as needed. + * + * @param request a request which can be sent to the service operation + * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link + * com.oracle.bmc.datascience.model.ComputeTargetShapeSummary} objects contained in + * responses received from the service. + */ + public Iterable + listComputeTargetShapesRecordIterator(final ListComputeTargetShapesRequest request) { + return new com.oracle.bmc.paginator.internal.ResponseRecordIterable< + ListComputeTargetShapesRequest.Builder, + ListComputeTargetShapesRequest, + ListComputeTargetShapesResponse, + com.oracle.bmc.datascience.model.ComputeTargetShapeSummary>( + new java.util.function.Supplier() { + @Override + public ListComputeTargetShapesRequest.Builder get() { + return ListComputeTargetShapesRequest.builder().copy(request); + } + }, + new java.util.function.Function() { + @Override + public String apply(ListComputeTargetShapesResponse response) { + return response.getOpcNextPage(); + } + }, + new java.util.function.Function< + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListComputeTargetShapesRequest.Builder>, + ListComputeTargetShapesRequest>() { + @Override + public ListComputeTargetShapesRequest apply( + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListComputeTargetShapesRequest.Builder> + input) { + if (input.getNextPageToken() == null) { + return input.getRequestBuilder().build(); + } else { + return input.getRequestBuilder() + .page(input.getNextPageToken().orElse(null)) + .build(); + } + } + }, + new java.util.function.Function< + ListComputeTargetShapesRequest, ListComputeTargetShapesResponse>() { + @Override + public ListComputeTargetShapesResponse apply( + ListComputeTargetShapesRequest request) { + return client.listComputeTargetShapes(request); + } + }, + new java.util.function.Function< + ListComputeTargetShapesResponse, + java.util.List< + com.oracle.bmc.datascience.model.ComputeTargetShapeSummary>>() { + @Override + public java.util.List< + com.oracle.bmc.datascience.model.ComputeTargetShapeSummary> + apply(ListComputeTargetShapesResponse response) { + return response.getItems(); + } + }); + } + + /** + * Creates a new iterable which will iterate over the responses received from the + * listComputeTargets operation. This iterable will fetch more data from the server as needed. + * + * @param request a request which can be sent to the service operation + * @return an {@link java.lang.Iterable} which can be used to iterate over the responses + * received from the service. + */ + public Iterable listComputeTargetsResponseIterator( + final ListComputeTargetsRequest request) { + return new com.oracle.bmc.paginator.internal.ResponseIterable< + ListComputeTargetsRequest.Builder, + ListComputeTargetsRequest, + ListComputeTargetsResponse>( + new java.util.function.Supplier() { + @Override + public ListComputeTargetsRequest.Builder get() { + return ListComputeTargetsRequest.builder().copy(request); + } + }, + new java.util.function.Function() { + @Override + public String apply(ListComputeTargetsResponse response) { + return response.getOpcNextPage(); + } + }, + new java.util.function.Function< + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListComputeTargetsRequest.Builder>, + ListComputeTargetsRequest>() { + @Override + public ListComputeTargetsRequest apply( + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListComputeTargetsRequest.Builder> + input) { + if (input.getNextPageToken() == null) { + return input.getRequestBuilder().build(); + } else { + return input.getRequestBuilder() + .page(input.getNextPageToken().orElse(null)) + .build(); + } + } + }, + new java.util.function.Function< + ListComputeTargetsRequest, ListComputeTargetsResponse>() { + @Override + public ListComputeTargetsResponse apply(ListComputeTargetsRequest request) { + return client.listComputeTargets(request); + } + }); + } + + /** + * Creates a new iterable which will iterate over the {@link + * com.oracle.bmc.datascience.model.ComputeTargetSummary} objects contained in responses from + * the listComputeTargets operation. This iterable will fetch more data from the server as + * needed. + * + * @param request a request which can be sent to the service operation + * @return an {@link java.lang.Iterable} which can be used to iterate over the {@link + * com.oracle.bmc.datascience.model.ComputeTargetSummary} objects contained in responses + * received from the service. + */ + public Iterable + listComputeTargetsRecordIterator(final ListComputeTargetsRequest request) { + return new com.oracle.bmc.paginator.internal.ResponseRecordIterable< + ListComputeTargetsRequest.Builder, + ListComputeTargetsRequest, + ListComputeTargetsResponse, + com.oracle.bmc.datascience.model.ComputeTargetSummary>( + new java.util.function.Supplier() { + @Override + public ListComputeTargetsRequest.Builder get() { + return ListComputeTargetsRequest.builder().copy(request); + } + }, + new java.util.function.Function() { + @Override + public String apply(ListComputeTargetsResponse response) { + return response.getOpcNextPage(); + } + }, + new java.util.function.Function< + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListComputeTargetsRequest.Builder>, + ListComputeTargetsRequest>() { + @Override + public ListComputeTargetsRequest apply( + com.oracle.bmc.paginator.internal.RequestBuilderAndToken< + ListComputeTargetsRequest.Builder> + input) { + if (input.getNextPageToken() == null) { + return input.getRequestBuilder().build(); + } else { + return input.getRequestBuilder() + .page(input.getNextPageToken().orElse(null)) + .build(); + } + } + }, + new java.util.function.Function< + ListComputeTargetsRequest, ListComputeTargetsResponse>() { + @Override + public ListComputeTargetsResponse apply(ListComputeTargetsRequest request) { + return client.listComputeTargets(request); + } + }, + new java.util.function.Function< + ListComputeTargetsResponse, + java.util.List>() { + @Override + public java.util.List + apply(ListComputeTargetsResponse response) { + return response.getItems(); + } + }); + } + /** * Creates a new iterable which will iterate over the responses received from the listContainers * operation. This iterable will fetch more data from the server as needed. diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceWaiters.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceWaiters.java index a20ac6a01d2..f7bfa9d72b5 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceWaiters.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/DataScienceWaiters.java @@ -25,6 +25,112 @@ public DataScienceWaiters( this.client = client; } + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. + * + * @param request the request to send + * @param targetState the desired states to wait for. If multiple states are provided then the + * waiter will return once the resource reaches any of the provided states + * @return a new {@code com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter + forComputeTarget( + GetComputeTargetRequest request, + com.oracle.bmc.datascience.model.ComputeTargetLifecycleState... targetStates) { + com.oracle.bmc.util.internal.Validate.notEmpty( + targetStates, "At least one targetState must be provided"); + com.oracle.bmc.util.internal.Validate.noNullElements( + targetStates, "Null targetState values are not permitted"); + + return forComputeTarget( + com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param targetState the desired state to wait for + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @return a new {@code com.oracle.bmc.waiter.Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter + forComputeTarget( + GetComputeTargetRequest request, + com.oracle.bmc.datascience.model.ComputeTargetLifecycleState targetState, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy) { + com.oracle.bmc.util.internal.Validate.notNull( + targetState, "The targetState cannot be null"); + + return forComputeTarget( + com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy), + request, + targetState); + } + + /** + * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration. + * + * @param request the request to send + * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use + * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use + * @param targetStates the desired states to wait for. The waiter will return once the resource + * reaches any of the provided states + * @return a new {@code Waiter} instance + */ + public com.oracle.bmc.waiter.Waiter + forComputeTarget( + GetComputeTargetRequest request, + com.oracle.bmc.waiter.TerminationStrategy terminationStrategy, + com.oracle.bmc.waiter.DelayStrategy delayStrategy, + com.oracle.bmc.datascience.model.ComputeTargetLifecycleState... targetStates) { + com.oracle.bmc.util.internal.Validate.notEmpty( + targetStates, "At least one targetState must be provided"); + com.oracle.bmc.util.internal.Validate.noNullElements( + targetStates, "Null targetState values are not permitted"); + + return forComputeTarget( + com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy), + request, + targetStates); + } + + // Helper method to create a new Waiter for ComputeTarget. + private com.oracle.bmc.waiter.Waiter + forComputeTarget( + com.oracle.bmc.waiter.BmcGenericWaiter waiter, + final GetComputeTargetRequest request, + final com.oracle.bmc.datascience.model.ComputeTargetLifecycleState... + targetStates) { + final java.util.Set + targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates)); + + return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>( + executorService, + waiter.toCallable( + () -> request, + new java.util.function.Function< + GetComputeTargetRequest, GetComputeTargetResponse>() { + @Override + public GetComputeTargetResponse apply(GetComputeTargetRequest request) { + return client.getComputeTarget(request); + } + }, + new java.util.function.Predicate() { + @Override + public boolean test(GetComputeTargetResponse response) { + return targetStatesSet.contains( + response.getComputeTarget().getLifecycleState()); + } + }, + targetStatesSet.contains( + com.oracle.bmc.datascience.model.ComputeTargetLifecycleState + .Deleted)), + request); + } + /** * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration. * diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/AuthConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/AuthConfiguration.java index 2b9288a268c..0d829c4e3da 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/AuthConfiguration.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/AuthConfiguration.java @@ -22,12 +22,6 @@ property = "type", defaultImpl = AuthConfiguration.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = IdcsAuthConfiguration.class, - name = "IDCS"), - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = IdcsCustomServiceAuthConfiguration.class, - name = "IDCS_CUSTOM_SERVICE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = IamAuthConfiguration.class, name = "IAM") @@ -83,9 +77,7 @@ public int hashCode() { /** Type of AuthN/Z */ public enum Type implements com.oracle.bmc.http.internal.BmcEnum { - Idcs("IDCS"), Iam("IAM"), - IdcsCustomService("IDCS_CUSTOM_SERVICE"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/AutoScalingPolicy.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/AutoScalingPolicy.java index 97129c6c981..e64f5b020a8 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/AutoScalingPolicy.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/AutoScalingPolicy.java @@ -30,7 +30,7 @@ public static class Builder { /** * For threshold-based autoscaling policies, this value is the minimum period of time to * wait between scaling actions. The cooldown period gives the system time to stabilize - * before rescaling. The minimum value is 600 seconds, which is also the default. The + * before rescaling. The minimum value is 300 seconds, which is also the default. The * cooldown period starts when the model deployment becomes ACTIVE after the scaling * operation. */ @@ -40,7 +40,7 @@ public static class Builder { /** * For threshold-based autoscaling policies, this value is the minimum period of time to * wait between scaling actions. The cooldown period gives the system time to stabilize - * before rescaling. The minimum value is 600 seconds, which is also the default. The + * before rescaling. The minimum value is 300 seconds, which is also the default. The * cooldown period starts when the model deployment becomes ACTIVE after the scaling * operation. * @@ -135,7 +135,7 @@ public AutoScalingPolicy( /** * For threshold-based autoscaling policies, this value is the minimum period of time to wait * between scaling actions. The cooldown period gives the system time to stabilize before - * rescaling. The minimum value is 600 seconds, which is also the default. The cooldown period + * rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period * starts when the model deployment becomes ACTIVE after the scaling operation. */ @com.fasterxml.jackson.annotation.JsonProperty("coolDownInSeconds") @@ -144,7 +144,7 @@ public AutoScalingPolicy( /** * For threshold-based autoscaling policies, this value is the minimum period of time to wait * between scaling actions. The cooldown period gives the system time to stabilize before - * rescaling. The minimum value is 600 seconds, which is also the default. The cooldown period + * rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period * starts when the model deployment becomes ACTIVE after the scaling operation. * * @return the value diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ChangeComputeTargetCompartmentDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ChangeComputeTargetCompartmentDetails.java new file mode 100644 index 00000000000..52cb4dd4156 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ChangeComputeTargetCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * 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; + +/** + * Details for changing the compartment of a compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeComputeTargetCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeComputeTargetCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeComputeTargetCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment where the resource should be moved. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment where the resource should be moved. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeComputeTargetCompartmentDetails build() { + ChangeComputeTargetCompartmentDetails model = + new ChangeComputeTargetCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeComputeTargetCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment where the resource should be moved. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment where the resource should be moved. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @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("ChangeComputeTargetCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeComputeTargetCompartmentDetails)) { + return false; + } + + ChangeComputeTargetCompartmentDetails other = (ChangeComputeTargetCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeConfigurationDetails.java new file mode 100644 index 00000000000..a05904ffdf7 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeConfigurationDetails.java @@ -0,0 +1,78 @@ +/** + * 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; + +/** + * Configuration details of the targeted compute.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "computeType", + defaultImpl = ComputeConfigurationDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterComputeConfigurationDetails.class, + name = "MANAGED_COMPUTE_CLUSTER") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ComputeConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected ComputeConfigurationDetails() { + 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("ComputeConfigurationDetails("); + 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 ComputeConfigurationDetails)) { + return false; + } + + ComputeConfigurationDetails other = (ComputeConfigurationDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTarget.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTarget.java new file mode 100644 index 00000000000..f53d3af6f28 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTarget.java @@ -0,0 +1,673 @@ +/** + * 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; + +/** + * A compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = ComputeTarget.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ComputeTarget extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "timeCreated", + "metadata", + "createdBy", + "compartmentId", + "displayName", + "description", + "computeConfigurationDetails", + "computeTargetSystemData", + "lifecycleState", + "lifecycleDetails", + "freeformTags", + "definedTags" + }) + public ComputeTarget( + String id, + java.util.Date timeCreated, + java.util.Map metadata, + String createdBy, + String compartmentId, + String displayName, + String description, + ComputeConfigurationDetails computeConfigurationDetails, + ComputeTargetSystemData computeTargetSystemData, + ComputeTargetLifecycleState lifecycleState, + String lifecycleDetails, + java.util.Map freeformTags, + java.util.Map> definedTags) { + super(); + this.id = id; + this.timeCreated = timeCreated; + this.metadata = metadata; + this.createdBy = createdBy; + this.compartmentId = compartmentId; + this.displayName = displayName; + this.description = description; + this.computeConfigurationDetails = computeConfigurationDetails; + this.computeTargetSystemData = computeTargetSystemData; + this.lifecycleState = lifecycleState; + this.lifecycleDetails = lifecycleDetails; + this.freeformTags = freeformTags; + this.definedTags = definedTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * The date and time the resource was created in the timestamp format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the resource was created in the timestamp format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) + * Key should start with a letter. Key should have at least 2 characters. Key should not end + * with underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No + * specific size limits on individual Values. But overall metadata is limited to 2048 bytes. + * Key can't be reserved Compute Target metadata. + */ + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + private java.util.Map metadata; + + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) + * Key should start with a letter. Key should have at least 2 characters. Key should not end + * with underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No + * specific size limits on individual Values. But overall metadata is limited to 2048 bytes. + * Key can't be reserved Compute Target metadata. + * + * @param metadata the value to set + * @return this builder + */ + public Builder metadata(java.util.Map metadata) { + this.metadata = metadata; + this.__explicitlySet__.add("metadata"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * user who created the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("createdBy") + private String createdBy; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * user who created the compute target. + * + * @param createdBy the value to set + * @return this builder + */ + public Builder createdBy(String createdBy) { + this.createdBy = createdBy; + this.__explicitlySet__.add("createdBy"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment associated with the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment associated with the compute target. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** A user-friendly display name for the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly display name for the resource. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** A short description of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * A short description of the compute target. + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("computeConfigurationDetails") + private ComputeConfigurationDetails computeConfigurationDetails; + + public Builder computeConfigurationDetails( + ComputeConfigurationDetails computeConfigurationDetails) { + this.computeConfigurationDetails = computeConfigurationDetails; + this.__explicitlySet__.add("computeConfigurationDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("computeTargetSystemData") + private ComputeTargetSystemData computeTargetSystemData; + + public Builder computeTargetSystemData(ComputeTargetSystemData computeTargetSystemData) { + this.computeTargetSystemData = computeTargetSystemData; + this.__explicitlySet__.add("computeTargetSystemData"); + return this; + } + /** The state of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private ComputeTargetLifecycleState lifecycleState; + + /** + * The state of the compute target. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(ComputeTargetLifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** Details about the state of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private String lifecycleDetails; + + /** + * Details about the state of the compute target. + * + * @param lifecycleDetails the value to set + * @return this builder + */ + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = lifecycleDetails; + this.__explicitlySet__.add("lifecycleDetails"); + return this; + } + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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(); + + public ComputeTarget build() { + ComputeTarget model = + new ComputeTarget( + this.id, + this.timeCreated, + this.metadata, + this.createdBy, + this.compartmentId, + this.displayName, + this.description, + this.computeConfigurationDetails, + this.computeTargetSystemData, + this.lifecycleState, + this.lifecycleDetails, + this.freeformTags, + this.definedTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ComputeTarget model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("metadata")) { + this.metadata(model.getMetadata()); + } + if (model.wasPropertyExplicitlySet("createdBy")) { + this.createdBy(model.getCreatedBy()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("computeConfigurationDetails")) { + this.computeConfigurationDetails(model.getComputeConfigurationDetails()); + } + if (model.wasPropertyExplicitlySet("computeTargetSystemData")) { + this.computeTargetSystemData(model.getComputeTargetSystemData()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("lifecycleDetails")) { + this.lifecycleDetails(model.getLifecycleDetails()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * The date and time the resource was created in the timestamp format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the resource was created in the timestamp format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) Key + * should start with a letter. Key should have at least 2 characters. Key should not end with + * underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No specific + * size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be + * reserved Compute Target metadata. + */ + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + private final java.util.Map metadata; + + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) Key + * should start with a letter. Key should have at least 2 characters. Key should not end with + * underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No specific + * size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be + * reserved Compute Target metadata. + * + * @return the value + */ + public java.util.Map getMetadata() { + return metadata; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user + * who created the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("createdBy") + private final String createdBy; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user + * who created the compute target. + * + * @return the value + */ + public String getCreatedBy() { + return createdBy; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment associated with the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment associated with the compute target. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** A user-friendly display name for the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly display name for the resource. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** A short description of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * A short description of the compute target. + * + * @return the value + */ + public String getDescription() { + return description; + } + + @com.fasterxml.jackson.annotation.JsonProperty("computeConfigurationDetails") + private final ComputeConfigurationDetails computeConfigurationDetails; + + public ComputeConfigurationDetails getComputeConfigurationDetails() { + return computeConfigurationDetails; + } + + @com.fasterxml.jackson.annotation.JsonProperty("computeTargetSystemData") + private final ComputeTargetSystemData computeTargetSystemData; + + public ComputeTargetSystemData getComputeTargetSystemData() { + return computeTargetSystemData; + } + + /** The state of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final ComputeTargetLifecycleState lifecycleState; + + /** + * The state of the compute target. + * + * @return the value + */ + public ComputeTargetLifecycleState getLifecycleState() { + return lifecycleState; + } + + /** Details about the state of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private final String lifecycleDetails; + + /** + * Details about the state of the compute target. + * + * @return the value + */ + public String getLifecycleDetails() { + return lifecycleDetails; + } + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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); + } + + /** + * 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("ComputeTarget("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", metadata=").append(String.valueOf(this.metadata)); + sb.append(", createdBy=").append(String.valueOf(this.createdBy)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", computeConfigurationDetails=") + .append(String.valueOf(this.computeConfigurationDetails)); + sb.append(", computeTargetSystemData=") + .append(String.valueOf(this.computeTargetSystemData)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ComputeTarget)) { + return false; + } + + ComputeTarget other = (ComputeTarget) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.metadata, other.metadata) + && java.util.Objects.equals(this.createdBy, other.createdBy) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals( + this.computeConfigurationDetails, other.computeConfigurationDetails) + && java.util.Objects.equals( + this.computeTargetSystemData, other.computeTargetSystemData) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = (result * PRIME) + (this.metadata == null ? 43 : this.metadata.hashCode()); + result = (result * PRIME) + (this.createdBy == null ? 43 : this.createdBy.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.computeConfigurationDetails == null + ? 43 + : this.computeConfigurationDetails.hashCode()); + result = + (result * PRIME) + + (this.computeTargetSystemData == null + ? 43 + : this.computeTargetSystemData.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = + (result * PRIME) + + (this.lifecycleDetails == null ? 43 : this.lifecycleDetails.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-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetLifecycleState.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetLifecycleState.java new file mode 100644 index 00000000000..04b078a8036 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetLifecycleState.java @@ -0,0 +1,58 @@ +/** + * 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; + +/** The status of a compute target. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public enum ComputeTargetLifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Creating("CREATING"), + Active("ACTIVE"), + Deleting("DELETING"), + Deleted("DELETED"), + Failed("FAILED"), + Updating("UPDATING"), + NeedsAttention("NEEDS_ATTENTION"), + + /** + * 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(ComputeTargetLifecycleState.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ComputeTargetLifecycleState v : ComputeTargetLifecycleState.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ComputeTargetLifecycleState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ComputeTargetLifecycleState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ComputeTargetLifecycleState', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetShapeSeries.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetShapeSeries.java new file mode 100644 index 00000000000..732d2d86463 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetShapeSeries.java @@ -0,0 +1,57 @@ +/** + * 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; + +/** The family that the compute target shape belongs to. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public enum ComputeTargetShapeSeries implements com.oracle.bmc.http.internal.BmcEnum { + AmdRome("AMD_ROME"), + IntelSkylake("INTEL_SKYLAKE"), + NvidiaGpu("NVIDIA_GPU"), + Generic("GENERIC"), + Legacy("LEGACY"), + Arm("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(ComputeTargetShapeSeries.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ComputeTargetShapeSeries v : ComputeTargetShapeSeries.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ComputeTargetShapeSeries(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ComputeTargetShapeSeries create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ComputeTargetShapeSeries', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetShapeSummary.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetShapeSummary.java new file mode 100644 index 00000000000..d066b208110 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetShapeSummary.java @@ -0,0 +1,245 @@ +/** + * 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; + +/** + * The compute shape used to launch a compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ComputeTargetShapeSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ComputeTargetShapeSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"name", "coreCount", "memoryInGBs", "shapeSeries"}) + public ComputeTargetShapeSummary( + String name, + Integer coreCount, + Integer memoryInGBs, + ComputeTargetShapeSeries shapeSeries) { + super(); + this.name = name; + this.coreCount = coreCount; + this.memoryInGBs = memoryInGBs; + this.shapeSeries = shapeSeries; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The name of the compute target shape. */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * The name of the compute target shape. + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** The number of cores associated with this compute target shape. */ + @com.fasterxml.jackson.annotation.JsonProperty("coreCount") + private Integer coreCount; + + /** + * The number of cores associated with this compute target shape. + * + * @param coreCount the value to set + * @return this builder + */ + public Builder coreCount(Integer coreCount) { + this.coreCount = coreCount; + this.__explicitlySet__.add("coreCount"); + return this; + } + /** The amount of memory in GBs associated with this compute target shape. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private Integer memoryInGBs; + + /** + * The amount of memory in GBs associated with this compute target shape. + * + * @param memoryInGBs the value to set + * @return this builder + */ + public Builder memoryInGBs(Integer memoryInGBs) { + this.memoryInGBs = memoryInGBs; + this.__explicitlySet__.add("memoryInGBs"); + return this; + } + /** The family that the compute shape belongs to. */ + @com.fasterxml.jackson.annotation.JsonProperty("shapeSeries") + private ComputeTargetShapeSeries shapeSeries; + + /** + * The family that the compute shape belongs to. + * + * @param shapeSeries the value to set + * @return this builder + */ + public Builder shapeSeries(ComputeTargetShapeSeries shapeSeries) { + this.shapeSeries = shapeSeries; + this.__explicitlySet__.add("shapeSeries"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ComputeTargetShapeSummary build() { + ComputeTargetShapeSummary model = + new ComputeTargetShapeSummary( + this.name, this.coreCount, this.memoryInGBs, this.shapeSeries); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ComputeTargetShapeSummary model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("coreCount")) { + this.coreCount(model.getCoreCount()); + } + if (model.wasPropertyExplicitlySet("memoryInGBs")) { + this.memoryInGBs(model.getMemoryInGBs()); + } + if (model.wasPropertyExplicitlySet("shapeSeries")) { + this.shapeSeries(model.getShapeSeries()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The name of the compute target shape. */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * The name of the compute target shape. + * + * @return the value + */ + public String getName() { + return name; + } + + /** The number of cores associated with this compute target shape. */ + @com.fasterxml.jackson.annotation.JsonProperty("coreCount") + private final Integer coreCount; + + /** + * The number of cores associated with this compute target shape. + * + * @return the value + */ + public Integer getCoreCount() { + return coreCount; + } + + /** The amount of memory in GBs associated with this compute target shape. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private final Integer memoryInGBs; + + /** + * The amount of memory in GBs associated with this compute target shape. + * + * @return the value + */ + public Integer getMemoryInGBs() { + return memoryInGBs; + } + + /** The family that the compute shape belongs to. */ + @com.fasterxml.jackson.annotation.JsonProperty("shapeSeries") + private final ComputeTargetShapeSeries shapeSeries; + + /** + * The family that the compute shape belongs to. + * + * @return the value + */ + public ComputeTargetShapeSeries getShapeSeries() { + return shapeSeries; + } + + @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("ComputeTargetShapeSummary("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", coreCount=").append(String.valueOf(this.coreCount)); + sb.append(", memoryInGBs=").append(String.valueOf(this.memoryInGBs)); + sb.append(", shapeSeries=").append(String.valueOf(this.shapeSeries)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ComputeTargetShapeSummary)) { + return false; + } + + ComputeTargetShapeSummary other = (ComputeTargetShapeSummary) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.coreCount, other.coreCount) + && java.util.Objects.equals(this.memoryInGBs, other.memoryInGBs) + && java.util.Objects.equals(this.shapeSeries, other.shapeSeries) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.coreCount == null ? 43 : this.coreCount.hashCode()); + result = (result * PRIME) + (this.memoryInGBs == null ? 43 : this.memoryInGBs.hashCode()); + result = (result * PRIME) + (this.shapeSeries == null ? 43 : this.shapeSeries.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetSummary.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetSummary.java new file mode 100644 index 00000000000..05d3519acb4 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetSummary.java @@ -0,0 +1,470 @@ +/** + * 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; + +/** + * Summary information for a Compute Target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ComputeTargetSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ComputeTargetSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "timeCreated", + "createdBy", + "compartmentId", + "displayName", + "lifecycleState", + "freeformTags", + "definedTags" + }) + public ComputeTargetSummary( + String id, + java.util.Date timeCreated, + String createdBy, + String compartmentId, + String displayName, + ComputeTargetLifecycleState lifecycleState, + java.util.Map freeformTags, + java.util.Map> definedTags) { + super(); + this.id = id; + this.timeCreated = timeCreated; + this.createdBy = createdBy; + this.compartmentId = compartmentId; + this.displayName = displayName; + this.lifecycleState = lifecycleState; + this.freeformTags = freeformTags; + this.definedTags = definedTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * The date and time the resource was created in the timestamp format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the resource was created in the timestamp format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * user who created the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("createdBy") + private String createdBy; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * user who created the compute target. + * + * @param createdBy the value to set + * @return this builder + */ + public Builder createdBy(String createdBy) { + this.createdBy = createdBy; + this.__explicitlySet__.add("createdBy"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment associated with the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment associated with the compute target. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** A user-friendly display name for the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly display name for the resource. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** The state of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private ComputeTargetLifecycleState lifecycleState; + + /** + * The state of the compute target. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(ComputeTargetLifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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(); + + public ComputeTargetSummary build() { + ComputeTargetSummary model = + new ComputeTargetSummary( + this.id, + this.timeCreated, + this.createdBy, + this.compartmentId, + this.displayName, + this.lifecycleState, + this.freeformTags, + this.definedTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ComputeTargetSummary model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("createdBy")) { + this.createdBy(model.getCreatedBy()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * The date and time the resource was created in the timestamp format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the resource was created in the timestamp format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user + * who created the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("createdBy") + private final String createdBy; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user + * who created the compute target. + * + * @return the value + */ + public String getCreatedBy() { + return createdBy; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment associated with the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment associated with the compute target. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** A user-friendly display name for the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly display name for the resource. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** The state of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final ComputeTargetLifecycleState lifecycleState; + + /** + * The state of the compute target. + * + * @return the value + */ + public ComputeTargetLifecycleState getLifecycleState() { + return lifecycleState; + } + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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); + } + + /** + * 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("ComputeTargetSummary("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", createdBy=").append(String.valueOf(this.createdBy)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ComputeTargetSummary)) { + return false; + } + + ComputeTargetSummary other = (ComputeTargetSummary) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.createdBy, other.createdBy) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = (result * PRIME) + (this.createdBy == null ? 43 : this.createdBy.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.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-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetSystemData.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetSystemData.java new file mode 100644 index 00000000000..05d290fadf0 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeTargetSystemData.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.datascience.model; + +/** + * System data of the compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "computeType", + defaultImpl = ComputeTargetSystemData.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterSystemData.class, + name = "MANAGED_COMPUTE_CLUSTER") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ComputeTargetSystemData + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected ComputeTargetSystemData() { + 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("ComputeTargetSystemData("); + 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 ComputeTargetSystemData)) { + return false; + } + + ComputeTargetSystemData other = (ComputeTargetSystemData) 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 compute target. */ + public enum ComputeType implements com.oracle.bmc.http.internal.BmcEnum { + ManagedComputeCluster("MANAGED_COMPUTE_CLUSTER"), + + /** + * 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(ComputeType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ComputeType v : ComputeType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ComputeType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ComputeType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ComputeType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeType.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeType.java new file mode 100644 index 00000000000..db0938f0cf3 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ComputeType.java @@ -0,0 +1,52 @@ +/** + * 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; + +/** The type of compute. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public enum ComputeType implements com.oracle.bmc.http.internal.BmcEnum { + ManagedComputeCluster("MANAGED_COMPUTE_CLUSTER"), + + /** + * 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(ComputeType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ComputeType v : ComputeType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ComputeType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ComputeType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ComputeType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateAuthConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateAuthConfigurationDetails.java index fff15b2e45e..46ee10fd9b0 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateAuthConfigurationDetails.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateAuthConfigurationDetails.java @@ -22,12 +22,6 @@ property = "type", defaultImpl = CreateAuthConfigurationDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = CreateIdcsAuthConfigurationDetails.class, - name = "IDCS"), - @com.fasterxml.jackson.annotation.JsonSubTypes.Type( - value = CreateIdcsCustomServiceAuthConfigurationDetails.class, - name = "IDCS_CUSTOM_SERVICE"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = CreateIamAuthConfigurationCreateDetails.class, name = "IAM") diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateComputeTargetDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateComputeTargetDetails.java new file mode 100644 index 00000000000..25872e928b6 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateComputeTargetDetails.java @@ -0,0 +1,425 @@ +/** + * 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; + +/** + * Parameters needed to create a new compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateComputeTargetDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateComputeTargetDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "displayName", + "description", + "metadata", + "computeConfigurationDetails", + "freeformTags", + "definedTags" + }) + public CreateComputeTargetDetails( + String compartmentId, + String displayName, + String description, + java.util.Map metadata, + ComputeConfigurationDetails computeConfigurationDetails, + java.util.Map freeformTags, + java.util.Map> definedTags) { + super(); + this.compartmentId = compartmentId; + this.displayName = displayName; + this.description = description; + this.metadata = metadata; + this.computeConfigurationDetails = computeConfigurationDetails; + this.freeformTags = freeformTags; + this.definedTags = definedTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment where you want to create the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment where you want to create the compute target. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** A user-friendly display name for the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly display name for the resource. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** A short description of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * A short description of the compute target. + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) + * Key should start with a letter. Key should have at least 2 characters. Key should not end + * with underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No + * specific size limits on individual Values. But overall metadata is limited to 2048 bytes. + * Key can't be reserved Compute Target metadata. + */ + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + private java.util.Map metadata; + + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) + * Key should start with a letter. Key should have at least 2 characters. Key should not end + * with underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No + * specific size limits on individual Values. But overall metadata is limited to 2048 bytes. + * Key can't be reserved Compute Target metadata. + * + * @param metadata the value to set + * @return this builder + */ + public Builder metadata(java.util.Map metadata) { + this.metadata = metadata; + this.__explicitlySet__.add("metadata"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("computeConfigurationDetails") + private ComputeConfigurationDetails computeConfigurationDetails; + + public Builder computeConfigurationDetails( + ComputeConfigurationDetails computeConfigurationDetails) { + this.computeConfigurationDetails = computeConfigurationDetails; + this.__explicitlySet__.add("computeConfigurationDetails"); + return this; + } + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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(); + + public CreateComputeTargetDetails build() { + CreateComputeTargetDetails model = + new CreateComputeTargetDetails( + this.compartmentId, + this.displayName, + this.description, + this.metadata, + this.computeConfigurationDetails, + this.freeformTags, + this.definedTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateComputeTargetDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("metadata")) { + this.metadata(model.getMetadata()); + } + if (model.wasPropertyExplicitlySet("computeConfigurationDetails")) { + this.computeConfigurationDetails(model.getComputeConfigurationDetails()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment where you want to create the compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment where you want to create the compute target. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** A user-friendly display name for the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly display name for the resource. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** A short description of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * A short description of the compute target. + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) Key + * should start with a letter. Key should have at least 2 characters. Key should not end with + * underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No specific + * size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be + * reserved Compute Target metadata. + */ + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + private final java.util.Map metadata; + + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) Key + * should start with a letter. Key should have at least 2 characters. Key should not end with + * underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No specific + * size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be + * reserved Compute Target metadata. + * + * @return the value + */ + public java.util.Map getMetadata() { + return metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("computeConfigurationDetails") + private final ComputeConfigurationDetails computeConfigurationDetails; + + public ComputeConfigurationDetails getComputeConfigurationDetails() { + return computeConfigurationDetails; + } + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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); + } + + /** + * 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("CreateComputeTargetDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", metadata=").append(String.valueOf(this.metadata)); + sb.append(", computeConfigurationDetails=") + .append(String.valueOf(this.computeConfigurationDetails)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateComputeTargetDetails)) { + return false; + } + + CreateComputeTargetDetails other = (CreateComputeTargetDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.metadata, other.metadata) + && java.util.Objects.equals( + this.computeConfigurationDetails, other.computeConfigurationDetails) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = (result * PRIME) + (this.metadata == null ? 43 : this.metadata.hashCode()); + result = + (result * PRIME) + + (this.computeConfigurationDetails == null + ? 43 + : this.computeConfigurationDetails.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-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsCustomServiceAuthConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsCustomServiceAuthConfigurationDetails.java deleted file mode 100644 index 6e025c24cc7..00000000000 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsCustomServiceAuthConfigurationDetails.java +++ /dev/null @@ -1,290 +0,0 @@ -/** - * 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; - -/** - * Create configuration for existing Oracle Cloud 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 Builder#__explicitlySet__}. The {@link - * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set - * fields into account. The constructor, on the other hand, does not take the explicitly set fields - * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code - * null}). - */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = CreateIdcsCustomServiceAuthConfigurationDetails.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.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class CreateIdcsCustomServiceAuthConfigurationDetails - extends CreateAuthConfigurationDetails { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - /** Audience of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("audience") - private String audience; - - /** - * Audience of the IDCS application - * - * @param audience the value to set - * @return this builder - */ - public Builder audience(String audience) { - this.audience = audience; - this.__explicitlySet__.add("audience"); - return this; - } - /** Scope of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("scope") - private String scope; - - /** - * Scope of the IDCS application - * - * @param scope the value to set - * @return this builder - */ - public Builder scope(String scope) { - this.scope = scope; - this.__explicitlySet__.add("scope"); - return this; - } - /** Name of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("applicationName") - private String applicationName; - - /** - * Name of the IDCS application - * - * @param applicationName the value to set - * @return this builder - */ - public Builder applicationName(String applicationName) { - this.applicationName = applicationName; - this.__explicitlySet__.add("applicationName"); - return this; - } - /** Name of the IDCS application role */ - @com.fasterxml.jackson.annotation.JsonProperty("roleName") - private String roleName; - - /** - * Name of the IDCS application role - * - * @param roleName the value to set - * @return this builder - */ - public Builder roleName(String roleName) { - this.roleName = roleName; - this.__explicitlySet__.add("roleName"); - return this; - } - /** Bearer token serving as Proof-of-Ownership for referenced IDCS stripe/application */ - @com.fasterxml.jackson.annotation.JsonProperty("accessToken") - private String accessToken; - - /** - * Bearer token serving as Proof-of-Ownership for referenced IDCS stripe/application - * - * @param accessToken the value to set - * @return this builder - */ - public Builder accessToken(String accessToken) { - this.accessToken = accessToken; - this.__explicitlySet__.add("accessToken"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public CreateIdcsCustomServiceAuthConfigurationDetails build() { - CreateIdcsCustomServiceAuthConfigurationDetails model = - new CreateIdcsCustomServiceAuthConfigurationDetails( - this.audience, - this.scope, - this.applicationName, - this.roleName, - this.accessToken); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(CreateIdcsCustomServiceAuthConfigurationDetails model) { - if (model.wasPropertyExplicitlySet("audience")) { - this.audience(model.getAudience()); - } - if (model.wasPropertyExplicitlySet("scope")) { - this.scope(model.getScope()); - } - if (model.wasPropertyExplicitlySet("applicationName")) { - this.applicationName(model.getApplicationName()); - } - if (model.wasPropertyExplicitlySet("roleName")) { - this.roleName(model.getRoleName()); - } - if (model.wasPropertyExplicitlySet("accessToken")) { - this.accessToken(model.getAccessToken()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public CreateIdcsCustomServiceAuthConfigurationDetails( - String audience, - String scope, - String applicationName, - String roleName, - String accessToken) { - super(); - this.audience = audience; - this.scope = scope; - this.applicationName = applicationName; - this.roleName = roleName; - this.accessToken = accessToken; - } - - /** Audience of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("audience") - private final String audience; - - /** - * Audience of the IDCS application - * - * @return the value - */ - public String getAudience() { - return audience; - } - - /** Scope of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("scope") - private final String scope; - - /** - * Scope of the IDCS application - * - * @return the value - */ - public String getScope() { - return scope; - } - - /** Name of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("applicationName") - private final String applicationName; - - /** - * Name of the IDCS application - * - * @return the value - */ - public String getApplicationName() { - return applicationName; - } - - /** Name of the IDCS application role */ - @com.fasterxml.jackson.annotation.JsonProperty("roleName") - private final String roleName; - - /** - * Name of the IDCS application role - * - * @return the value - */ - public String getRoleName() { - return roleName; - } - - /** Bearer token serving as Proof-of-Ownership for referenced IDCS stripe/application */ - @com.fasterxml.jackson.annotation.JsonProperty("accessToken") - private final String accessToken; - - /** - * Bearer token serving as Proof-of-Ownership for referenced IDCS stripe/application - * - * @return the value - */ - public String getAccessToken() { - return accessToken; - } - - @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("CreateIdcsCustomServiceAuthConfigurationDetails("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", audience=").append(String.valueOf(this.audience)); - sb.append(", scope=").append(String.valueOf(this.scope)); - sb.append(", applicationName=").append(String.valueOf(this.applicationName)); - sb.append(", roleName=").append(String.valueOf(this.roleName)); - sb.append(", accessToken=").append(String.valueOf(this.accessToken)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof CreateIdcsCustomServiceAuthConfigurationDetails)) { - return false; - } - - CreateIdcsCustomServiceAuthConfigurationDetails other = - (CreateIdcsCustomServiceAuthConfigurationDetails) o; - return java.util.Objects.equals(this.audience, other.audience) - && java.util.Objects.equals(this.scope, other.scope) - && java.util.Objects.equals(this.applicationName, other.applicationName) - && java.util.Objects.equals(this.roleName, other.roleName) - && java.util.Objects.equals(this.accessToken, other.accessToken) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = (result * PRIME) + (this.audience == null ? 43 : this.audience.hashCode()); - result = (result * PRIME) + (this.scope == null ? 43 : this.scope.hashCode()); - result = - (result * PRIME) - + (this.applicationName == null ? 43 : this.applicationName.hashCode()); - result = (result * PRIME) + (this.roleName == null ? 43 : this.roleName.hashCode()); - result = (result * PRIME) + (this.accessToken == null ? 43 : this.accessToken.hashCode()); - return result; - } -} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/HttpMethod.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/HttpMethod.java new file mode 100644 index 00000000000..615e85adac7 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/HttpMethod.java @@ -0,0 +1,55 @@ +/** + * 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; + +/** Enumeration representing different kinds of HTTP methods. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public enum HttpMethod implements com.oracle.bmc.http.internal.BmcEnum { + Get("GET"), + Put("PUT"), + Post("POST"), + Delete("DELETE"), + Head("HEAD"), + + /** + * 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(HttpMethod.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (HttpMethod v : HttpMethod.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + HttpMethod(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static HttpMethod create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'HttpMethod', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsCustomServiceAuthConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsCustomServiceAuthConfiguration.java deleted file mode 100644 index 566882755a7..00000000000 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsCustomServiceAuthConfiguration.java +++ /dev/null @@ -1,290 +0,0 @@ -/** - * 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; - -/** - * Using existing Oracle Cloud Service for online prediction AuthN/Z
- * 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 Builder#__explicitlySet__}. The {@link - * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set - * fields into account. The constructor, on the other hand, does not take the explicitly set fields - * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code - * null}). - */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") -@com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = IdcsCustomServiceAuthConfiguration.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.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class IdcsCustomServiceAuthConfiguration extends AuthConfiguration { - @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") - public static class Builder { - /** URI of IDCS Stripe */ - @com.fasterxml.jackson.annotation.JsonProperty("idcsStripeUri") - private String idcsStripeUri; - - /** - * URI of IDCS Stripe - * - * @param idcsStripeUri the value to set - * @return this builder - */ - public Builder idcsStripeUri(String idcsStripeUri) { - this.idcsStripeUri = idcsStripeUri; - this.__explicitlySet__.add("idcsStripeUri"); - return this; - } - /** Audience of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("audience") - private String audience; - - /** - * Audience of the IDCS application - * - * @param audience the value to set - * @return this builder - */ - public Builder audience(String audience) { - this.audience = audience; - this.__explicitlySet__.add("audience"); - return this; - } - /** Scope of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("scope") - private String scope; - - /** - * Scope of the IDCS application - * - * @param scope the value to set - * @return this builder - */ - public Builder scope(String scope) { - this.scope = scope; - this.__explicitlySet__.add("scope"); - return this; - } - /** Name of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("applicationName") - private String applicationName; - - /** - * Name of the IDCS application - * - * @param applicationName the value to set - * @return this builder - */ - public Builder applicationName(String applicationName) { - this.applicationName = applicationName; - this.__explicitlySet__.add("applicationName"); - return this; - } - /** Name of the IDCS application role */ - @com.fasterxml.jackson.annotation.JsonProperty("roleName") - private String roleName; - - /** - * Name of the IDCS application role - * - * @param roleName the value to set - * @return this builder - */ - public Builder roleName(String roleName) { - this.roleName = roleName; - this.__explicitlySet__.add("roleName"); - return this; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - private final java.util.Set __explicitlySet__ = new java.util.HashSet(); - - public IdcsCustomServiceAuthConfiguration build() { - IdcsCustomServiceAuthConfiguration model = - new IdcsCustomServiceAuthConfiguration( - this.idcsStripeUri, - this.audience, - this.scope, - this.applicationName, - this.roleName); - for (String explicitlySetProperty : this.__explicitlySet__) { - model.markPropertyAsExplicitlySet(explicitlySetProperty); - } - return model; - } - - @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(IdcsCustomServiceAuthConfiguration model) { - if (model.wasPropertyExplicitlySet("idcsStripeUri")) { - this.idcsStripeUri(model.getIdcsStripeUri()); - } - if (model.wasPropertyExplicitlySet("audience")) { - this.audience(model.getAudience()); - } - if (model.wasPropertyExplicitlySet("scope")) { - this.scope(model.getScope()); - } - if (model.wasPropertyExplicitlySet("applicationName")) { - this.applicationName(model.getApplicationName()); - } - if (model.wasPropertyExplicitlySet("roleName")) { - this.roleName(model.getRoleName()); - } - return this; - } - } - - /** Create a new builder. */ - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().copy(this); - } - - @Deprecated - public IdcsCustomServiceAuthConfiguration( - String idcsStripeUri, - String audience, - String scope, - String applicationName, - String roleName) { - super(); - this.idcsStripeUri = idcsStripeUri; - this.audience = audience; - this.scope = scope; - this.applicationName = applicationName; - this.roleName = roleName; - } - - /** URI of IDCS Stripe */ - @com.fasterxml.jackson.annotation.JsonProperty("idcsStripeUri") - private final String idcsStripeUri; - - /** - * URI of IDCS Stripe - * - * @return the value - */ - public String getIdcsStripeUri() { - return idcsStripeUri; - } - - /** Audience of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("audience") - private final String audience; - - /** - * Audience of the IDCS application - * - * @return the value - */ - public String getAudience() { - return audience; - } - - /** Scope of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("scope") - private final String scope; - - /** - * Scope of the IDCS application - * - * @return the value - */ - public String getScope() { - return scope; - } - - /** Name of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("applicationName") - private final String applicationName; - - /** - * Name of the IDCS application - * - * @return the value - */ - public String getApplicationName() { - return applicationName; - } - - /** Name of the IDCS application role */ - @com.fasterxml.jackson.annotation.JsonProperty("roleName") - private final String roleName; - - /** - * Name of the IDCS application role - * - * @return the value - */ - public String getRoleName() { - return roleName; - } - - @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("IdcsCustomServiceAuthConfiguration("); - sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", idcsStripeUri=").append(String.valueOf(this.idcsStripeUri)); - sb.append(", audience=").append(String.valueOf(this.audience)); - sb.append(", scope=").append(String.valueOf(this.scope)); - sb.append(", applicationName=").append(String.valueOf(this.applicationName)); - sb.append(", roleName=").append(String.valueOf(this.roleName)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof IdcsCustomServiceAuthConfiguration)) { - return false; - } - - IdcsCustomServiceAuthConfiguration other = (IdcsCustomServiceAuthConfiguration) o; - return java.util.Objects.equals(this.idcsStripeUri, other.idcsStripeUri) - && java.util.Objects.equals(this.audience, other.audience) - && java.util.Objects.equals(this.scope, other.scope) - && java.util.Objects.equals(this.applicationName, other.applicationName) - && java.util.Objects.equals(this.roleName, other.roleName) - && super.equals(other); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = - (result * PRIME) - + (this.idcsStripeUri == null ? 43 : this.idcsStripeUri.hashCode()); - result = (result * PRIME) + (this.audience == null ? 43 : this.audience.hashCode()); - result = (result * PRIME) + (this.scope == null ? 43 : this.scope.hashCode()); - result = - (result * PRIME) - + (this.applicationName == null ? 43 : this.applicationName.hashCode()); - result = (result * PRIME) + (this.roleName == null ? 43 : this.roleName.hashCode()); - return result; - } -} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/InferenceHttpEndpoint.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/InferenceHttpEndpoint.java new file mode 100644 index 00000000000..d188b8e0cb9 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/InferenceHttpEndpoint.java @@ -0,0 +1,172 @@ +/** + * 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; + +/** + * Represents a custom HTTP endpoint detail for inferencing.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = InferenceHttpEndpoint.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class InferenceHttpEndpoint + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"endpointUriSuffix", "httpMethods"}) + public InferenceHttpEndpoint(String endpointUriSuffix, java.util.List httpMethods) { + super(); + this.endpointUriSuffix = endpointUriSuffix; + this.httpMethods = httpMethods; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The suffix part of the endpoint that will be allowed for invocation. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUriSuffix") + private String endpointUriSuffix; + + /** + * The suffix part of the endpoint that will be allowed for invocation. + * + * @param endpointUriSuffix the value to set + * @return this builder + */ + public Builder endpointUriSuffix(String endpointUriSuffix) { + this.endpointUriSuffix = endpointUriSuffix; + this.__explicitlySet__.add("endpointUriSuffix"); + return this; + } + /** List of HTTP methods acceptable by the URI. */ + @com.fasterxml.jackson.annotation.JsonProperty("httpMethods") + private java.util.List httpMethods; + + /** + * List of HTTP methods acceptable by the URI. + * + * @param httpMethods the value to set + * @return this builder + */ + public Builder httpMethods(java.util.List httpMethods) { + this.httpMethods = httpMethods; + this.__explicitlySet__.add("httpMethods"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public InferenceHttpEndpoint build() { + InferenceHttpEndpoint model = + new InferenceHttpEndpoint(this.endpointUriSuffix, this.httpMethods); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(InferenceHttpEndpoint model) { + if (model.wasPropertyExplicitlySet("endpointUriSuffix")) { + this.endpointUriSuffix(model.getEndpointUriSuffix()); + } + if (model.wasPropertyExplicitlySet("httpMethods")) { + this.httpMethods(model.getHttpMethods()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The suffix part of the endpoint that will be allowed for invocation. */ + @com.fasterxml.jackson.annotation.JsonProperty("endpointUriSuffix") + private final String endpointUriSuffix; + + /** + * The suffix part of the endpoint that will be allowed for invocation. + * + * @return the value + */ + public String getEndpointUriSuffix() { + return endpointUriSuffix; + } + + /** List of HTTP methods acceptable by the URI. */ + @com.fasterxml.jackson.annotation.JsonProperty("httpMethods") + private final java.util.List httpMethods; + + /** + * List of HTTP methods acceptable by the URI. + * + * @return the value + */ + public java.util.List getHttpMethods() { + return httpMethods; + } + + @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("InferenceHttpEndpoint("); + sb.append("super=").append(super.toString()); + sb.append("endpointUriSuffix=").append(String.valueOf(this.endpointUriSuffix)); + sb.append(", httpMethods=").append(String.valueOf(this.httpMethods)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof InferenceHttpEndpoint)) { + return false; + } + + InferenceHttpEndpoint other = (InferenceHttpEndpoint) o; + return java.util.Objects.equals(this.endpointUriSuffix, other.endpointUriSuffix) + && java.util.Objects.equals(this.httpMethods, other.httpMethods) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.endpointUriSuffix == null ? 43 : this.endpointUriSuffix.hashCode()); + result = (result * PRIME) + (this.httpMethods == null ? 43 : this.httpMethods.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/JobInfrastructureConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/JobInfrastructureConfigurationDetails.java index 5e8925580ee..4211e850702 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/JobInfrastructureConfigurationDetails.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/JobInfrastructureConfigurationDetails.java @@ -31,6 +31,9 @@ @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = ManagedEgressStandaloneJobInfrastructureConfigurationDetails.class, name = "ME_STANDALONE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterJobInfrastructureConfigurationDetails.class, + name = "MANAGED_COMPUTE_CLUSTER"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = StandaloneJobInfrastructureConfigurationDetails.class, name = "STANDALONE") @@ -91,6 +94,7 @@ public enum JobInfrastructureType implements com.oracle.bmc.http.internal.BmcEnu MeStandalone("ME_STANDALONE"), MultiNode("MULTI_NODE"), Empty("EMPTY"), + ManagedComputeCluster("MANAGED_COMPUTE_CLUSTER"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterAutoScalingPolicy.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterAutoScalingPolicy.java new file mode 100644 index 00000000000..4edec76dcfa --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterAutoScalingPolicy.java @@ -0,0 +1,239 @@ +/** + * 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; + +/** + * The scaling policy to enable autoscaling on the managed compute cluster type compute target . + *
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterAutoScalingPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "policyType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterAutoScalingPolicy + extends ManagedComputeClusterScalingPolicy { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * For threshold-based autoscaling policies, this value is the minimum period of time to + * wait between scaling actions. The cooldown period gives the system time to stabilize + * before rescaling. The minimum value is 300 seconds, which is also the default. The + * cooldown period starts when the managed compute cluster type compute target becomes + * ACTIVE after the scaling operation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("coolDownInSeconds") + private Integer coolDownInSeconds; + + /** + * For threshold-based autoscaling policies, this value is the minimum period of time to + * wait between scaling actions. The cooldown period gives the system time to stabilize + * before rescaling. The minimum value is 300 seconds, which is also the default. The + * cooldown period starts when the managed compute cluster type compute target becomes + * ACTIVE after the scaling operation. + * + * @param coolDownInSeconds the value to set + * @return this builder + */ + public Builder coolDownInSeconds(Integer coolDownInSeconds) { + this.coolDownInSeconds = coolDownInSeconds; + this.__explicitlySet__.add("coolDownInSeconds"); + return this; + } + /** Whether the autoscaling policy is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("isEnabled") + private Boolean isEnabled; + + /** + * Whether the autoscaling policy is enabled. + * + * @param isEnabled the value to set + * @return this builder + */ + public Builder isEnabled(Boolean isEnabled) { + this.isEnabled = isEnabled; + this.__explicitlySet__.add("isEnabled"); + return this; + } + /** The list of autoscaling policy details. */ + @com.fasterxml.jackson.annotation.JsonProperty("autoScalingPolicies") + private java.util.List autoScalingPolicies; + + /** + * The list of autoscaling policy details. + * + * @param autoScalingPolicies the value to set + * @return this builder + */ + public Builder autoScalingPolicies( + java.util.List autoScalingPolicies) { + this.autoScalingPolicies = autoScalingPolicies; + this.__explicitlySet__.add("autoScalingPolicies"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterAutoScalingPolicy build() { + ManagedComputeClusterAutoScalingPolicy model = + new ManagedComputeClusterAutoScalingPolicy( + this.coolDownInSeconds, this.isEnabled, this.autoScalingPolicies); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterAutoScalingPolicy model) { + if (model.wasPropertyExplicitlySet("coolDownInSeconds")) { + this.coolDownInSeconds(model.getCoolDownInSeconds()); + } + if (model.wasPropertyExplicitlySet("isEnabled")) { + this.isEnabled(model.getIsEnabled()); + } + if (model.wasPropertyExplicitlySet("autoScalingPolicies")) { + this.autoScalingPolicies(model.getAutoScalingPolicies()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterAutoScalingPolicy( + Integer coolDownInSeconds, + Boolean isEnabled, + java.util.List autoScalingPolicies) { + super(); + this.coolDownInSeconds = coolDownInSeconds; + this.isEnabled = isEnabled; + this.autoScalingPolicies = autoScalingPolicies; + } + + /** + * For threshold-based autoscaling policies, this value is the minimum period of time to wait + * between scaling actions. The cooldown period gives the system time to stabilize before + * rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period + * starts when the managed compute cluster type compute target becomes ACTIVE after the scaling + * operation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("coolDownInSeconds") + private final Integer coolDownInSeconds; + + /** + * For threshold-based autoscaling policies, this value is the minimum period of time to wait + * between scaling actions. The cooldown period gives the system time to stabilize before + * rescaling. The minimum value is 300 seconds, which is also the default. The cooldown period + * starts when the managed compute cluster type compute target becomes ACTIVE after the scaling + * operation. + * + * @return the value + */ + public Integer getCoolDownInSeconds() { + return coolDownInSeconds; + } + + /** Whether the autoscaling policy is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("isEnabled") + private final Boolean isEnabled; + + /** + * Whether the autoscaling policy is enabled. + * + * @return the value + */ + public Boolean getIsEnabled() { + return isEnabled; + } + + /** The list of autoscaling policy details. */ + @com.fasterxml.jackson.annotation.JsonProperty("autoScalingPolicies") + private final java.util.List autoScalingPolicies; + + /** + * The list of autoscaling policy details. + * + * @return the value + */ + public java.util.List getAutoScalingPolicies() { + return autoScalingPolicies; + } + + @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("ManagedComputeClusterAutoScalingPolicy("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", coolDownInSeconds=").append(String.valueOf(this.coolDownInSeconds)); + sb.append(", isEnabled=").append(String.valueOf(this.isEnabled)); + sb.append(", autoScalingPolicies=").append(String.valueOf(this.autoScalingPolicies)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterAutoScalingPolicy)) { + return false; + } + + ManagedComputeClusterAutoScalingPolicy other = (ManagedComputeClusterAutoScalingPolicy) o; + return java.util.Objects.equals(this.coolDownInSeconds, other.coolDownInSeconds) + && java.util.Objects.equals(this.isEnabled, other.isEnabled) + && java.util.Objects.equals(this.autoScalingPolicies, other.autoScalingPolicies) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.coolDownInSeconds == null ? 43 : this.coolDownInSeconds.hashCode()); + result = (result * PRIME) + (this.isEnabled == null ? 43 : this.isEnabled.hashCode()); + result = + (result * PRIME) + + (this.autoScalingPolicies == null + ? 43 + : this.autoScalingPolicies.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterAutoScalingPolicyDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterAutoScalingPolicyDetails.java new file mode 100644 index 00000000000..a60b4947890 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterAutoScalingPolicyDetails.java @@ -0,0 +1,126 @@ +/** + * 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; + +/** + * Details for an autoscaling policy to enable on the managed compute cluster type compute target . + * Each autoscaling configuration can have one autoscaling policy.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "autoScalingPolicyType", + defaultImpl = ManagedComputeClusterAutoScalingPolicyDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails.class, + name = "THRESHOLD") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ManagedComputeClusterAutoScalingPolicyDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected ManagedComputeClusterAutoScalingPolicyDetails() { + 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("ManagedComputeClusterAutoScalingPolicyDetails("); + 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 ManagedComputeClusterAutoScalingPolicyDetails)) { + return false; + } + + ManagedComputeClusterAutoScalingPolicyDetails other = + (ManagedComputeClusterAutoScalingPolicyDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** The type of autoscaling policy. */ + public enum AutoScalingPolicyType implements com.oracle.bmc.http.internal.BmcEnum { + Threshold("THRESHOLD"), + + /** + * 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(AutoScalingPolicyType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (AutoScalingPolicyType v : AutoScalingPolicyType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + AutoScalingPolicyType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static AutoScalingPolicyType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'AutoScalingPolicyType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterComputeConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterComputeConfigurationDetails.java new file mode 100644 index 00000000000..34a4424c558 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterComputeConfigurationDetails.java @@ -0,0 +1,159 @@ +/** + * 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; + +/** + * The configuration details for the managed compute cluster type compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterComputeConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "computeType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterComputeConfigurationDetails + extends ComputeConfigurationDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("instanceConfiguration") + private ManagedComputeClusterInstanceConfigurationDetails instanceConfiguration; + + public Builder instanceConfiguration( + ManagedComputeClusterInstanceConfigurationDetails instanceConfiguration) { + this.instanceConfiguration = instanceConfiguration; + this.__explicitlySet__.add("instanceConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scalingPolicy") + private ManagedComputeClusterScalingPolicy scalingPolicy; + + public Builder scalingPolicy(ManagedComputeClusterScalingPolicy scalingPolicy) { + this.scalingPolicy = scalingPolicy; + this.__explicitlySet__.add("scalingPolicy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterComputeConfigurationDetails build() { + ManagedComputeClusterComputeConfigurationDetails model = + new ManagedComputeClusterComputeConfigurationDetails( + this.instanceConfiguration, this.scalingPolicy); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterComputeConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("instanceConfiguration")) { + this.instanceConfiguration(model.getInstanceConfiguration()); + } + if (model.wasPropertyExplicitlySet("scalingPolicy")) { + this.scalingPolicy(model.getScalingPolicy()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterComputeConfigurationDetails( + ManagedComputeClusterInstanceConfigurationDetails instanceConfiguration, + ManagedComputeClusterScalingPolicy scalingPolicy) { + super(); + this.instanceConfiguration = instanceConfiguration; + this.scalingPolicy = scalingPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceConfiguration") + private final ManagedComputeClusterInstanceConfigurationDetails instanceConfiguration; + + public ManagedComputeClusterInstanceConfigurationDetails getInstanceConfiguration() { + return instanceConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scalingPolicy") + private final ManagedComputeClusterScalingPolicy scalingPolicy; + + public ManagedComputeClusterScalingPolicy getScalingPolicy() { + return scalingPolicy; + } + + @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("ManagedComputeClusterComputeConfigurationDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", instanceConfiguration=").append(String.valueOf(this.instanceConfiguration)); + sb.append(", scalingPolicy=").append(String.valueOf(this.scalingPolicy)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterComputeConfigurationDetails)) { + return false; + } + + ManagedComputeClusterComputeConfigurationDetails other = + (ManagedComputeClusterComputeConfigurationDetails) o; + return java.util.Objects.equals(this.instanceConfiguration, other.instanceConfiguration) + && java.util.Objects.equals(this.scalingPolicy, other.scalingPolicy) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.instanceConfiguration == null + ? 43 + : this.instanceConfiguration.hashCode()); + result = + (result * PRIME) + + (this.scalingPolicy == null ? 43 : this.scalingPolicy.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterCustomExpressionQueryScalingConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterCustomExpressionQueryScalingConfiguration.java new file mode 100644 index 00000000000..e83c9d2383b --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterCustomExpressionQueryScalingConfiguration.java @@ -0,0 +1,198 @@ +/** + * 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; + +/** + * The scaling configuration for the custom metric expression rule.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterCustomExpressionQueryScalingConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "scalingConfigurationType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterCustomExpressionQueryScalingConfiguration + extends ManagedComputeClusterScalingConfiguration { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("pendingDuration") + private String pendingDuration; + + public Builder pendingDuration(String pendingDuration) { + this.pendingDuration = pendingDuration; + this.__explicitlySet__.add("pendingDuration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceCountAdjustment") + private Integer instanceCountAdjustment; + + public Builder instanceCountAdjustment(Integer instanceCountAdjustment) { + this.instanceCountAdjustment = instanceCountAdjustment; + this.__explicitlySet__.add("instanceCountAdjustment"); + return this; + } + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms + * feature of the Monitoring service interprets results for each returned time series as + * Boolean values, where zero represents false and a non-zero value represents true. A true + * value means that the trigger rule condition has been met. The query must specify a + * metric, statistic, interval, and trigger rule (threshold or absence). Supported values + * for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping + * functions. Supported grouping functions: grouping(), groupBy(). Example of threshold + * alarm: {@code CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < + * 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75 } + */ + @com.fasterxml.jackson.annotation.JsonProperty("query") + private String query; + + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms + * feature of the Monitoring service interprets results for each returned time series as + * Boolean values, where zero represents false and a non-zero value represents true. A true + * value means that the trigger rule condition has been met. The query must specify a + * metric, statistic, interval, and trigger rule (threshold or absence). Supported values + * for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping + * functions. Supported grouping functions: grouping(), groupBy(). Example of threshold + * alarm: {@code CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() < + * 25 CPUUtilization[1m]{resourceId = "Compute_Target_OCID"}.grouping().mean() > 75 } + * + * @param query the value to set + * @return this builder + */ + public Builder query(String query) { + this.query = query; + this.__explicitlySet__.add("query"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterCustomExpressionQueryScalingConfiguration build() { + ManagedComputeClusterCustomExpressionQueryScalingConfiguration model = + new ManagedComputeClusterCustomExpressionQueryScalingConfiguration( + this.pendingDuration, this.instanceCountAdjustment, this.query); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterCustomExpressionQueryScalingConfiguration model) { + if (model.wasPropertyExplicitlySet("pendingDuration")) { + this.pendingDuration(model.getPendingDuration()); + } + if (model.wasPropertyExplicitlySet("instanceCountAdjustment")) { + this.instanceCountAdjustment(model.getInstanceCountAdjustment()); + } + if (model.wasPropertyExplicitlySet("query")) { + this.query(model.getQuery()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterCustomExpressionQueryScalingConfiguration( + String pendingDuration, Integer instanceCountAdjustment, String query) { + super(pendingDuration, instanceCountAdjustment); + this.query = query; + } + + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature + * of the Monitoring service interprets results for each returned time series as Boolean values, + * where zero represents false and a non-zero value represents true. A true value means that the + * trigger rule condition has been met. The query must specify a metric, statistic, interval, + * and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You + * can optionally specify dimensions and grouping functions. Supported grouping functions: + * grouping(), groupBy(). Example of threshold alarm: {@code CPUUtilization[1m]{resourceId = + * "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = + * "Compute_Target_OCID"}.grouping().mean() > 75 } + */ + @com.fasterxml.jackson.annotation.JsonProperty("query") + private final String query; + + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature + * of the Monitoring service interprets results for each returned time series as Boolean values, + * where zero represents false and a non-zero value represents true. A true value means that the + * trigger rule condition has been met. The query must specify a metric, statistic, interval, + * and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You + * can optionally specify dimensions and grouping functions. Supported grouping functions: + * grouping(), groupBy(). Example of threshold alarm: {@code CPUUtilization[1m]{resourceId = + * "Compute_Target_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = + * "Compute_Target_OCID"}.grouping().mean() > 75 } + * + * @return the value + */ + public String getQuery() { + return query; + } + + @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("ManagedComputeClusterCustomExpressionQueryScalingConfiguration("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", query=").append(String.valueOf(this.query)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterCustomExpressionQueryScalingConfiguration)) { + return false; + } + + ManagedComputeClusterCustomExpressionQueryScalingConfiguration other = + (ManagedComputeClusterCustomExpressionQueryScalingConfiguration) o; + return java.util.Objects.equals(this.query, other.query) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.query == null ? 43 : this.query.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterCustomMetricExpressionRule.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterCustomMetricExpressionRule.java new file mode 100644 index 00000000000..1d05bf55c5d --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterCustomMetricExpressionRule.java @@ -0,0 +1,170 @@ +/** + * 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; + +/** + * A custom Monitoring Query Language (MQL) expression for triggering an autoscaling action on the + * managed compute cluster type compute target .
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterCustomMetricExpressionRule.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "metricExpressionRuleType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterCustomMetricExpressionRule + extends ManagedComputeClusterMetricExpressionRule { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("scaleInConfiguration") + private ManagedComputeClusterCustomExpressionQueryScalingConfiguration scaleInConfiguration; + + public Builder scaleInConfiguration( + ManagedComputeClusterCustomExpressionQueryScalingConfiguration + scaleInConfiguration) { + this.scaleInConfiguration = scaleInConfiguration; + this.__explicitlySet__.add("scaleInConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleOutConfiguration") + private ManagedComputeClusterCustomExpressionQueryScalingConfiguration + scaleOutConfiguration; + + public Builder scaleOutConfiguration( + ManagedComputeClusterCustomExpressionQueryScalingConfiguration + scaleOutConfiguration) { + this.scaleOutConfiguration = scaleOutConfiguration; + this.__explicitlySet__.add("scaleOutConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterCustomMetricExpressionRule build() { + ManagedComputeClusterCustomMetricExpressionRule model = + new ManagedComputeClusterCustomMetricExpressionRule( + this.scaleInConfiguration, this.scaleOutConfiguration); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterCustomMetricExpressionRule model) { + if (model.wasPropertyExplicitlySet("scaleInConfiguration")) { + this.scaleInConfiguration(model.getScaleInConfiguration()); + } + if (model.wasPropertyExplicitlySet("scaleOutConfiguration")) { + this.scaleOutConfiguration(model.getScaleOutConfiguration()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterCustomMetricExpressionRule( + ManagedComputeClusterCustomExpressionQueryScalingConfiguration scaleInConfiguration, + ManagedComputeClusterCustomExpressionQueryScalingConfiguration scaleOutConfiguration) { + super(); + this.scaleInConfiguration = scaleInConfiguration; + this.scaleOutConfiguration = scaleOutConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleInConfiguration") + private final ManagedComputeClusterCustomExpressionQueryScalingConfiguration + scaleInConfiguration; + + public ManagedComputeClusterCustomExpressionQueryScalingConfiguration + getScaleInConfiguration() { + return scaleInConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleOutConfiguration") + private final ManagedComputeClusterCustomExpressionQueryScalingConfiguration + scaleOutConfiguration; + + public ManagedComputeClusterCustomExpressionQueryScalingConfiguration + getScaleOutConfiguration() { + return scaleOutConfiguration; + } + + @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("ManagedComputeClusterCustomMetricExpressionRule("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", scaleInConfiguration=").append(String.valueOf(this.scaleInConfiguration)); + sb.append(", scaleOutConfiguration=").append(String.valueOf(this.scaleOutConfiguration)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterCustomMetricExpressionRule)) { + return false; + } + + ManagedComputeClusterCustomMetricExpressionRule other = + (ManagedComputeClusterCustomMetricExpressionRule) o; + return java.util.Objects.equals(this.scaleInConfiguration, other.scaleInConfiguration) + && java.util.Objects.equals(this.scaleOutConfiguration, other.scaleOutConfiguration) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.scaleInConfiguration == null + ? 43 + : this.scaleInConfiguration.hashCode()); + result = + (result * PRIME) + + (this.scaleOutConfiguration == null + ? 43 + : this.scaleOutConfiguration.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterFixedSizeScalingPolicy.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterFixedSizeScalingPolicy.java new file mode 100644 index 00000000000..c81887a9f25 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterFixedSizeScalingPolicy.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.datascience.model; + +/** + * The fixed size scaling policy.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterFixedSizeScalingPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "policyType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterFixedSizeScalingPolicy + extends ManagedComputeClusterScalingPolicy { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The number of instances for the managed compute cluster type compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceCount") + private Integer instanceCount; + + /** + * The number of instances for the managed compute cluster type compute target. + * + * @param instanceCount the value to set + * @return this builder + */ + public Builder instanceCount(Integer instanceCount) { + this.instanceCount = instanceCount; + this.__explicitlySet__.add("instanceCount"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterFixedSizeScalingPolicy build() { + ManagedComputeClusterFixedSizeScalingPolicy model = + new ManagedComputeClusterFixedSizeScalingPolicy(this.instanceCount); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterFixedSizeScalingPolicy model) { + if (model.wasPropertyExplicitlySet("instanceCount")) { + this.instanceCount(model.getInstanceCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterFixedSizeScalingPolicy(Integer instanceCount) { + super(); + this.instanceCount = instanceCount; + } + + /** The number of instances for the managed compute cluster type compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceCount") + private final Integer instanceCount; + + /** + * The number of instances for the managed compute cluster type compute target. + * + * @return the value + */ + public Integer getInstanceCount() { + return instanceCount; + } + + @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("ManagedComputeClusterFixedSizeScalingPolicy("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", instanceCount=").append(String.valueOf(this.instanceCount)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterFixedSizeScalingPolicy)) { + return false; + } + + ManagedComputeClusterFixedSizeScalingPolicy other = + (ManagedComputeClusterFixedSizeScalingPolicy) o; + return java.util.Objects.equals(this.instanceCount, other.instanceCount) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.instanceCount == null ? 43 : this.instanceCount.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterInstanceConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterInstanceConfigurationDetails.java new file mode 100644 index 00000000000..bede2c3fcab --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterInstanceConfigurationDetails.java @@ -0,0 +1,224 @@ +/** + * 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; + +/** + * The compute target instance configuration details for managed compute cluster type compute + * target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterInstanceConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterInstanceConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "instanceShape", + "bootVolumeSizeInGBs", + "instanceShapeDetails" + }) + public ManagedComputeClusterInstanceConfigurationDetails( + String instanceShape, + Integer bootVolumeSizeInGBs, + ManagedComputeClusterInstanceShapeDetails instanceShapeDetails) { + super(); + this.instanceShape = instanceShape; + this.bootVolumeSizeInGBs = bootVolumeSizeInGBs; + this.instanceShapeDetails = instanceShapeDetails; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The shape used to launch the instances in compute target. Supported shapes can be + * retrieved using compute target shapes api. + */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceShape") + private String instanceShape; + + /** + * The shape used to launch the instances in compute target. Supported shapes can be + * retrieved using compute target shapes api. + * + * @param instanceShape the value to set + * @return this builder + */ + public Builder instanceShape(String instanceShape) { + this.instanceShape = instanceShape; + this.__explicitlySet__.add("instanceShape"); + return this; + } + /** The size of the boot volume to attach to the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("bootVolumeSizeInGBs") + private Integer bootVolumeSizeInGBs; + + /** + * The size of the boot volume to attach to the instance. + * + * @param bootVolumeSizeInGBs the value to set + * @return this builder + */ + public Builder bootVolumeSizeInGBs(Integer bootVolumeSizeInGBs) { + this.bootVolumeSizeInGBs = bootVolumeSizeInGBs; + this.__explicitlySet__.add("bootVolumeSizeInGBs"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceShapeDetails") + private ManagedComputeClusterInstanceShapeDetails instanceShapeDetails; + + public Builder instanceShapeDetails( + ManagedComputeClusterInstanceShapeDetails instanceShapeDetails) { + this.instanceShapeDetails = instanceShapeDetails; + this.__explicitlySet__.add("instanceShapeDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterInstanceConfigurationDetails build() { + ManagedComputeClusterInstanceConfigurationDetails model = + new ManagedComputeClusterInstanceConfigurationDetails( + this.instanceShape, + this.bootVolumeSizeInGBs, + this.instanceShapeDetails); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterInstanceConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("instanceShape")) { + this.instanceShape(model.getInstanceShape()); + } + if (model.wasPropertyExplicitlySet("bootVolumeSizeInGBs")) { + this.bootVolumeSizeInGBs(model.getBootVolumeSizeInGBs()); + } + if (model.wasPropertyExplicitlySet("instanceShapeDetails")) { + this.instanceShapeDetails(model.getInstanceShapeDetails()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The shape used to launch the instances in compute target. Supported shapes can be retrieved + * using compute target shapes api. + */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceShape") + private final String instanceShape; + + /** + * The shape used to launch the instances in compute target. Supported shapes can be retrieved + * using compute target shapes api. + * + * @return the value + */ + public String getInstanceShape() { + return instanceShape; + } + + /** The size of the boot volume to attach to the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("bootVolumeSizeInGBs") + private final Integer bootVolumeSizeInGBs; + + /** + * The size of the boot volume to attach to the instance. + * + * @return the value + */ + public Integer getBootVolumeSizeInGBs() { + return bootVolumeSizeInGBs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceShapeDetails") + private final ManagedComputeClusterInstanceShapeDetails instanceShapeDetails; + + public ManagedComputeClusterInstanceShapeDetails getInstanceShapeDetails() { + return instanceShapeDetails; + } + + @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("ManagedComputeClusterInstanceConfigurationDetails("); + sb.append("super=").append(super.toString()); + sb.append("instanceShape=").append(String.valueOf(this.instanceShape)); + sb.append(", bootVolumeSizeInGBs=").append(String.valueOf(this.bootVolumeSizeInGBs)); + sb.append(", instanceShapeDetails=").append(String.valueOf(this.instanceShapeDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterInstanceConfigurationDetails)) { + return false; + } + + ManagedComputeClusterInstanceConfigurationDetails other = + (ManagedComputeClusterInstanceConfigurationDetails) o; + return java.util.Objects.equals(this.instanceShape, other.instanceShape) + && java.util.Objects.equals(this.bootVolumeSizeInGBs, other.bootVolumeSizeInGBs) + && java.util.Objects.equals(this.instanceShapeDetails, other.instanceShapeDetails) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.instanceShape == null ? 43 : this.instanceShape.hashCode()); + result = + (result * PRIME) + + (this.bootVolumeSizeInGBs == null + ? 43 + : this.bootVolumeSizeInGBs.hashCode()); + result = + (result * PRIME) + + (this.instanceShapeDetails == null + ? 43 + : this.instanceShapeDetails.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterInstanceShapeDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterInstanceShapeDetails.java new file mode 100644 index 00000000000..346e2fc2a15 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterInstanceShapeDetails.java @@ -0,0 +1,172 @@ +/** + * 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; + +/** + * Instance shape configuration for managed compute cluster type compute target. Specify only when a + * flex shape is selected.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterInstanceShapeDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterInstanceShapeDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"ocpus", "memoryInGBs"}) + public ManagedComputeClusterInstanceShapeDetails(Float ocpus, Float memoryInGBs) { + super(); + this.ocpus = ocpus; + this.memoryInGBs = memoryInGBs; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The total number of OCPUs allocated to the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("ocpus") + private Float ocpus; + + /** + * The total number of OCPUs allocated to the instance. + * + * @param ocpus the value to set + * @return this builder + */ + public Builder ocpus(Float ocpus) { + this.ocpus = ocpus; + this.__explicitlySet__.add("ocpus"); + return this; + } + /** The total amount of memory allocated to the instance, in gigabytes. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private Float memoryInGBs; + + /** + * The total amount of memory allocated to the instance, in gigabytes. + * + * @param memoryInGBs the value to set + * @return this builder + */ + public Builder memoryInGBs(Float memoryInGBs) { + this.memoryInGBs = memoryInGBs; + this.__explicitlySet__.add("memoryInGBs"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterInstanceShapeDetails build() { + ManagedComputeClusterInstanceShapeDetails model = + new ManagedComputeClusterInstanceShapeDetails(this.ocpus, this.memoryInGBs); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterInstanceShapeDetails model) { + if (model.wasPropertyExplicitlySet("ocpus")) { + this.ocpus(model.getOcpus()); + } + if (model.wasPropertyExplicitlySet("memoryInGBs")) { + this.memoryInGBs(model.getMemoryInGBs()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The total number of OCPUs allocated to the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("ocpus") + private final Float ocpus; + + /** + * The total number of OCPUs allocated to the instance. + * + * @return the value + */ + public Float getOcpus() { + return ocpus; + } + + /** The total amount of memory allocated to the instance, in gigabytes. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private final Float memoryInGBs; + + /** + * The total amount of memory allocated to the instance, in gigabytes. + * + * @return the value + */ + public Float getMemoryInGBs() { + return memoryInGBs; + } + + @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("ManagedComputeClusterInstanceShapeDetails("); + sb.append("super=").append(super.toString()); + sb.append("ocpus=").append(String.valueOf(this.ocpus)); + sb.append(", memoryInGBs=").append(String.valueOf(this.memoryInGBs)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterInstanceShapeDetails)) { + return false; + } + + ManagedComputeClusterInstanceShapeDetails other = + (ManagedComputeClusterInstanceShapeDetails) o; + return java.util.Objects.equals(this.ocpus, other.ocpus) + && java.util.Objects.equals(this.memoryInGBs, other.memoryInGBs) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.ocpus == null ? 43 : this.ocpus.hashCode()); + result = (result * PRIME) + (this.memoryInGBs == null ? 43 : this.memoryInGBs.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterJobInfrastructureConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterJobInfrastructureConfigurationDetails.java new file mode 100644 index 00000000000..13d0de02354 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterJobInfrastructureConfigurationDetails.java @@ -0,0 +1,179 @@ +/** + * 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; + +/** + * The job infrastructure configuration for compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterJobInfrastructureConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "jobInfrastructureType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterJobInfrastructureConfigurationDetails + extends JobInfrastructureConfigurationDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("computeTargetId") + private String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @param computeTargetId the value to set + * @return this builder + */ + public Builder computeTargetId(String computeTargetId) { + this.computeTargetId = computeTargetId; + this.__explicitlySet__.add("computeTargetId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceConfiguration") + private ManagedComputeClusterJobResourceConfiguration resourceConfiguration; + + public Builder resourceConfiguration( + ManagedComputeClusterJobResourceConfiguration resourceConfiguration) { + this.resourceConfiguration = resourceConfiguration; + this.__explicitlySet__.add("resourceConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterJobInfrastructureConfigurationDetails build() { + ManagedComputeClusterJobInfrastructureConfigurationDetails model = + new ManagedComputeClusterJobInfrastructureConfigurationDetails( + this.computeTargetId, this.resourceConfiguration); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterJobInfrastructureConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("computeTargetId")) { + this.computeTargetId(model.getComputeTargetId()); + } + if (model.wasPropertyExplicitlySet("resourceConfiguration")) { + this.resourceConfiguration(model.getResourceConfiguration()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterJobInfrastructureConfigurationDetails( + String computeTargetId, + ManagedComputeClusterJobResourceConfiguration resourceConfiguration) { + super(); + this.computeTargetId = computeTargetId; + this.resourceConfiguration = resourceConfiguration; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("computeTargetId") + private final String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @return the value + */ + public String getComputeTargetId() { + return computeTargetId; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceConfiguration") + private final ManagedComputeClusterJobResourceConfiguration resourceConfiguration; + + public ManagedComputeClusterJobResourceConfiguration getResourceConfiguration() { + return resourceConfiguration; + } + + @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("ManagedComputeClusterJobInfrastructureConfigurationDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", computeTargetId=").append(String.valueOf(this.computeTargetId)); + sb.append(", resourceConfiguration=").append(String.valueOf(this.resourceConfiguration)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterJobInfrastructureConfigurationDetails)) { + return false; + } + + ManagedComputeClusterJobInfrastructureConfigurationDetails other = + (ManagedComputeClusterJobInfrastructureConfigurationDetails) o; + return java.util.Objects.equals(this.computeTargetId, other.computeTargetId) + && java.util.Objects.equals(this.resourceConfiguration, other.resourceConfiguration) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.computeTargetId == null ? 43 : this.computeTargetId.hashCode()); + result = + (result * PRIME) + + (this.resourceConfiguration == null + ? 43 + : this.resourceConfiguration.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterJobResourceConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterJobResourceConfiguration.java new file mode 100644 index 00000000000..07c07beb6fb --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterJobResourceConfiguration.java @@ -0,0 +1,167 @@ +/** + * 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; + +/** + * Details for the compute target job resource configuration.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterJobResourceConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterJobResourceConfiguration + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "resourceLimitConfiguration", + "resourceRequestConfiguration" + }) + public ManagedComputeClusterJobResourceConfiguration( + ResourceLimitConfiguration resourceLimitConfiguration, + ResourceRequestConfiguration resourceRequestConfiguration) { + super(); + this.resourceLimitConfiguration = resourceLimitConfiguration; + this.resourceRequestConfiguration = resourceRequestConfiguration; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceLimitConfiguration") + private ResourceLimitConfiguration resourceLimitConfiguration; + + public Builder resourceLimitConfiguration( + ResourceLimitConfiguration resourceLimitConfiguration) { + this.resourceLimitConfiguration = resourceLimitConfiguration; + this.__explicitlySet__.add("resourceLimitConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceRequestConfiguration") + private ResourceRequestConfiguration resourceRequestConfiguration; + + public Builder resourceRequestConfiguration( + ResourceRequestConfiguration resourceRequestConfiguration) { + this.resourceRequestConfiguration = resourceRequestConfiguration; + this.__explicitlySet__.add("resourceRequestConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterJobResourceConfiguration build() { + ManagedComputeClusterJobResourceConfiguration model = + new ManagedComputeClusterJobResourceConfiguration( + this.resourceLimitConfiguration, this.resourceRequestConfiguration); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterJobResourceConfiguration model) { + if (model.wasPropertyExplicitlySet("resourceLimitConfiguration")) { + this.resourceLimitConfiguration(model.getResourceLimitConfiguration()); + } + if (model.wasPropertyExplicitlySet("resourceRequestConfiguration")) { + this.resourceRequestConfiguration(model.getResourceRequestConfiguration()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceLimitConfiguration") + private final ResourceLimitConfiguration resourceLimitConfiguration; + + public ResourceLimitConfiguration getResourceLimitConfiguration() { + return resourceLimitConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceRequestConfiguration") + private final ResourceRequestConfiguration resourceRequestConfiguration; + + public ResourceRequestConfiguration getResourceRequestConfiguration() { + return resourceRequestConfiguration; + } + + @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("ManagedComputeClusterJobResourceConfiguration("); + sb.append("super=").append(super.toString()); + sb.append("resourceLimitConfiguration=") + .append(String.valueOf(this.resourceLimitConfiguration)); + sb.append(", resourceRequestConfiguration=") + .append(String.valueOf(this.resourceRequestConfiguration)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterJobResourceConfiguration)) { + return false; + } + + ManagedComputeClusterJobResourceConfiguration other = + (ManagedComputeClusterJobResourceConfiguration) o; + return java.util.Objects.equals( + this.resourceLimitConfiguration, other.resourceLimitConfiguration) + && java.util.Objects.equals( + this.resourceRequestConfiguration, other.resourceRequestConfiguration) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.resourceLimitConfiguration == null + ? 43 + : this.resourceLimitConfiguration.hashCode()); + result = + (result * PRIME) + + (this.resourceRequestConfiguration == null + ? 43 + : this.resourceRequestConfiguration.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterMetricExpressionRule.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterMetricExpressionRule.java new file mode 100644 index 00000000000..7909cd5c1d9 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterMetricExpressionRule.java @@ -0,0 +1,132 @@ +/** + * 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; + +/** + * The metric expression rule base.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "metricExpressionRuleType", + defaultImpl = ManagedComputeClusterMetricExpressionRule.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterPredefinedMetricExpressionRule.class, + name = "PREDEFINED_EXPRESSION"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterCustomMetricExpressionRule.class, + name = "CUSTOM_EXPRESSION") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ManagedComputeClusterMetricExpressionRule + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected ManagedComputeClusterMetricExpressionRule() { + 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("ManagedComputeClusterMetricExpressionRule("); + 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 ManagedComputeClusterMetricExpressionRule)) { + return false; + } + + ManagedComputeClusterMetricExpressionRule other = + (ManagedComputeClusterMetricExpressionRule) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** + * The metric expression for creating the alarm used to trigger autoscaling actions on the + * managed compute cluster type compute target . + */ + public enum MetricExpressionRuleType implements com.oracle.bmc.http.internal.BmcEnum { + PredefinedExpression("PREDEFINED_EXPRESSION"), + CustomExpression("CUSTOM_EXPRESSION"), + + /** + * 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(MetricExpressionRuleType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (MetricExpressionRuleType v : MetricExpressionRuleType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + MetricExpressionRuleType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static MetricExpressionRuleType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'MetricExpressionRuleType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeployInfrastructureConfigDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeployInfrastructureConfigDetails.java new file mode 100644 index 00000000000..94a779b42be --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeployInfrastructureConfigDetails.java @@ -0,0 +1,217 @@ +/** + * 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; + +/** + * Infrastructure configuration details for model deploy on managed compute cluster type compute + * target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterModelDeployInfrastructureConfigDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "infrastructureType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterModelDeployInfrastructureConfigDetails + extends ModelDeployInfrastructureConfigurationDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * Compute Target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("computeTargetId") + private String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * Compute Target. + * + * @param computeTargetId the value to set + * @return this builder + */ + public Builder computeTargetId(String computeTargetId) { + this.computeTargetId = computeTargetId; + this.__explicitlySet__.add("computeTargetId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("modelDeploymentResourceConfiguration") + private ManagedComputeClusterModelDeploymentResourceConfiguration + modelDeploymentResourceConfiguration; + + public Builder modelDeploymentResourceConfiguration( + ManagedComputeClusterModelDeploymentResourceConfiguration + modelDeploymentResourceConfiguration) { + this.modelDeploymentResourceConfiguration = modelDeploymentResourceConfiguration; + this.__explicitlySet__.add("modelDeploymentResourceConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scalingPolicy") + private ManagedComputeClusterWorkloadScalingPolicy scalingPolicy; + + public Builder scalingPolicy(ManagedComputeClusterWorkloadScalingPolicy scalingPolicy) { + this.scalingPolicy = scalingPolicy; + this.__explicitlySet__.add("scalingPolicy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterModelDeployInfrastructureConfigDetails build() { + ManagedComputeClusterModelDeployInfrastructureConfigDetails model = + new ManagedComputeClusterModelDeployInfrastructureConfigDetails( + this.computeTargetId, + this.modelDeploymentResourceConfiguration, + this.scalingPolicy); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterModelDeployInfrastructureConfigDetails model) { + if (model.wasPropertyExplicitlySet("computeTargetId")) { + this.computeTargetId(model.getComputeTargetId()); + } + if (model.wasPropertyExplicitlySet("modelDeploymentResourceConfiguration")) { + this.modelDeploymentResourceConfiguration( + model.getModelDeploymentResourceConfiguration()); + } + if (model.wasPropertyExplicitlySet("scalingPolicy")) { + this.scalingPolicy(model.getScalingPolicy()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterModelDeployInfrastructureConfigDetails( + String computeTargetId, + ManagedComputeClusterModelDeploymentResourceConfiguration + modelDeploymentResourceConfiguration, + ManagedComputeClusterWorkloadScalingPolicy scalingPolicy) { + super(); + this.computeTargetId = computeTargetId; + this.modelDeploymentResourceConfiguration = modelDeploymentResourceConfiguration; + this.scalingPolicy = scalingPolicy; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * Compute Target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("computeTargetId") + private final String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * Compute Target. + * + * @return the value + */ + public String getComputeTargetId() { + return computeTargetId; + } + + @com.fasterxml.jackson.annotation.JsonProperty("modelDeploymentResourceConfiguration") + private final ManagedComputeClusterModelDeploymentResourceConfiguration + modelDeploymentResourceConfiguration; + + public ManagedComputeClusterModelDeploymentResourceConfiguration + getModelDeploymentResourceConfiguration() { + return modelDeploymentResourceConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scalingPolicy") + private final ManagedComputeClusterWorkloadScalingPolicy scalingPolicy; + + public ManagedComputeClusterWorkloadScalingPolicy getScalingPolicy() { + return scalingPolicy; + } + + @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("ManagedComputeClusterModelDeployInfrastructureConfigDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", computeTargetId=").append(String.valueOf(this.computeTargetId)); + sb.append(", modelDeploymentResourceConfiguration=") + .append(String.valueOf(this.modelDeploymentResourceConfiguration)); + sb.append(", scalingPolicy=").append(String.valueOf(this.scalingPolicy)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterModelDeployInfrastructureConfigDetails)) { + return false; + } + + ManagedComputeClusterModelDeployInfrastructureConfigDetails other = + (ManagedComputeClusterModelDeployInfrastructureConfigDetails) o; + return java.util.Objects.equals(this.computeTargetId, other.computeTargetId) + && java.util.Objects.equals( + this.modelDeploymentResourceConfiguration, + other.modelDeploymentResourceConfiguration) + && java.util.Objects.equals(this.scalingPolicy, other.scalingPolicy) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.computeTargetId == null ? 43 : this.computeTargetId.hashCode()); + result = + (result * PRIME) + + (this.modelDeploymentResourceConfiguration == null + ? 43 + : this.modelDeploymentResourceConfiguration.hashCode()); + result = + (result * PRIME) + + (this.scalingPolicy == null ? 43 : this.scalingPolicy.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeploymentResourceConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeploymentResourceConfiguration.java new file mode 100644 index 00000000000..220dee4ea54 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeploymentResourceConfiguration.java @@ -0,0 +1,168 @@ +/** + * 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; + +/** + * Resource configuration details for model deploy on managed compute cluster type compute target. + *
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterModelDeploymentResourceConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterModelDeploymentResourceConfiguration + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "resourceRequestConfiguration", + "resourceLimitConfiguration" + }) + public ManagedComputeClusterModelDeploymentResourceConfiguration( + ResourceRequestConfiguration resourceRequestConfiguration, + ResourceLimitConfiguration resourceLimitConfiguration) { + super(); + this.resourceRequestConfiguration = resourceRequestConfiguration; + this.resourceLimitConfiguration = resourceLimitConfiguration; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceRequestConfiguration") + private ResourceRequestConfiguration resourceRequestConfiguration; + + public Builder resourceRequestConfiguration( + ResourceRequestConfiguration resourceRequestConfiguration) { + this.resourceRequestConfiguration = resourceRequestConfiguration; + this.__explicitlySet__.add("resourceRequestConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceLimitConfiguration") + private ResourceLimitConfiguration resourceLimitConfiguration; + + public Builder resourceLimitConfiguration( + ResourceLimitConfiguration resourceLimitConfiguration) { + this.resourceLimitConfiguration = resourceLimitConfiguration; + this.__explicitlySet__.add("resourceLimitConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterModelDeploymentResourceConfiguration build() { + ManagedComputeClusterModelDeploymentResourceConfiguration model = + new ManagedComputeClusterModelDeploymentResourceConfiguration( + this.resourceRequestConfiguration, this.resourceLimitConfiguration); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterModelDeploymentResourceConfiguration model) { + if (model.wasPropertyExplicitlySet("resourceRequestConfiguration")) { + this.resourceRequestConfiguration(model.getResourceRequestConfiguration()); + } + if (model.wasPropertyExplicitlySet("resourceLimitConfiguration")) { + this.resourceLimitConfiguration(model.getResourceLimitConfiguration()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceRequestConfiguration") + private final ResourceRequestConfiguration resourceRequestConfiguration; + + public ResourceRequestConfiguration getResourceRequestConfiguration() { + return resourceRequestConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceLimitConfiguration") + private final ResourceLimitConfiguration resourceLimitConfiguration; + + public ResourceLimitConfiguration getResourceLimitConfiguration() { + return resourceLimitConfiguration; + } + + @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("ManagedComputeClusterModelDeploymentResourceConfiguration("); + sb.append("super=").append(super.toString()); + sb.append("resourceRequestConfiguration=") + .append(String.valueOf(this.resourceRequestConfiguration)); + sb.append(", resourceLimitConfiguration=") + .append(String.valueOf(this.resourceLimitConfiguration)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterModelDeploymentResourceConfiguration)) { + return false; + } + + ManagedComputeClusterModelDeploymentResourceConfiguration other = + (ManagedComputeClusterModelDeploymentResourceConfiguration) o; + return java.util.Objects.equals( + this.resourceRequestConfiguration, other.resourceRequestConfiguration) + && java.util.Objects.equals( + this.resourceLimitConfiguration, other.resourceLimitConfiguration) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.resourceRequestConfiguration == null + ? 43 + : this.resourceRequestConfiguration.hashCode()); + result = + (result * PRIME) + + (this.resourceLimitConfiguration == null + ? 43 + : this.resourceLimitConfiguration.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeploymentSystemData.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeploymentSystemData.java new file mode 100644 index 00000000000..ae3fbf4598e --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterModelDeploymentSystemData.java @@ -0,0 +1,155 @@ +/** + * 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; + +/** + * Managed compute cluster type compute target based model deployment system data.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterModelDeploymentSystemData.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "systemInfraType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterModelDeploymentSystemData + extends ModelDeploymentSystemData { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("modelType") + private ModelDeploymentModelType modelType; + + public Builder modelType(ModelDeploymentModelType modelType) { + this.modelType = modelType; + this.__explicitlySet__.add("modelType"); + return this; + } + /** This value is the current count of the model deployment instances. */ + @com.fasterxml.jackson.annotation.JsonProperty("currentInstanceCount") + private Integer currentInstanceCount; + + /** + * This value is the current count of the model deployment instances. + * + * @param currentInstanceCount the value to set + * @return this builder + */ + public Builder currentInstanceCount(Integer currentInstanceCount) { + this.currentInstanceCount = currentInstanceCount; + this.__explicitlySet__.add("currentInstanceCount"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterModelDeploymentSystemData build() { + ManagedComputeClusterModelDeploymentSystemData model = + new ManagedComputeClusterModelDeploymentSystemData( + this.modelType, this.currentInstanceCount); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterModelDeploymentSystemData model) { + if (model.wasPropertyExplicitlySet("modelType")) { + this.modelType(model.getModelType()); + } + if (model.wasPropertyExplicitlySet("currentInstanceCount")) { + this.currentInstanceCount(model.getCurrentInstanceCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterModelDeploymentSystemData( + ModelDeploymentModelType modelType, Integer currentInstanceCount) { + super(modelType); + this.currentInstanceCount = currentInstanceCount; + } + + /** This value is the current count of the model deployment instances. */ + @com.fasterxml.jackson.annotation.JsonProperty("currentInstanceCount") + private final Integer currentInstanceCount; + + /** + * This value is the current count of the model deployment instances. + * + * @return the value + */ + public Integer getCurrentInstanceCount() { + return currentInstanceCount; + } + + @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("ManagedComputeClusterModelDeploymentSystemData("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", currentInstanceCount=").append(String.valueOf(this.currentInstanceCount)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterModelDeploymentSystemData)) { + return false; + } + + ManagedComputeClusterModelDeploymentSystemData other = + (ManagedComputeClusterModelDeploymentSystemData) o; + return java.util.Objects.equals(this.currentInstanceCount, other.currentInstanceCount) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.currentInstanceCount == null + ? 43 + : this.currentInstanceCount.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration.java new file mode 100644 index 00000000000..d33216b5c22 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration.java @@ -0,0 +1,167 @@ +/** + * 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; + +/** + * The scaling configuration for the predefined metric expression rule.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = + ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration.Builder + .class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "scalingConfigurationType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + extends ManagedComputeClusterScalingConfiguration { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("pendingDuration") + private String pendingDuration; + + public Builder pendingDuration(String pendingDuration) { + this.pendingDuration = pendingDuration; + this.__explicitlySet__.add("pendingDuration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceCountAdjustment") + private Integer instanceCountAdjustment; + + public Builder instanceCountAdjustment(Integer instanceCountAdjustment) { + this.instanceCountAdjustment = instanceCountAdjustment; + this.__explicitlySet__.add("instanceCountAdjustment"); + return this; + } + /** A metric value at which the scaling operation will be triggered. */ + @com.fasterxml.jackson.annotation.JsonProperty("threshold") + private Integer threshold; + + /** + * A metric value at which the scaling operation will be triggered. + * + * @param threshold the value to set + * @return this builder + */ + public Builder threshold(Integer threshold) { + this.threshold = threshold; + this.__explicitlySet__.add("threshold"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration build() { + ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration model = + new ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration( + this.pendingDuration, this.instanceCountAdjustment, this.threshold); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy( + ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration model) { + if (model.wasPropertyExplicitlySet("pendingDuration")) { + this.pendingDuration(model.getPendingDuration()); + } + if (model.wasPropertyExplicitlySet("instanceCountAdjustment")) { + this.instanceCountAdjustment(model.getInstanceCountAdjustment()); + } + if (model.wasPropertyExplicitlySet("threshold")) { + this.threshold(model.getThreshold()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration( + String pendingDuration, Integer instanceCountAdjustment, Integer threshold) { + super(pendingDuration, instanceCountAdjustment); + this.threshold = threshold; + } + + /** A metric value at which the scaling operation will be triggered. */ + @com.fasterxml.jackson.annotation.JsonProperty("threshold") + private final Integer threshold; + + /** + * A metric value at which the scaling operation will be triggered. + * + * @return the value + */ + public Integer getThreshold() { + return threshold; + } + + @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("ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", threshold=").append(String.valueOf(this.threshold)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o + instanceof + ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration)) { + return false; + } + + ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration other = + (ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration) o; + return java.util.Objects.equals(this.threshold, other.threshold) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.threshold == null ? 43 : this.threshold.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterPredefinedMetricExpressionRule.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterPredefinedMetricExpressionRule.java new file mode 100644 index 00000000000..73991ae4eb8 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterPredefinedMetricExpressionRule.java @@ -0,0 +1,255 @@ +/** + * 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; + +/** + * An expression built using CPU or Memory metrics for triggering an autoscaling action on the + * managed compute cluster type compute target .
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterPredefinedMetricExpressionRule.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "metricExpressionRuleType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterPredefinedMetricExpressionRule + extends ManagedComputeClusterMetricExpressionRule { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Metric type */ + @com.fasterxml.jackson.annotation.JsonProperty("metricType") + private MetricType metricType; + + /** + * Metric type + * + * @param metricType the value to set + * @return this builder + */ + public Builder metricType(MetricType metricType) { + this.metricType = metricType; + this.__explicitlySet__.add("metricType"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleInConfiguration") + private ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + scaleInConfiguration; + + public Builder scaleInConfiguration( + ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + scaleInConfiguration) { + this.scaleInConfiguration = scaleInConfiguration; + this.__explicitlySet__.add("scaleInConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleOutConfiguration") + private ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + scaleOutConfiguration; + + public Builder scaleOutConfiguration( + ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + scaleOutConfiguration) { + this.scaleOutConfiguration = scaleOutConfiguration; + this.__explicitlySet__.add("scaleOutConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterPredefinedMetricExpressionRule build() { + ManagedComputeClusterPredefinedMetricExpressionRule model = + new ManagedComputeClusterPredefinedMetricExpressionRule( + this.metricType, this.scaleInConfiguration, this.scaleOutConfiguration); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterPredefinedMetricExpressionRule model) { + if (model.wasPropertyExplicitlySet("metricType")) { + this.metricType(model.getMetricType()); + } + if (model.wasPropertyExplicitlySet("scaleInConfiguration")) { + this.scaleInConfiguration(model.getScaleInConfiguration()); + } + if (model.wasPropertyExplicitlySet("scaleOutConfiguration")) { + this.scaleOutConfiguration(model.getScaleOutConfiguration()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterPredefinedMetricExpressionRule( + MetricType metricType, + ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + scaleInConfiguration, + ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + scaleOutConfiguration) { + super(); + this.metricType = metricType; + this.scaleInConfiguration = scaleInConfiguration; + this.scaleOutConfiguration = scaleOutConfiguration; + } + + /** Metric type */ + public enum MetricType implements com.oracle.bmc.http.internal.BmcEnum { + CpuUtilization("CPU_UTILIZATION"), + MemoryUtilization("MEMORY_UTILIZATION"), + + /** + * 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(MetricType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (MetricType v : MetricType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + MetricType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static MetricType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'MetricType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** Metric type */ + @com.fasterxml.jackson.annotation.JsonProperty("metricType") + private final MetricType metricType; + + /** + * Metric type + * + * @return the value + */ + public MetricType getMetricType() { + return metricType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleInConfiguration") + private final ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + scaleInConfiguration; + + public ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + getScaleInConfiguration() { + return scaleInConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleOutConfiguration") + private final ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + scaleOutConfiguration; + + public ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration + getScaleOutConfiguration() { + return scaleOutConfiguration; + } + + @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("ManagedComputeClusterPredefinedMetricExpressionRule("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", metricType=").append(String.valueOf(this.metricType)); + sb.append(", scaleInConfiguration=").append(String.valueOf(this.scaleInConfiguration)); + sb.append(", scaleOutConfiguration=").append(String.valueOf(this.scaleOutConfiguration)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterPredefinedMetricExpressionRule)) { + return false; + } + + ManagedComputeClusterPredefinedMetricExpressionRule other = + (ManagedComputeClusterPredefinedMetricExpressionRule) o; + return java.util.Objects.equals(this.metricType, other.metricType) + && java.util.Objects.equals(this.scaleInConfiguration, other.scaleInConfiguration) + && java.util.Objects.equals(this.scaleOutConfiguration, other.scaleOutConfiguration) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.metricType == null ? 43 : this.metricType.hashCode()); + result = + (result * PRIME) + + (this.scaleInConfiguration == null + ? 43 + : this.scaleInConfiguration.hashCode()); + result = + (result * PRIME) + + (this.scaleOutConfiguration == null + ? 43 + : this.scaleOutConfiguration.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterScalingConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterScalingConfiguration.java new file mode 100644 index 00000000000..d96dea76aca --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterScalingConfiguration.java @@ -0,0 +1,186 @@ +/** + * 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; + +/** + * Scaling configuration for the metric expression rule.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "scalingConfigurationType", + defaultImpl = ManagedComputeClusterScalingConfiguration.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterCustomExpressionQueryScalingConfiguration.class, + name = "QUERY"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration.class, + name = "THRESHOLD") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ManagedComputeClusterScalingConfiguration + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"pendingDuration", "instanceCountAdjustment"}) + protected ManagedComputeClusterScalingConfiguration( + String pendingDuration, Integer instanceCountAdjustment) { + super(); + this.pendingDuration = pendingDuration; + this.instanceCountAdjustment = instanceCountAdjustment; + } + + /** + * The period of time that the condition defined in the alarm must persist before the alarm + * state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means + * that the alarm must persist in breaching the condition for five minutes before the alarm + * updates its state to "FIRING"; likewise, the alarm must persist in not breaching the + * condition for five minutes before the alarm updates its state to "OK." The duration is + * specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). + * Minimum: PT3M. Maximum: PT1H. Default: PT3M. + */ + @com.fasterxml.jackson.annotation.JsonProperty("pendingDuration") + private final String pendingDuration; + + /** + * The period of time that the condition defined in the alarm must persist before the alarm + * state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means + * that the alarm must persist in breaching the condition for five minutes before the alarm + * updates its state to "FIRING"; likewise, the alarm must persist in not breaching the + * condition for five minutes before the alarm updates its state to "OK." The duration is + * specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). + * Minimum: PT3M. Maximum: PT1H. Default: PT3M. + * + * @return the value + */ + public String getPendingDuration() { + return pendingDuration; + } + + /** The value is used for adjusting the count of instances by. */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceCountAdjustment") + private final Integer instanceCountAdjustment; + + /** + * The value is used for adjusting the count of instances by. + * + * @return the value + */ + public Integer getInstanceCountAdjustment() { + return instanceCountAdjustment; + } + + @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("ManagedComputeClusterScalingConfiguration("); + sb.append("super=").append(super.toString()); + sb.append("pendingDuration=").append(String.valueOf(this.pendingDuration)); + sb.append(", instanceCountAdjustment=") + .append(String.valueOf(this.instanceCountAdjustment)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterScalingConfiguration)) { + return false; + } + + ManagedComputeClusterScalingConfiguration other = + (ManagedComputeClusterScalingConfiguration) o; + return java.util.Objects.equals(this.pendingDuration, other.pendingDuration) + && java.util.Objects.equals( + this.instanceCountAdjustment, other.instanceCountAdjustment) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.pendingDuration == null ? 43 : this.pendingDuration.hashCode()); + result = + (result * PRIME) + + (this.instanceCountAdjustment == null + ? 43 + : this.instanceCountAdjustment.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** The type of scaling configuration. */ + public enum ScalingConfigurationType implements com.oracle.bmc.http.internal.BmcEnum { + Threshold("THRESHOLD"), + Query("QUERY"), + + /** + * 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(ScalingConfigurationType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ScalingConfigurationType v : ScalingConfigurationType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ScalingConfigurationType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ScalingConfigurationType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ScalingConfigurationType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterScalingPolicy.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterScalingPolicy.java new file mode 100644 index 00000000000..8137d1d2bbf --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterScalingPolicy.java @@ -0,0 +1,128 @@ +/** + * 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; + +/** + * The scaling policy to apply to managed compute cluster type compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "policyType", + defaultImpl = ManagedComputeClusterScalingPolicy.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterAutoScalingPolicy.class, + name = "AUTOSCALING"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterFixedSizeScalingPolicy.class, + name = "FIXED_SIZE") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ManagedComputeClusterScalingPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected ManagedComputeClusterScalingPolicy() { + 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("ManagedComputeClusterScalingPolicy("); + 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 ManagedComputeClusterScalingPolicy)) { + return false; + } + + ManagedComputeClusterScalingPolicy other = (ManagedComputeClusterScalingPolicy) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** The type of scaling policy. */ + public enum PolicyType implements com.oracle.bmc.http.internal.BmcEnum { + FixedSize("FIXED_SIZE"), + Autoscaling("AUTOSCALING"), + + /** + * 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(PolicyType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PolicyType v : PolicyType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + PolicyType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PolicyType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'PolicyType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsAuthConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterSystemData.java similarity index 54% rename from bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsAuthConfiguration.java rename to bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterSystemData.java index 7859f7b1541..35159b3ce7f 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/IdcsAuthConfiguration.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterSystemData.java @@ -5,7 +5,7 @@ package com.oracle.bmc.datascience.model; /** - * Configuration of IDCS AuthN/Z for online prediction
+ * Managed compute cluster system data.
* 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 @@ -17,53 +17,38 @@ */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = IdcsAuthConfiguration.Builder.class) + builder = ManagedComputeClusterSystemData.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") + property = "computeType") @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class IdcsAuthConfiguration extends AuthConfiguration { +public final class ManagedComputeClusterSystemData extends ComputeTargetSystemData { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { - /** Identity Domain OCID */ - @com.fasterxml.jackson.annotation.JsonProperty("domainId") - private String domainId; + /** Current count of the instances in managed compute cluster type compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("currentInstanceCount") + private Integer currentInstanceCount; /** - * Identity Domain OCID + * Current count of the instances in managed compute cluster type compute target. * - * @param domainId the value to set + * @param currentInstanceCount the value to set * @return this builder */ - public Builder domainId(String domainId) { - this.domainId = domainId; - this.__explicitlySet__.add("domainId"); - return this; - } - /** Name of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("applicationName") - private String applicationName; - - /** - * Name of the IDCS application - * - * @param applicationName the value to set - * @return this builder - */ - public Builder applicationName(String applicationName) { - this.applicationName = applicationName; - this.__explicitlySet__.add("applicationName"); + public Builder currentInstanceCount(Integer currentInstanceCount) { + this.currentInstanceCount = currentInstanceCount; + this.__explicitlySet__.add("currentInstanceCount"); 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 ManagedComputeClusterSystemData build() { + ManagedComputeClusterSystemData model = + new ManagedComputeClusterSystemData(this.currentInstanceCount); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -71,12 +56,9 @@ public IdcsAuthConfiguration build() { } @com.fasterxml.jackson.annotation.JsonIgnore - public Builder copy(IdcsAuthConfiguration model) { - if (model.wasPropertyExplicitlySet("domainId")) { - this.domainId(model.getDomainId()); - } - if (model.wasPropertyExplicitlySet("applicationName")) { - this.applicationName(model.getApplicationName()); + public Builder copy(ManagedComputeClusterSystemData model) { + if (model.wasPropertyExplicitlySet("currentInstanceCount")) { + this.currentInstanceCount(model.getCurrentInstanceCount()); } return this; } @@ -92,36 +74,22 @@ public Builder toBuilder() { } @Deprecated - public IdcsAuthConfiguration(String domainId, String applicationName) { + public ManagedComputeClusterSystemData(Integer currentInstanceCount) { super(); - this.domainId = domainId; - this.applicationName = applicationName; - } - - /** Identity Domain OCID */ - @com.fasterxml.jackson.annotation.JsonProperty("domainId") - private final String domainId; - - /** - * Identity Domain OCID - * - * @return the value - */ - public String getDomainId() { - return domainId; + this.currentInstanceCount = currentInstanceCount; } - /** Name of the IDCS application */ - @com.fasterxml.jackson.annotation.JsonProperty("applicationName") - private final String applicationName; + /** Current count of the instances in managed compute cluster type compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("currentInstanceCount") + private final Integer currentInstanceCount; /** - * Name of the IDCS application + * Current count of the instances in managed compute cluster type compute target. * * @return the value */ - public String getApplicationName() { - return applicationName; + public Integer getCurrentInstanceCount() { + return currentInstanceCount; } @Override @@ -137,10 +105,9 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("IdcsAuthConfiguration("); + sb.append("ManagedComputeClusterSystemData("); 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(", currentInstanceCount=").append(String.valueOf(this.currentInstanceCount)); sb.append(")"); return sb.toString(); } @@ -150,13 +117,12 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof IdcsAuthConfiguration)) { + if (!(o instanceof ManagedComputeClusterSystemData)) { return false; } - IdcsAuthConfiguration other = (IdcsAuthConfiguration) o; - return java.util.Objects.equals(this.domainId, other.domainId) - && java.util.Objects.equals(this.applicationName, other.applicationName) + ManagedComputeClusterSystemData other = (ManagedComputeClusterSystemData) o; + return java.util.Objects.equals(this.currentInstanceCount, other.currentInstanceCount) && super.equals(other); } @@ -164,10 +130,11 @@ 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.applicationName == null ? 43 : this.applicationName.hashCode()); + + (this.currentInstanceCount == null + ? 43 + : this.currentInstanceCount.hashCode()); return result; } } diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails.java new file mode 100644 index 00000000000..aeb985a0273 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails.java @@ -0,0 +1,305 @@ +/** + * 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; + +/** + * Details for a threshold-based autoscaling policy to enable on the managed compute cluster type + * compute target . In a threshold-based autoscaling policy, an autoscaling action is triggered when + * a performance metric meets or exceeds a threshold.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "autoScalingPolicyType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails + extends ManagedComputeClusterAutoScalingPolicyDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The list of autoscaling policy rules. */ + @com.fasterxml.jackson.annotation.JsonProperty("rules") + private java.util.List rules; + + /** + * The list of autoscaling policy rules. + * + * @param rules the value to set + * @return this builder + */ + public Builder rules(java.util.List rules) { + this.rules = rules; + this.__explicitlySet__.add("rules"); + return this; + } + /** + * For a threshold-based autoscaling policy, this value is the maximum number of instances + * the managed compute cluster type compute target is allowed to increase to (scale out). + */ + @com.fasterxml.jackson.annotation.JsonProperty("maximumInstanceCount") + private Integer maximumInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the maximum number of instances + * the managed compute cluster type compute target is allowed to increase to (scale out). + * + * @param maximumInstanceCount the value to set + * @return this builder + */ + public Builder maximumInstanceCount(Integer maximumInstanceCount) { + this.maximumInstanceCount = maximumInstanceCount; + this.__explicitlySet__.add("maximumInstanceCount"); + return this; + } + /** + * For a threshold-based autoscaling policy, this value is the minimum number of instances + * the managed compute cluster type compute target is allowed to decrease to (scale in). + */ + @com.fasterxml.jackson.annotation.JsonProperty("minimumInstanceCount") + private Integer minimumInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the minimum number of instances + * the managed compute cluster type compute target is allowed to decrease to (scale in). + * + * @param minimumInstanceCount the value to set + * @return this builder + */ + public Builder minimumInstanceCount(Integer minimumInstanceCount) { + this.minimumInstanceCount = minimumInstanceCount; + this.__explicitlySet__.add("minimumInstanceCount"); + return this; + } + /** + * For a threshold-based autoscaling policy, this value is the initial number of instances + * to launch in the managed compute cluster type compute target immediately after + * autoscaling is enabled. Note that anytime this value is updated, the number of instances + * will be reset to this value. After autoscaling retrieves performance metrics, the number + * of instances is automatically adjusted from this initial number to a number that is based + * on the limits that you set. + */ + @com.fasterxml.jackson.annotation.JsonProperty("initialInstanceCount") + private Integer initialInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the initial number of instances + * to launch in the managed compute cluster type compute target immediately after + * autoscaling is enabled. Note that anytime this value is updated, the number of instances + * will be reset to this value. After autoscaling retrieves performance metrics, the number + * of instances is automatically adjusted from this initial number to a number that is based + * on the limits that you set. + * + * @param initialInstanceCount the value to set + * @return this builder + */ + public Builder initialInstanceCount(Integer initialInstanceCount) { + this.initialInstanceCount = initialInstanceCount; + this.__explicitlySet__.add("initialInstanceCount"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails build() { + ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails model = + new ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails( + this.rules, + this.maximumInstanceCount, + this.minimumInstanceCount, + this.initialInstanceCount); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails model) { + if (model.wasPropertyExplicitlySet("rules")) { + this.rules(model.getRules()); + } + if (model.wasPropertyExplicitlySet("maximumInstanceCount")) { + this.maximumInstanceCount(model.getMaximumInstanceCount()); + } + if (model.wasPropertyExplicitlySet("minimumInstanceCount")) { + this.minimumInstanceCount(model.getMinimumInstanceCount()); + } + if (model.wasPropertyExplicitlySet("initialInstanceCount")) { + this.initialInstanceCount(model.getInitialInstanceCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails( + java.util.List rules, + Integer maximumInstanceCount, + Integer minimumInstanceCount, + Integer initialInstanceCount) { + super(); + this.rules = rules; + this.maximumInstanceCount = maximumInstanceCount; + this.minimumInstanceCount = minimumInstanceCount; + this.initialInstanceCount = initialInstanceCount; + } + + /** The list of autoscaling policy rules. */ + @com.fasterxml.jackson.annotation.JsonProperty("rules") + private final java.util.List rules; + + /** + * The list of autoscaling policy rules. + * + * @return the value + */ + public java.util.List getRules() { + return rules; + } + + /** + * For a threshold-based autoscaling policy, this value is the maximum number of instances the + * managed compute cluster type compute target is allowed to increase to (scale out). + */ + @com.fasterxml.jackson.annotation.JsonProperty("maximumInstanceCount") + private final Integer maximumInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the maximum number of instances the + * managed compute cluster type compute target is allowed to increase to (scale out). + * + * @return the value + */ + public Integer getMaximumInstanceCount() { + return maximumInstanceCount; + } + + /** + * For a threshold-based autoscaling policy, this value is the minimum number of instances the + * managed compute cluster type compute target is allowed to decrease to (scale in). + */ + @com.fasterxml.jackson.annotation.JsonProperty("minimumInstanceCount") + private final Integer minimumInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the minimum number of instances the + * managed compute cluster type compute target is allowed to decrease to (scale in). + * + * @return the value + */ + public Integer getMinimumInstanceCount() { + return minimumInstanceCount; + } + + /** + * For a threshold-based autoscaling policy, this value is the initial number of instances to + * launch in the managed compute cluster type compute target immediately after autoscaling is + * enabled. Note that anytime this value is updated, the number of instances will be reset to + * this value. After autoscaling retrieves performance metrics, the number of instances is + * automatically adjusted from this initial number to a number that is based on the limits that + * you set. + */ + @com.fasterxml.jackson.annotation.JsonProperty("initialInstanceCount") + private final Integer initialInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the initial number of instances to + * launch in the managed compute cluster type compute target immediately after autoscaling is + * enabled. Note that anytime this value is updated, the number of instances will be reset to + * this value. After autoscaling retrieves performance metrics, the number of instances is + * automatically adjusted from this initial number to a number that is based on the limits that + * you set. + * + * @return the value + */ + public Integer getInitialInstanceCount() { + return initialInstanceCount; + } + + @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("ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", rules=").append(String.valueOf(this.rules)); + sb.append(", maximumInstanceCount=").append(String.valueOf(this.maximumInstanceCount)); + sb.append(", minimumInstanceCount=").append(String.valueOf(this.minimumInstanceCount)); + sb.append(", initialInstanceCount=").append(String.valueOf(this.initialInstanceCount)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails)) { + return false; + } + + ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails other = + (ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails) o; + return java.util.Objects.equals(this.rules, other.rules) + && java.util.Objects.equals(this.maximumInstanceCount, other.maximumInstanceCount) + && java.util.Objects.equals(this.minimumInstanceCount, other.minimumInstanceCount) + && java.util.Objects.equals(this.initialInstanceCount, other.initialInstanceCount) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.rules == null ? 43 : this.rules.hashCode()); + result = + (result * PRIME) + + (this.maximumInstanceCount == null + ? 43 + : this.maximumInstanceCount.hashCode()); + result = + (result * PRIME) + + (this.minimumInstanceCount == null + ? 43 + : this.minimumInstanceCount.hashCode()); + result = + (result * PRIME) + + (this.initialInstanceCount == null + ? 43 + : this.initialInstanceCount.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadAutoScalingPolicy.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadAutoScalingPolicy.java new file mode 100644 index 00000000000..a81b8bdf3d0 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadAutoScalingPolicy.java @@ -0,0 +1,187 @@ +/** + * 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; + +/** + * The scaling policy to enable autoscaling of workload on the managed compute cluster type compute + * target .
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterWorkloadAutoScalingPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "policyType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterWorkloadAutoScalingPolicy + extends ManagedComputeClusterWorkloadScalingPolicy { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Whether the autoscaling policy is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("isEnabled") + private Boolean isEnabled; + + /** + * Whether the autoscaling policy is enabled. + * + * @param isEnabled the value to set + * @return this builder + */ + public Builder isEnabled(Boolean isEnabled) { + this.isEnabled = isEnabled; + this.__explicitlySet__.add("isEnabled"); + return this; + } + /** The list of autoscaling policy details. */ + @com.fasterxml.jackson.annotation.JsonProperty("autoScalingPolicies") + private java.util.List + autoScalingPolicies; + + /** + * The list of autoscaling policy details. + * + * @param autoScalingPolicies the value to set + * @return this builder + */ + public Builder autoScalingPolicies( + java.util.List + autoScalingPolicies) { + this.autoScalingPolicies = autoScalingPolicies; + this.__explicitlySet__.add("autoScalingPolicies"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterWorkloadAutoScalingPolicy build() { + ManagedComputeClusterWorkloadAutoScalingPolicy model = + new ManagedComputeClusterWorkloadAutoScalingPolicy( + this.isEnabled, this.autoScalingPolicies); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterWorkloadAutoScalingPolicy model) { + if (model.wasPropertyExplicitlySet("isEnabled")) { + this.isEnabled(model.getIsEnabled()); + } + if (model.wasPropertyExplicitlySet("autoScalingPolicies")) { + this.autoScalingPolicies(model.getAutoScalingPolicies()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterWorkloadAutoScalingPolicy( + Boolean isEnabled, + java.util.List + autoScalingPolicies) { + super(); + this.isEnabled = isEnabled; + this.autoScalingPolicies = autoScalingPolicies; + } + + /** Whether the autoscaling policy is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("isEnabled") + private final Boolean isEnabled; + + /** + * Whether the autoscaling policy is enabled. + * + * @return the value + */ + public Boolean getIsEnabled() { + return isEnabled; + } + + /** The list of autoscaling policy details. */ + @com.fasterxml.jackson.annotation.JsonProperty("autoScalingPolicies") + private final java.util.List + autoScalingPolicies; + + /** + * The list of autoscaling policy details. + * + * @return the value + */ + public java.util.List + getAutoScalingPolicies() { + return autoScalingPolicies; + } + + @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("ManagedComputeClusterWorkloadAutoScalingPolicy("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", isEnabled=").append(String.valueOf(this.isEnabled)); + sb.append(", autoScalingPolicies=").append(String.valueOf(this.autoScalingPolicies)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterWorkloadAutoScalingPolicy)) { + return false; + } + + ManagedComputeClusterWorkloadAutoScalingPolicy other = + (ManagedComputeClusterWorkloadAutoScalingPolicy) o; + return java.util.Objects.equals(this.isEnabled, other.isEnabled) + && java.util.Objects.equals(this.autoScalingPolicies, other.autoScalingPolicies) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.isEnabled == null ? 43 : this.isEnabled.hashCode()); + result = + (result * PRIME) + + (this.autoScalingPolicies == null + ? 43 + : this.autoScalingPolicies.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadAutoScalingPolicyDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadAutoScalingPolicyDetails.java new file mode 100644 index 00000000000..8df69f8f9b9 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadAutoScalingPolicyDetails.java @@ -0,0 +1,126 @@ +/** + * 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; + +/** + * Details for an autoscaling policy to enable autoscaling of workload on the managed compute + * cluster type compute target. Each autoscaling configuration can have one autoscaling policy.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "autoScalingPolicyType", + defaultImpl = ManagedComputeClusterWorkloadAutoScalingPolicyDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterWorkloadThresholdBasedPolicyDetails.class, + name = "THRESHOLD") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ManagedComputeClusterWorkloadAutoScalingPolicyDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected ManagedComputeClusterWorkloadAutoScalingPolicyDetails() { + 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("ManagedComputeClusterWorkloadAutoScalingPolicyDetails("); + 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 ManagedComputeClusterWorkloadAutoScalingPolicyDetails)) { + return false; + } + + ManagedComputeClusterWorkloadAutoScalingPolicyDetails other = + (ManagedComputeClusterWorkloadAutoScalingPolicyDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** The type of autoscaling policy. */ + public enum AutoScalingPolicyType implements com.oracle.bmc.http.internal.BmcEnum { + Threshold("THRESHOLD"), + + /** + * 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(AutoScalingPolicyType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (AutoScalingPolicyType v : AutoScalingPolicyType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + AutoScalingPolicyType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static AutoScalingPolicyType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'AutoScalingPolicyType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadFixedSizeScalingPolicy.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadFixedSizeScalingPolicy.java new file mode 100644 index 00000000000..2f29f071635 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadFixedSizeScalingPolicy.java @@ -0,0 +1,141 @@ +/** + * 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; + +/** + * The fixed size scaling policy for workload scaling on managed compute cluster type compute + * target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterWorkloadFixedSizeScalingPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "policyType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterWorkloadFixedSizeScalingPolicy + extends ManagedComputeClusterWorkloadScalingPolicy { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The number of instances of the workload. */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceCount") + private Integer instanceCount; + + /** + * The number of instances of the workload. + * + * @param instanceCount the value to set + * @return this builder + */ + public Builder instanceCount(Integer instanceCount) { + this.instanceCount = instanceCount; + this.__explicitlySet__.add("instanceCount"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterWorkloadFixedSizeScalingPolicy build() { + ManagedComputeClusterWorkloadFixedSizeScalingPolicy model = + new ManagedComputeClusterWorkloadFixedSizeScalingPolicy(this.instanceCount); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterWorkloadFixedSizeScalingPolicy model) { + if (model.wasPropertyExplicitlySet("instanceCount")) { + this.instanceCount(model.getInstanceCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterWorkloadFixedSizeScalingPolicy(Integer instanceCount) { + super(); + this.instanceCount = instanceCount; + } + + /** The number of instances of the workload. */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceCount") + private final Integer instanceCount; + + /** + * The number of instances of the workload. + * + * @return the value + */ + public Integer getInstanceCount() { + return instanceCount; + } + + @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("ManagedComputeClusterWorkloadFixedSizeScalingPolicy("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", instanceCount=").append(String.valueOf(this.instanceCount)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterWorkloadFixedSizeScalingPolicy)) { + return false; + } + + ManagedComputeClusterWorkloadFixedSizeScalingPolicy other = + (ManagedComputeClusterWorkloadFixedSizeScalingPolicy) o; + return java.util.Objects.equals(this.instanceCount, other.instanceCount) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.instanceCount == null ? 43 : this.instanceCount.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadMetricExpressionRule.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadMetricExpressionRule.java new file mode 100644 index 00000000000..debf5fe7e90 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadMetricExpressionRule.java @@ -0,0 +1,132 @@ +/** + * 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; + +/** + * The metric expression rule base for workload scaling.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "metricExpressionRuleType", + defaultImpl = ManagedComputeClusterWorkloadMetricExpressionRule.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = TargetCustomMetricExpressionRule.class, + name = "TARGET_CUSTOM_EXPRESSION"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = TargetPredefinedMetricExpressionRule.class, + name = "TARGET_PREDEFINED_EXPRESSION") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ManagedComputeClusterWorkloadMetricExpressionRule + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected ManagedComputeClusterWorkloadMetricExpressionRule() { + 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("ManagedComputeClusterWorkloadMetricExpressionRule("); + 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 ManagedComputeClusterWorkloadMetricExpressionRule)) { + return false; + } + + ManagedComputeClusterWorkloadMetricExpressionRule other = + (ManagedComputeClusterWorkloadMetricExpressionRule) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** + * The metric expression for creating the alarm used to trigger autoscaling actions for + * workload. + */ + public enum MetricExpressionRuleType implements com.oracle.bmc.http.internal.BmcEnum { + TargetPredefinedExpression("TARGET_PREDEFINED_EXPRESSION"), + TargetCustomExpression("TARGET_CUSTOM_EXPRESSION"), + + /** + * 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(MetricExpressionRuleType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (MetricExpressionRuleType v : MetricExpressionRuleType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + MetricExpressionRuleType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static MetricExpressionRuleType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'MetricExpressionRuleType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadScalePolicy.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadScalePolicy.java new file mode 100644 index 00000000000..e3ecfa0965c --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadScalePolicy.java @@ -0,0 +1,267 @@ +/** + * 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; + +/** + * Workload scaling policy configuration for workloads on managed compute cluster type compute + * target
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterWorkloadScalePolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterWorkloadScalePolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "pendingDuration", + "instanceCountAdjustment", + "coolDownInSeconds" + }) + public ManagedComputeClusterWorkloadScalePolicy( + String pendingDuration, Integer instanceCountAdjustment, Integer coolDownInSeconds) { + super(); + this.pendingDuration = pendingDuration; + this.instanceCountAdjustment = instanceCountAdjustment; + this.coolDownInSeconds = coolDownInSeconds; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The period of time that the condition defined in the alarm must persist before the alarm + * state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes + * means that the alarm must persist in breaching the condition for five minutes before the + * alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching + * the condition for five minutes before the alarm updates its state to "OK." The duration + * is specified as a string in ISO 8601 format (PT10M for ten minutes). Minimum: PT1M. + * Maximum: PT30M. Default: PT3M. + */ + @com.fasterxml.jackson.annotation.JsonProperty("pendingDuration") + private String pendingDuration; + + /** + * The period of time that the condition defined in the alarm must persist before the alarm + * state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes + * means that the alarm must persist in breaching the condition for five minutes before the + * alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching + * the condition for five minutes before the alarm updates its state to "OK." The duration + * is specified as a string in ISO 8601 format (PT10M for ten minutes). Minimum: PT1M. + * Maximum: PT30M. Default: PT3M. + * + * @param pendingDuration the value to set + * @return this builder + */ + public Builder pendingDuration(String pendingDuration) { + this.pendingDuration = pendingDuration; + this.__explicitlySet__.add("pendingDuration"); + return this; + } + /** The value is used for adjusting the count of instances by. */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceCountAdjustment") + private Integer instanceCountAdjustment; + + /** + * The value is used for adjusting the count of instances by. + * + * @param instanceCountAdjustment the value to set + * @return this builder + */ + public Builder instanceCountAdjustment(Integer instanceCountAdjustment) { + this.instanceCountAdjustment = instanceCountAdjustment; + this.__explicitlySet__.add("instanceCountAdjustment"); + return this; + } + /** + * This value is the duration of time window used to restrict the flapping of instance count + * when the metrics used for scaling keep fluctuating. This window is used to infer a + * previous desired state and avoid unwanted changes to workload scale. Default value is 300 + * seconds. + */ + @com.fasterxml.jackson.annotation.JsonProperty("coolDownInSeconds") + private Integer coolDownInSeconds; + + /** + * This value is the duration of time window used to restrict the flapping of instance count + * when the metrics used for scaling keep fluctuating. This window is used to infer a + * previous desired state and avoid unwanted changes to workload scale. Default value is 300 + * seconds. + * + * @param coolDownInSeconds the value to set + * @return this builder + */ + public Builder coolDownInSeconds(Integer coolDownInSeconds) { + this.coolDownInSeconds = coolDownInSeconds; + this.__explicitlySet__.add("coolDownInSeconds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterWorkloadScalePolicy build() { + ManagedComputeClusterWorkloadScalePolicy model = + new ManagedComputeClusterWorkloadScalePolicy( + this.pendingDuration, + this.instanceCountAdjustment, + this.coolDownInSeconds); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterWorkloadScalePolicy model) { + if (model.wasPropertyExplicitlySet("pendingDuration")) { + this.pendingDuration(model.getPendingDuration()); + } + if (model.wasPropertyExplicitlySet("instanceCountAdjustment")) { + this.instanceCountAdjustment(model.getInstanceCountAdjustment()); + } + if (model.wasPropertyExplicitlySet("coolDownInSeconds")) { + this.coolDownInSeconds(model.getCoolDownInSeconds()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The period of time that the condition defined in the alarm must persist before the alarm + * state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means + * that the alarm must persist in breaching the condition for five minutes before the alarm + * updates its state to "FIRING"; likewise, the alarm must persist in not breaching the + * condition for five minutes before the alarm updates its state to "OK." The duration is + * specified as a string in ISO 8601 format (PT10M for ten minutes). Minimum: PT1M. Maximum: + * PT30M. Default: PT3M. + */ + @com.fasterxml.jackson.annotation.JsonProperty("pendingDuration") + private final String pendingDuration; + + /** + * The period of time that the condition defined in the alarm must persist before the alarm + * state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means + * that the alarm must persist in breaching the condition for five minutes before the alarm + * updates its state to "FIRING"; likewise, the alarm must persist in not breaching the + * condition for five minutes before the alarm updates its state to "OK." The duration is + * specified as a string in ISO 8601 format (PT10M for ten minutes). Minimum: PT1M. Maximum: + * PT30M. Default: PT3M. + * + * @return the value + */ + public String getPendingDuration() { + return pendingDuration; + } + + /** The value is used for adjusting the count of instances by. */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceCountAdjustment") + private final Integer instanceCountAdjustment; + + /** + * The value is used for adjusting the count of instances by. + * + * @return the value + */ + public Integer getInstanceCountAdjustment() { + return instanceCountAdjustment; + } + + /** + * This value is the duration of time window used to restrict the flapping of instance count + * when the metrics used for scaling keep fluctuating. This window is used to infer a previous + * desired state and avoid unwanted changes to workload scale. Default value is 300 seconds. + */ + @com.fasterxml.jackson.annotation.JsonProperty("coolDownInSeconds") + private final Integer coolDownInSeconds; + + /** + * This value is the duration of time window used to restrict the flapping of instance count + * when the metrics used for scaling keep fluctuating. This window is used to infer a previous + * desired state and avoid unwanted changes to workload scale. Default value is 300 seconds. + * + * @return the value + */ + public Integer getCoolDownInSeconds() { + return coolDownInSeconds; + } + + @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("ManagedComputeClusterWorkloadScalePolicy("); + sb.append("super=").append(super.toString()); + sb.append("pendingDuration=").append(String.valueOf(this.pendingDuration)); + sb.append(", instanceCountAdjustment=") + .append(String.valueOf(this.instanceCountAdjustment)); + sb.append(", coolDownInSeconds=").append(String.valueOf(this.coolDownInSeconds)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterWorkloadScalePolicy)) { + return false; + } + + ManagedComputeClusterWorkloadScalePolicy other = + (ManagedComputeClusterWorkloadScalePolicy) o; + return java.util.Objects.equals(this.pendingDuration, other.pendingDuration) + && java.util.Objects.equals( + this.instanceCountAdjustment, other.instanceCountAdjustment) + && java.util.Objects.equals(this.coolDownInSeconds, other.coolDownInSeconds) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.pendingDuration == null ? 43 : this.pendingDuration.hashCode()); + result = + (result * PRIME) + + (this.instanceCountAdjustment == null + ? 43 + : this.instanceCountAdjustment.hashCode()); + result = + (result * PRIME) + + (this.coolDownInSeconds == null ? 43 : this.coolDownInSeconds.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadScalingPolicy.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadScalingPolicy.java new file mode 100644 index 00000000000..7d599de9522 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadScalingPolicy.java @@ -0,0 +1,129 @@ +/** + * 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; + +/** + * The scaling policy to apply to workloads on managed compute cluster type compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "policyType", + defaultImpl = ManagedComputeClusterWorkloadScalingPolicy.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterWorkloadAutoScalingPolicy.class, + name = "AUTOSCALING"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterWorkloadFixedSizeScalingPolicy.class, + name = "FIXED_SIZE") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ManagedComputeClusterWorkloadScalingPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected ManagedComputeClusterWorkloadScalingPolicy() { + 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("ManagedComputeClusterWorkloadScalingPolicy("); + 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 ManagedComputeClusterWorkloadScalingPolicy)) { + return false; + } + + ManagedComputeClusterWorkloadScalingPolicy other = + (ManagedComputeClusterWorkloadScalingPolicy) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** The type of scaling policy. */ + public enum PolicyType implements com.oracle.bmc.http.internal.BmcEnum { + FixedSize("FIXED_SIZE"), + Autoscaling("AUTOSCALING"), + + /** + * 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(PolicyType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PolicyType v : PolicyType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + PolicyType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PolicyType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'PolicyType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadThresholdBasedPolicyDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadThresholdBasedPolicyDetails.java new file mode 100644 index 00000000000..044a6fc0458 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ManagedComputeClusterWorkloadThresholdBasedPolicyDetails.java @@ -0,0 +1,356 @@ +/** + * 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; + +/** + * Details for a threshold-based autoscaling policy to enable autoscaling of workload on the managed + * compute cluster type compute target . In a threshold-based autoscaling policy, an autoscaling + * action is triggered when a performance metric meets or exceeds a threshold.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ManagedComputeClusterWorkloadThresholdBasedPolicyDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "autoScalingPolicyType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ManagedComputeClusterWorkloadThresholdBasedPolicyDetails + extends ManagedComputeClusterWorkloadAutoScalingPolicyDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The list of autoscaling policy rules for workload scaling.. */ + @com.fasterxml.jackson.annotation.JsonProperty("rules") + private java.util.List rules; + + /** + * The list of autoscaling policy rules for workload scaling.. + * + * @param rules the value to set + * @return this builder + */ + public Builder rules( + java.util.List rules) { + this.rules = rules; + this.__explicitlySet__.add("rules"); + return this; + } + /** + * For a threshold-based autoscaling policy, this value is the maximum number of workload + * instances allowed to increase to (scale out). + */ + @com.fasterxml.jackson.annotation.JsonProperty("maximumInstanceCount") + private Integer maximumInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the maximum number of workload + * instances allowed to increase to (scale out). + * + * @param maximumInstanceCount the value to set + * @return this builder + */ + public Builder maximumInstanceCount(Integer maximumInstanceCount) { + this.maximumInstanceCount = maximumInstanceCount; + this.__explicitlySet__.add("maximumInstanceCount"); + return this; + } + /** + * For a threshold-based autoscaling policy, this value is the minimum number of workload + * instances allowed to decrease to (scale in). This should be zero for scale-to-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("minimumInstanceCount") + private Integer minimumInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the minimum number of workload + * instances allowed to decrease to (scale in). This should be zero for scale-to-zero. + * + * @param minimumInstanceCount the value to set + * @return this builder + */ + public Builder minimumInstanceCount(Integer minimumInstanceCount) { + this.minimumInstanceCount = minimumInstanceCount; + this.__explicitlySet__.add("minimumInstanceCount"); + return this; + } + /** + * For a threshold-based autoscaling policy, this value is the initial number of workload + * instances to launch immediately after autoscaling is enabled. Note that anytime this + * value is updated, the number of instances will be reset to this value. After autoscaling + * retrieves performance metrics, the number of instances is automatically adjusted from + * this initial number to a number that is based on the limits that you set. + */ + @com.fasterxml.jackson.annotation.JsonProperty("initialInstanceCount") + private Integer initialInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the initial number of workload + * instances to launch immediately after autoscaling is enabled. Note that anytime this + * value is updated, the number of instances will be reset to this value. After autoscaling + * retrieves performance metrics, the number of instances is automatically adjusted from + * this initial number to a number that is based on the limits that you set. + * + * @param initialInstanceCount the value to set + * @return this builder + */ + public Builder initialInstanceCount(Integer initialInstanceCount) { + this.initialInstanceCount = initialInstanceCount; + this.__explicitlySet__.add("initialInstanceCount"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleInPolicy") + private ManagedComputeClusterWorkloadScalePolicy scaleInPolicy; + + public Builder scaleInPolicy(ManagedComputeClusterWorkloadScalePolicy scaleInPolicy) { + this.scaleInPolicy = scaleInPolicy; + this.__explicitlySet__.add("scaleInPolicy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleOutPolicy") + private ManagedComputeClusterWorkloadScalePolicy scaleOutPolicy; + + public Builder scaleOutPolicy(ManagedComputeClusterWorkloadScalePolicy scaleOutPolicy) { + this.scaleOutPolicy = scaleOutPolicy; + this.__explicitlySet__.add("scaleOutPolicy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ManagedComputeClusterWorkloadThresholdBasedPolicyDetails build() { + ManagedComputeClusterWorkloadThresholdBasedPolicyDetails model = + new ManagedComputeClusterWorkloadThresholdBasedPolicyDetails( + this.rules, + this.maximumInstanceCount, + this.minimumInstanceCount, + this.initialInstanceCount, + this.scaleInPolicy, + this.scaleOutPolicy); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ManagedComputeClusterWorkloadThresholdBasedPolicyDetails model) { + if (model.wasPropertyExplicitlySet("rules")) { + this.rules(model.getRules()); + } + if (model.wasPropertyExplicitlySet("maximumInstanceCount")) { + this.maximumInstanceCount(model.getMaximumInstanceCount()); + } + if (model.wasPropertyExplicitlySet("minimumInstanceCount")) { + this.minimumInstanceCount(model.getMinimumInstanceCount()); + } + if (model.wasPropertyExplicitlySet("initialInstanceCount")) { + this.initialInstanceCount(model.getInitialInstanceCount()); + } + if (model.wasPropertyExplicitlySet("scaleInPolicy")) { + this.scaleInPolicy(model.getScaleInPolicy()); + } + if (model.wasPropertyExplicitlySet("scaleOutPolicy")) { + this.scaleOutPolicy(model.getScaleOutPolicy()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public ManagedComputeClusterWorkloadThresholdBasedPolicyDetails( + java.util.List rules, + Integer maximumInstanceCount, + Integer minimumInstanceCount, + Integer initialInstanceCount, + ManagedComputeClusterWorkloadScalePolicy scaleInPolicy, + ManagedComputeClusterWorkloadScalePolicy scaleOutPolicy) { + super(); + this.rules = rules; + this.maximumInstanceCount = maximumInstanceCount; + this.minimumInstanceCount = minimumInstanceCount; + this.initialInstanceCount = initialInstanceCount; + this.scaleInPolicy = scaleInPolicy; + this.scaleOutPolicy = scaleOutPolicy; + } + + /** The list of autoscaling policy rules for workload scaling.. */ + @com.fasterxml.jackson.annotation.JsonProperty("rules") + private final java.util.List rules; + + /** + * The list of autoscaling policy rules for workload scaling.. + * + * @return the value + */ + public java.util.List getRules() { + return rules; + } + + /** + * For a threshold-based autoscaling policy, this value is the maximum number of workload + * instances allowed to increase to (scale out). + */ + @com.fasterxml.jackson.annotation.JsonProperty("maximumInstanceCount") + private final Integer maximumInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the maximum number of workload + * instances allowed to increase to (scale out). + * + * @return the value + */ + public Integer getMaximumInstanceCount() { + return maximumInstanceCount; + } + + /** + * For a threshold-based autoscaling policy, this value is the minimum number of workload + * instances allowed to decrease to (scale in). This should be zero for scale-to-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("minimumInstanceCount") + private final Integer minimumInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the minimum number of workload + * instances allowed to decrease to (scale in). This should be zero for scale-to-zero. + * + * @return the value + */ + public Integer getMinimumInstanceCount() { + return minimumInstanceCount; + } + + /** + * For a threshold-based autoscaling policy, this value is the initial number of workload + * instances to launch immediately after autoscaling is enabled. Note that anytime this value is + * updated, the number of instances will be reset to this value. After autoscaling retrieves + * performance metrics, the number of instances is automatically adjusted from this initial + * number to a number that is based on the limits that you set. + */ + @com.fasterxml.jackson.annotation.JsonProperty("initialInstanceCount") + private final Integer initialInstanceCount; + + /** + * For a threshold-based autoscaling policy, this value is the initial number of workload + * instances to launch immediately after autoscaling is enabled. Note that anytime this value is + * updated, the number of instances will be reset to this value. After autoscaling retrieves + * performance metrics, the number of instances is automatically adjusted from this initial + * number to a number that is based on the limits that you set. + * + * @return the value + */ + public Integer getInitialInstanceCount() { + return initialInstanceCount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleInPolicy") + private final ManagedComputeClusterWorkloadScalePolicy scaleInPolicy; + + public ManagedComputeClusterWorkloadScalePolicy getScaleInPolicy() { + return scaleInPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleOutPolicy") + private final ManagedComputeClusterWorkloadScalePolicy scaleOutPolicy; + + public ManagedComputeClusterWorkloadScalePolicy getScaleOutPolicy() { + return scaleOutPolicy; + } + + @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("ManagedComputeClusterWorkloadThresholdBasedPolicyDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", rules=").append(String.valueOf(this.rules)); + sb.append(", maximumInstanceCount=").append(String.valueOf(this.maximumInstanceCount)); + sb.append(", minimumInstanceCount=").append(String.valueOf(this.minimumInstanceCount)); + sb.append(", initialInstanceCount=").append(String.valueOf(this.initialInstanceCount)); + sb.append(", scaleInPolicy=").append(String.valueOf(this.scaleInPolicy)); + sb.append(", scaleOutPolicy=").append(String.valueOf(this.scaleOutPolicy)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ManagedComputeClusterWorkloadThresholdBasedPolicyDetails)) { + return false; + } + + ManagedComputeClusterWorkloadThresholdBasedPolicyDetails other = + (ManagedComputeClusterWorkloadThresholdBasedPolicyDetails) o; + return java.util.Objects.equals(this.rules, other.rules) + && java.util.Objects.equals(this.maximumInstanceCount, other.maximumInstanceCount) + && java.util.Objects.equals(this.minimumInstanceCount, other.minimumInstanceCount) + && java.util.Objects.equals(this.initialInstanceCount, other.initialInstanceCount) + && java.util.Objects.equals(this.scaleInPolicy, other.scaleInPolicy) + && java.util.Objects.equals(this.scaleOutPolicy, other.scaleOutPolicy) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.rules == null ? 43 : this.rules.hashCode()); + result = + (result * PRIME) + + (this.maximumInstanceCount == null + ? 43 + : this.maximumInstanceCount.hashCode()); + result = + (result * PRIME) + + (this.minimumInstanceCount == null + ? 43 + : this.minimumInstanceCount.hashCode()); + result = + (result * PRIME) + + (this.initialInstanceCount == null + ? 43 + : this.initialInstanceCount.hashCode()); + result = + (result * PRIME) + + (this.scaleInPolicy == null ? 43 : this.scaleInPolicy.hashCode()); + result = + (result * PRIME) + + (this.scaleOutPolicy == null ? 43 : this.scaleOutPolicy.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeployInfrastructureConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeployInfrastructureConfigurationDetails.java new file mode 100644 index 00000000000..61014eae145 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeployInfrastructureConfigurationDetails.java @@ -0,0 +1,79 @@ +/** + * 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; + +/** + * The model deployment infrastructure configuration details.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "infrastructureType", + defaultImpl = ModelDeployInfrastructureConfigurationDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterModelDeployInfrastructureConfigDetails.class, + name = "MANAGED_COMPUTE_CLUSTER") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ModelDeployInfrastructureConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected ModelDeployInfrastructureConfigurationDetails() { + 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("ModelDeployInfrastructureConfigurationDetails("); + 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 ModelDeployInfrastructureConfigurationDetails)) { + return false; + } + + ModelDeployInfrastructureConfigurationDetails other = + (ModelDeployInfrastructureConfigurationDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeployInfrastructureType.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeployInfrastructureType.java new file mode 100644 index 00000000000..aa6c800b6f0 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeployInfrastructureType.java @@ -0,0 +1,52 @@ +/** + * 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; + +/** The infrastructure type for Model Deployment. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public enum ModelDeployInfrastructureType implements com.oracle.bmc.http.internal.BmcEnum { + ManagedComputeCluster("MANAGED_COMPUTE_CLUSTER"), + + /** + * 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(ModelDeployInfrastructureType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ModelDeployInfrastructureType v : ModelDeployInfrastructureType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ModelDeployInfrastructureType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ModelDeployInfrastructureType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ModelDeployInfrastructureType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentConfigurationDetails.java index 0e270c6a8bb..1f33a85d709 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentConfigurationDetails.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentConfigurationDetails.java @@ -27,7 +27,10 @@ name = "SINGLE_MODEL"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = ModelGroupDeploymentConfigurationDetails.class, - name = "MODEL_GROUP") + name = "MODEL_GROUP"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = SingleModelDeploymentFlexConfigurationDetails.class, + name = "SINGLE_MODEL_FLEX") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentSystemData.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentSystemData.java index 1040e913c5c..1cfd9cfeb98 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentSystemData.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentSystemData.java @@ -22,6 +22,9 @@ property = "systemInfraType", defaultImpl = ModelDeploymentSystemData.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = ManagedComputeClusterModelDeploymentSystemData.class, + name = "MANAGED_COMPUTE_CLUSTER"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = InstancePoolModelDeploymentSystemData.class, name = "INSTANCE_POOL") @@ -95,6 +98,7 @@ public int hashCode() { /** The infrastructure type of the model deployment. */ public enum SystemInfraType implements com.oracle.bmc.http.internal.BmcEnum { InstancePool("INSTANCE_POOL"), + ManagedComputeCluster("MANAGED_COMPUTE_CLUSTER"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentType.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentType.java index 0e65a34113e..af1cee5b655 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentType.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ModelDeploymentType.java @@ -9,6 +9,7 @@ public enum ModelDeploymentType implements com.oracle.bmc.http.internal.BmcEnum { SingleModel("SINGLE_MODEL"), ModelGroup("MODEL_GROUP"), + SingleModelFlex("SINGLE_MODEL_FLEX"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/OcirModelDeploymentEnvironmentConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/OcirModelDeploymentEnvironmentConfigurationDetails.java index 28573b6db71..26e7eaf21b8 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/OcirModelDeploymentEnvironmentConfigurationDetails.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/OcirModelDeploymentEnvironmentConfigurationDetails.java @@ -228,6 +228,47 @@ public Builder defaultEnvironmentVariables( this.__explicitlySet__.add("defaultEnvironmentVariables"); return this; } + /** + * The chosen specification from predefined set of endpoints a user can access. For example, + * if the value is 'openai', the user can access OpenAI-compliant endpoints like + * /v1/completions, /v1/chat/completions, /v1/models, etc., for inference. + */ + @com.fasterxml.jackson.annotation.JsonProperty("predictApiSpecification") + private String predictApiSpecification; + + /** + * The chosen specification from predefined set of endpoints a user can access. For example, + * if the value is 'openai', the user can access OpenAI-compliant endpoints like + * /v1/completions, /v1/chat/completions, /v1/models, etc., for inference. + * + * @param predictApiSpecification the value to set + * @return this builder + */ + public Builder predictApiSpecification(String predictApiSpecification) { + this.predictApiSpecification = predictApiSpecification; + this.__explicitlySet__.add("predictApiSpecification"); + return this; + } + /** + * List of custom inference HTTP endpoints configured on the model deployment instance for + * inferencing. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customHttpEndpoints") + private java.util.List customHttpEndpoints; + + /** + * List of custom inference HTTP endpoints configured on the model deployment instance for + * inferencing. + * + * @param customHttpEndpoints the value to set + * @return this builder + */ + public Builder customHttpEndpoints( + java.util.List customHttpEndpoints) { + this.customHttpEndpoints = customHttpEndpoints; + this.__explicitlySet__.add("customHttpEndpoints"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -243,7 +284,9 @@ public OcirModelDeploymentEnvironmentConfigurationDetails build() { this.serverPort, this.healthCheckPort, this.environmentVariables, - this.defaultEnvironmentVariables); + this.defaultEnvironmentVariables, + this.predictApiSpecification, + this.customHttpEndpoints); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -279,6 +322,12 @@ public Builder copy(OcirModelDeploymentEnvironmentConfigurationDetails model) { if (model.wasPropertyExplicitlySet("defaultEnvironmentVariables")) { this.defaultEnvironmentVariables(model.getDefaultEnvironmentVariables()); } + if (model.wasPropertyExplicitlySet("predictApiSpecification")) { + this.predictApiSpecification(model.getPredictApiSpecification()); + } + if (model.wasPropertyExplicitlySet("customHttpEndpoints")) { + this.customHttpEndpoints(model.getCustomHttpEndpoints()); + } return this; } } @@ -302,7 +351,9 @@ public OcirModelDeploymentEnvironmentConfigurationDetails( Integer serverPort, Integer healthCheckPort, java.util.Map environmentVariables, - java.util.Map defaultEnvironmentVariables) { + java.util.Map defaultEnvironmentVariables, + String predictApiSpecification, + java.util.List customHttpEndpoints) { super(); this.image = image; this.imageDigest = imageDigest; @@ -313,6 +364,8 @@ public OcirModelDeploymentEnvironmentConfigurationDetails( this.healthCheckPort = healthCheckPort; this.environmentVariables = environmentVariables; this.defaultEnvironmentVariables = defaultEnvironmentVariables; + this.predictApiSpecification = predictApiSpecification; + this.customHttpEndpoints = customHttpEndpoints; } /** @@ -494,6 +547,42 @@ public java.util.Map getDefaultEnvironmentVariables() { return defaultEnvironmentVariables; } + /** + * The chosen specification from predefined set of endpoints a user can access. For example, if + * the value is 'openai', the user can access OpenAI-compliant endpoints like /v1/completions, + * /v1/chat/completions, /v1/models, etc., for inference. + */ + @com.fasterxml.jackson.annotation.JsonProperty("predictApiSpecification") + private final String predictApiSpecification; + + /** + * The chosen specification from predefined set of endpoints a user can access. For example, if + * the value is 'openai', the user can access OpenAI-compliant endpoints like /v1/completions, + * /v1/chat/completions, /v1/models, etc., for inference. + * + * @return the value + */ + public String getPredictApiSpecification() { + return predictApiSpecification; + } + + /** + * List of custom inference HTTP endpoints configured on the model deployment instance for + * inferencing. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customHttpEndpoints") + private final java.util.List customHttpEndpoints; + + /** + * List of custom inference HTTP endpoints configured on the model deployment instance for + * inferencing. + * + * @return the value + */ + public java.util.List getCustomHttpEndpoints() { + return customHttpEndpoints; + } + @Override public String toString() { return this.toString(true); @@ -519,6 +608,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", environmentVariables=").append(String.valueOf(this.environmentVariables)); sb.append(", defaultEnvironmentVariables=") .append(String.valueOf(this.defaultEnvironmentVariables)); + sb.append(", predictApiSpecification=") + .append(String.valueOf(this.predictApiSpecification)); + sb.append(", customHttpEndpoints=").append(String.valueOf(this.customHttpEndpoints)); sb.append(")"); return sb.toString(); } @@ -544,6 +636,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.environmentVariables, other.environmentVariables) && java.util.Objects.equals( this.defaultEnvironmentVariables, other.defaultEnvironmentVariables) + && java.util.Objects.equals( + this.predictApiSpecification, other.predictApiSpecification) + && java.util.Objects.equals(this.customHttpEndpoints, other.customHttpEndpoints) && super.equals(other); } @@ -572,6 +667,16 @@ public int hashCode() { + (this.defaultEnvironmentVariables == null ? 43 : this.defaultEnvironmentVariables.hashCode()); + result = + (result * PRIME) + + (this.predictApiSpecification == null + ? 43 + : this.predictApiSpecification.hashCode()); + result = + (result * PRIME) + + (this.customHttpEndpoints == null + ? 43 + : this.customHttpEndpoints.hashCode()); return result; } } diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ResourceLimitConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ResourceLimitConfiguration.java new file mode 100644 index 00000000000..16ce6e9ea99 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ResourceLimitConfiguration.java @@ -0,0 +1,171 @@ +/** + * 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; + +/** + * Resource limit configuration details for workload on managed compute cluster type compute target + *
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ResourceLimitConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ResourceLimitConfiguration + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"ocpus", "memoryInGBs"}) + public ResourceLimitConfiguration(Float ocpus, Float memoryInGBs) { + super(); + this.ocpus = ocpus; + this.memoryInGBs = memoryInGBs; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Burstable limit for cpu. */ + @com.fasterxml.jackson.annotation.JsonProperty("ocpus") + private Float ocpus; + + /** + * Burstable limit for cpu. + * + * @param ocpus the value to set + * @return this builder + */ + public Builder ocpus(Float ocpus) { + this.ocpus = ocpus; + this.__explicitlySet__.add("ocpus"); + return this; + } + /** Burstable limit for memory. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private Float memoryInGBs; + + /** + * Burstable limit for memory. + * + * @param memoryInGBs the value to set + * @return this builder + */ + public Builder memoryInGBs(Float memoryInGBs) { + this.memoryInGBs = memoryInGBs; + this.__explicitlySet__.add("memoryInGBs"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ResourceLimitConfiguration build() { + ResourceLimitConfiguration model = + new ResourceLimitConfiguration(this.ocpus, this.memoryInGBs); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ResourceLimitConfiguration model) { + if (model.wasPropertyExplicitlySet("ocpus")) { + this.ocpus(model.getOcpus()); + } + if (model.wasPropertyExplicitlySet("memoryInGBs")) { + this.memoryInGBs(model.getMemoryInGBs()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Burstable limit for cpu. */ + @com.fasterxml.jackson.annotation.JsonProperty("ocpus") + private final Float ocpus; + + /** + * Burstable limit for cpu. + * + * @return the value + */ + public Float getOcpus() { + return ocpus; + } + + /** Burstable limit for memory. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private final Float memoryInGBs; + + /** + * Burstable limit for memory. + * + * @return the value + */ + public Float getMemoryInGBs() { + return memoryInGBs; + } + + @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("ResourceLimitConfiguration("); + sb.append("super=").append(super.toString()); + sb.append("ocpus=").append(String.valueOf(this.ocpus)); + sb.append(", memoryInGBs=").append(String.valueOf(this.memoryInGBs)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ResourceLimitConfiguration)) { + return false; + } + + ResourceLimitConfiguration other = (ResourceLimitConfiguration) o; + return java.util.Objects.equals(this.ocpus, other.ocpus) + && java.util.Objects.equals(this.memoryInGBs, other.memoryInGBs) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.ocpus == null ? 43 : this.ocpus.hashCode()); + result = (result * PRIME) + (this.memoryInGBs == null ? 43 : this.memoryInGBs.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ResourceRequestConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ResourceRequestConfiguration.java new file mode 100644 index 00000000000..4db688793ba --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/ResourceRequestConfiguration.java @@ -0,0 +1,206 @@ +/** + * 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; + +/** + * Resource request configuration to run workload on managed compute cluster type compute target + * compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ResourceRequestConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ResourceRequestConfiguration + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"ocpus", "memoryInGBs", "gpus"}) + public ResourceRequestConfiguration(Float ocpus, Float memoryInGBs, Integer gpus) { + super(); + this.ocpus = ocpus; + this.memoryInGBs = memoryInGBs; + this.gpus = gpus; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The ocpus required to be allocated to run the workload. */ + @com.fasterxml.jackson.annotation.JsonProperty("ocpus") + private Float ocpus; + + /** + * The ocpus required to be allocated to run the workload. + * + * @param ocpus the value to set + * @return this builder + */ + public Builder ocpus(Float ocpus) { + this.ocpus = ocpus; + this.__explicitlySet__.add("ocpus"); + return this; + } + /** The memory in Gbs required to be allocated to run the workload. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private Float memoryInGBs; + + /** + * The memory in Gbs required to be allocated to run the workload. + * + * @param memoryInGBs the value to set + * @return this builder + */ + public Builder memoryInGBs(Float memoryInGBs) { + this.memoryInGBs = memoryInGBs; + this.__explicitlySet__.add("memoryInGBs"); + return this; + } + /** The total number of gpus required to be allocated to the workload. */ + @com.fasterxml.jackson.annotation.JsonProperty("gpus") + private Integer gpus; + + /** + * The total number of gpus required to be allocated to the workload. + * + * @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 ResourceRequestConfiguration build() { + ResourceRequestConfiguration model = + new ResourceRequestConfiguration(this.ocpus, this.memoryInGBs, this.gpus); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ResourceRequestConfiguration model) { + if (model.wasPropertyExplicitlySet("ocpus")) { + this.ocpus(model.getOcpus()); + } + if (model.wasPropertyExplicitlySet("memoryInGBs")) { + this.memoryInGBs(model.getMemoryInGBs()); + } + 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); + } + + /** The ocpus required to be allocated to run the workload. */ + @com.fasterxml.jackson.annotation.JsonProperty("ocpus") + private final Float ocpus; + + /** + * The ocpus required to be allocated to run the workload. + * + * @return the value + */ + public Float getOcpus() { + return ocpus; + } + + /** The memory in Gbs required to be allocated to run the workload. */ + @com.fasterxml.jackson.annotation.JsonProperty("memoryInGBs") + private final Float memoryInGBs; + + /** + * The memory in Gbs required to be allocated to run the workload. + * + * @return the value + */ + public Float getMemoryInGBs() { + return memoryInGBs; + } + + /** The total number of gpus required to be allocated to the workload. */ + @com.fasterxml.jackson.annotation.JsonProperty("gpus") + private final Integer gpus; + + /** + * The total number of gpus required to be allocated to the workload. + * + * @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("ResourceRequestConfiguration("); + sb.append("super=").append(super.toString()); + sb.append("ocpus=").append(String.valueOf(this.ocpus)); + sb.append(", memoryInGBs=").append(String.valueOf(this.memoryInGBs)); + 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 ResourceRequestConfiguration)) { + return false; + } + + ResourceRequestConfiguration other = (ResourceRequestConfiguration) o; + return java.util.Objects.equals(this.ocpus, other.ocpus) + && java.util.Objects.equals(this.memoryInGBs, other.memoryInGBs) + && java.util.Objects.equals(this.gpus, other.gpus) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.ocpus == null ? 43 : this.ocpus.hashCode()); + result = (result * PRIME) + (this.memoryInGBs == null ? 43 : this.memoryInGBs.hashCode()); + result = (result * PRIME) + (this.gpus == null ? 43 : this.gpus.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/SingleModelConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/SingleModelConfigurationDetails.java new file mode 100644 index 00000000000..211c600da78 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/SingleModelConfigurationDetails.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.datascience.model; + +/** + * The single model configuration details.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SingleModelConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SingleModelConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"modelId"}) + public SingleModelConfigurationDetails(String modelId) { + super(); + this.modelId = modelId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * model. + */ + @com.fasterxml.jackson.annotation.JsonProperty("modelId") + private String modelId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * model. + * + * @param modelId the value to set + * @return this builder + */ + public Builder modelId(String modelId) { + this.modelId = modelId; + this.__explicitlySet__.add("modelId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SingleModelConfigurationDetails build() { + SingleModelConfigurationDetails model = + new SingleModelConfigurationDetails(this.modelId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SingleModelConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("modelId")) { + this.modelId(model.getModelId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a model. + */ + @com.fasterxml.jackson.annotation.JsonProperty("modelId") + private final String modelId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a model. + * + * @return the value + */ + public String getModelId() { + return modelId; + } + + @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("SingleModelConfigurationDetails("); + sb.append("super=").append(super.toString()); + sb.append("modelId=").append(String.valueOf(this.modelId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SingleModelConfigurationDetails)) { + return false; + } + + SingleModelConfigurationDetails other = (SingleModelConfigurationDetails) o; + return java.util.Objects.equals(this.modelId, other.modelId) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.modelId == null ? 43 : this.modelId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/SingleModelDeploymentFlexConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/SingleModelDeploymentFlexConfigurationDetails.java new file mode 100644 index 00000000000..d31d1efc53d --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/SingleModelDeploymentFlexConfigurationDetails.java @@ -0,0 +1,201 @@ +/** + * 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; + +/** + * The single model model deployment flex configuration details.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SingleModelDeploymentFlexConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "deploymentType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SingleModelDeploymentFlexConfigurationDetails + extends ModelDeploymentConfigurationDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("modelConfigurationDetails") + private SingleModelConfigurationDetails modelConfigurationDetails; + + public Builder modelConfigurationDetails( + SingleModelConfigurationDetails modelConfigurationDetails) { + this.modelConfigurationDetails = modelConfigurationDetails; + this.__explicitlySet__.add("modelConfigurationDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("infrastructureConfigurationDetails") + private ModelDeployInfrastructureConfigurationDetails infrastructureConfigurationDetails; + + public Builder infrastructureConfigurationDetails( + ModelDeployInfrastructureConfigurationDetails infrastructureConfigurationDetails) { + this.infrastructureConfigurationDetails = infrastructureConfigurationDetails; + this.__explicitlySet__.add("infrastructureConfigurationDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("environmentConfigurationDetails") + private ModelDeploymentEnvironmentConfigurationDetails environmentConfigurationDetails; + + public Builder environmentConfigurationDetails( + ModelDeploymentEnvironmentConfigurationDetails environmentConfigurationDetails) { + this.environmentConfigurationDetails = environmentConfigurationDetails; + this.__explicitlySet__.add("environmentConfigurationDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SingleModelDeploymentFlexConfigurationDetails build() { + SingleModelDeploymentFlexConfigurationDetails model = + new SingleModelDeploymentFlexConfigurationDetails( + this.modelConfigurationDetails, + this.infrastructureConfigurationDetails, + this.environmentConfigurationDetails); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SingleModelDeploymentFlexConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("modelConfigurationDetails")) { + this.modelConfigurationDetails(model.getModelConfigurationDetails()); + } + if (model.wasPropertyExplicitlySet("infrastructureConfigurationDetails")) { + this.infrastructureConfigurationDetails( + model.getInfrastructureConfigurationDetails()); + } + if (model.wasPropertyExplicitlySet("environmentConfigurationDetails")) { + this.environmentConfigurationDetails(model.getEnvironmentConfigurationDetails()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public SingleModelDeploymentFlexConfigurationDetails( + SingleModelConfigurationDetails modelConfigurationDetails, + ModelDeployInfrastructureConfigurationDetails infrastructureConfigurationDetails, + ModelDeploymentEnvironmentConfigurationDetails environmentConfigurationDetails) { + super(); + this.modelConfigurationDetails = modelConfigurationDetails; + this.infrastructureConfigurationDetails = infrastructureConfigurationDetails; + this.environmentConfigurationDetails = environmentConfigurationDetails; + } + + @com.fasterxml.jackson.annotation.JsonProperty("modelConfigurationDetails") + private final SingleModelConfigurationDetails modelConfigurationDetails; + + public SingleModelConfigurationDetails getModelConfigurationDetails() { + return modelConfigurationDetails; + } + + @com.fasterxml.jackson.annotation.JsonProperty("infrastructureConfigurationDetails") + private final ModelDeployInfrastructureConfigurationDetails infrastructureConfigurationDetails; + + public ModelDeployInfrastructureConfigurationDetails getInfrastructureConfigurationDetails() { + return infrastructureConfigurationDetails; + } + + @com.fasterxml.jackson.annotation.JsonProperty("environmentConfigurationDetails") + private final ModelDeploymentEnvironmentConfigurationDetails environmentConfigurationDetails; + + public ModelDeploymentEnvironmentConfigurationDetails getEnvironmentConfigurationDetails() { + return environmentConfigurationDetails; + } + + @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("SingleModelDeploymentFlexConfigurationDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", modelConfigurationDetails=") + .append(String.valueOf(this.modelConfigurationDetails)); + sb.append(", infrastructureConfigurationDetails=") + .append(String.valueOf(this.infrastructureConfigurationDetails)); + sb.append(", environmentConfigurationDetails=") + .append(String.valueOf(this.environmentConfigurationDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SingleModelDeploymentFlexConfigurationDetails)) { + return false; + } + + SingleModelDeploymentFlexConfigurationDetails other = + (SingleModelDeploymentFlexConfigurationDetails) o; + return java.util.Objects.equals( + this.modelConfigurationDetails, other.modelConfigurationDetails) + && java.util.Objects.equals( + this.infrastructureConfigurationDetails, + other.infrastructureConfigurationDetails) + && java.util.Objects.equals( + this.environmentConfigurationDetails, other.environmentConfigurationDetails) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.modelConfigurationDetails == null + ? 43 + : this.modelConfigurationDetails.hashCode()); + result = + (result * PRIME) + + (this.infrastructureConfigurationDetails == null + ? 43 + : this.infrastructureConfigurationDetails.hashCode()); + result = + (result * PRIME) + + (this.environmentConfigurationDetails == null + ? 43 + : this.environmentConfigurationDetails.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetCustomExpressionQueryScalingConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetCustomExpressionQueryScalingConfiguration.java new file mode 100644 index 00000000000..a9b4dacaa3b --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetCustomExpressionQueryScalingConfiguration.java @@ -0,0 +1,248 @@ +/** + * 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; + +/** + * The scaling configuration for the custom expression query for the workload.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = TargetCustomExpressionQueryScalingConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "targetScalingConfigurationType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class TargetCustomExpressionQueryScalingConfiguration + extends TargetScalingConfiguration { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms + * feature of the Monitoring service interprets results for each returned time series as + * Boolean values, where zero represents false and a non-zero value represents true. A true + * value means that the trigger rule condition has been met. The query must specify a + * metric, statistic, interval, and trigger rule (threshold or absence). Supported values + * for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping + * functions. Supported grouping functions: grouping(), groupBy(). Example of threshold + * alarm: {@code CPUUtilization[1m]{resourceId = "Model_Deployment_OCID"}.grouping().mean() + * < 25 CPUUtilization[1m]{resourceId = "Model_Deployment_OCID"}.grouping().mean() > 75 } + */ + @com.fasterxml.jackson.annotation.JsonProperty("query") + private String query; + + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms + * feature of the Monitoring service interprets results for each returned time series as + * Boolean values, where zero represents false and a non-zero value represents true. A true + * value means that the trigger rule condition has been met. The query must specify a + * metric, statistic, interval, and trigger rule (threshold or absence). Supported values + * for interval: 1m-60m (also 1h). You can optionally specify dimensions and grouping + * functions. Supported grouping functions: grouping(), groupBy(). Example of threshold + * alarm: {@code CPUUtilization[1m]{resourceId = "Model_Deployment_OCID"}.grouping().mean() + * < 25 CPUUtilization[1m]{resourceId = "Model_Deployment_OCID"}.grouping().mean() > 75 } + * + * @param query the value to set + * @return this builder + */ + public Builder query(String query) { + this.query = query; + this.__explicitlySet__.add("query"); + return this; + } + /** A metric value at which the scaling operation will be triggered. */ + @com.fasterxml.jackson.annotation.JsonProperty("threshold") + private Float threshold; + + /** + * A metric value at which the scaling operation will be triggered. + * + * @param threshold the value to set + * @return this builder + */ + public Builder threshold(Float threshold) { + this.threshold = threshold; + this.__explicitlySet__.add("threshold"); + return this; + } + /** Namespace to read the metrics from. Default value will be service metric namespace. */ + @com.fasterxml.jackson.annotation.JsonProperty("metricNamespace") + private String metricNamespace; + + /** + * Namespace to read the metrics from. Default value will be service metric namespace. + * + * @param metricNamespace the value to set + * @return this builder + */ + public Builder metricNamespace(String metricNamespace) { + this.metricNamespace = metricNamespace; + this.__explicitlySet__.add("metricNamespace"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public TargetCustomExpressionQueryScalingConfiguration build() { + TargetCustomExpressionQueryScalingConfiguration model = + new TargetCustomExpressionQueryScalingConfiguration( + this.query, this.threshold, this.metricNamespace); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(TargetCustomExpressionQueryScalingConfiguration model) { + if (model.wasPropertyExplicitlySet("query")) { + this.query(model.getQuery()); + } + if (model.wasPropertyExplicitlySet("threshold")) { + this.threshold(model.getThreshold()); + } + if (model.wasPropertyExplicitlySet("metricNamespace")) { + this.metricNamespace(model.getMetricNamespace()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public TargetCustomExpressionQueryScalingConfiguration( + String query, Float threshold, String metricNamespace) { + super(); + this.query = query; + this.threshold = threshold; + this.metricNamespace = metricNamespace; + } + + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature + * of the Monitoring service interprets results for each returned time series as Boolean values, + * where zero represents false and a non-zero value represents true. A true value means that the + * trigger rule condition has been met. The query must specify a metric, statistic, interval, + * and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You + * can optionally specify dimensions and grouping functions. Supported grouping functions: + * grouping(), groupBy(). Example of threshold alarm: {@code CPUUtilization[1m]{resourceId = + * "Model_Deployment_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = + * "Model_Deployment_OCID"}.grouping().mean() > 75 } + */ + @com.fasterxml.jackson.annotation.JsonProperty("query") + private final String query; + + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature + * of the Monitoring service interprets results for each returned time series as Boolean values, + * where zero represents false and a non-zero value represents true. A true value means that the + * trigger rule condition has been met. The query must specify a metric, statistic, interval, + * and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h). You + * can optionally specify dimensions and grouping functions. Supported grouping functions: + * grouping(), groupBy(). Example of threshold alarm: {@code CPUUtilization[1m]{resourceId = + * "Model_Deployment_OCID"}.grouping().mean() < 25 CPUUtilization[1m]{resourceId = + * "Model_Deployment_OCID"}.grouping().mean() > 75 } + * + * @return the value + */ + public String getQuery() { + return query; + } + + /** A metric value at which the scaling operation will be triggered. */ + @com.fasterxml.jackson.annotation.JsonProperty("threshold") + private final Float threshold; + + /** + * A metric value at which the scaling operation will be triggered. + * + * @return the value + */ + public Float getThreshold() { + return threshold; + } + + /** Namespace to read the metrics from. Default value will be service metric namespace. */ + @com.fasterxml.jackson.annotation.JsonProperty("metricNamespace") + private final String metricNamespace; + + /** + * Namespace to read the metrics from. Default value will be service metric namespace. + * + * @return the value + */ + public String getMetricNamespace() { + return metricNamespace; + } + + @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("TargetCustomExpressionQueryScalingConfiguration("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", query=").append(String.valueOf(this.query)); + sb.append(", threshold=").append(String.valueOf(this.threshold)); + sb.append(", metricNamespace=").append(String.valueOf(this.metricNamespace)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof TargetCustomExpressionQueryScalingConfiguration)) { + return false; + } + + TargetCustomExpressionQueryScalingConfiguration other = + (TargetCustomExpressionQueryScalingConfiguration) o; + return java.util.Objects.equals(this.query, other.query) + && java.util.Objects.equals(this.threshold, other.threshold) + && java.util.Objects.equals(this.metricNamespace, other.metricNamespace) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.query == null ? 43 : this.query.hashCode()); + result = (result * PRIME) + (this.threshold == null ? 43 : this.threshold.hashCode()); + result = + (result * PRIME) + + (this.metricNamespace == null ? 43 : this.metricNamespace.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetCustomMetricExpressionRule.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetCustomMetricExpressionRule.java new file mode 100644 index 00000000000..c76ad154331 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetCustomMetricExpressionRule.java @@ -0,0 +1,132 @@ +/** + * 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; + +/** + * A custom Monitoring Query Language (MQL) expression for triggering an autoscaling action on the + * workload.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = TargetCustomMetricExpressionRule.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "metricExpressionRuleType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class TargetCustomMetricExpressionRule + extends ManagedComputeClusterWorkloadMetricExpressionRule { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("scaleConfiguration") + private TargetCustomExpressionQueryScalingConfiguration scaleConfiguration; + + public Builder scaleConfiguration( + TargetCustomExpressionQueryScalingConfiguration scaleConfiguration) { + this.scaleConfiguration = scaleConfiguration; + this.__explicitlySet__.add("scaleConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public TargetCustomMetricExpressionRule build() { + TargetCustomMetricExpressionRule model = + new TargetCustomMetricExpressionRule(this.scaleConfiguration); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(TargetCustomMetricExpressionRule model) { + if (model.wasPropertyExplicitlySet("scaleConfiguration")) { + this.scaleConfiguration(model.getScaleConfiguration()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public TargetCustomMetricExpressionRule( + TargetCustomExpressionQueryScalingConfiguration scaleConfiguration) { + super(); + this.scaleConfiguration = scaleConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleConfiguration") + private final TargetCustomExpressionQueryScalingConfiguration scaleConfiguration; + + public TargetCustomExpressionQueryScalingConfiguration getScaleConfiguration() { + return scaleConfiguration; + } + + @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("TargetCustomMetricExpressionRule("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", scaleConfiguration=").append(String.valueOf(this.scaleConfiguration)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof TargetCustomMetricExpressionRule)) { + return false; + } + + TargetCustomMetricExpressionRule other = (TargetCustomMetricExpressionRule) o; + return java.util.Objects.equals(this.scaleConfiguration, other.scaleConfiguration) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.scaleConfiguration == null + ? 43 + : this.scaleConfiguration.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsAuthConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetPredefinedExpressionThresholdScalingConfiguration.java similarity index 59% rename from bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsAuthConfigurationDetails.java rename to bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetPredefinedExpressionThresholdScalingConfiguration.java index 3d3626dd9fb..8a68cb9ec3e 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreateIdcsAuthConfigurationDetails.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetPredefinedExpressionThresholdScalingConfiguration.java @@ -5,7 +5,7 @@ package com.oracle.bmc.datascience.model; /** - * Configuration of IDCS AuthN/Z for online prediction
+ * The scaling configuration for the predefined metric expression rule for the workload.
* 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 @@ -17,38 +17,39 @@ */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") @com.fasterxml.jackson.databind.annotation.JsonDeserialize( - builder = CreateIdcsAuthConfigurationDetails.Builder.class) + builder = TargetPredefinedExpressionThresholdScalingConfiguration.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") + property = "targetScalingConfigurationType") @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) -public final class CreateIdcsAuthConfigurationDetails extends CreateAuthConfigurationDetails { +public final class TargetPredefinedExpressionThresholdScalingConfiguration + extends TargetScalingConfiguration { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { - /** Identity Domain OCID */ - @com.fasterxml.jackson.annotation.JsonProperty("domainId") - private String domainId; + /** A metric value at which the scaling operation will be triggered. */ + @com.fasterxml.jackson.annotation.JsonProperty("threshold") + private Float threshold; /** - * Identity Domain OCID + * A metric value at which the scaling operation will be triggered. * - * @param domainId the value to set + * @param threshold the value to set * @return this builder */ - public Builder domainId(String domainId) { - this.domainId = domainId; - this.__explicitlySet__.add("domainId"); + public Builder threshold(Float threshold) { + this.threshold = threshold; + this.__explicitlySet__.add("threshold"); 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 TargetPredefinedExpressionThresholdScalingConfiguration build() { + TargetPredefinedExpressionThresholdScalingConfiguration model = + new TargetPredefinedExpressionThresholdScalingConfiguration(this.threshold); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -56,9 +57,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(TargetPredefinedExpressionThresholdScalingConfiguration model) { + if (model.wasPropertyExplicitlySet("threshold")) { + this.threshold(model.getThreshold()); } return this; } @@ -74,22 +75,22 @@ public Builder toBuilder() { } @Deprecated - public CreateIdcsAuthConfigurationDetails(String domainId) { + public TargetPredefinedExpressionThresholdScalingConfiguration(Float threshold) { super(); - this.domainId = domainId; + this.threshold = threshold; } - /** Identity Domain OCID */ - @com.fasterxml.jackson.annotation.JsonProperty("domainId") - private final String domainId; + /** A metric value at which the scaling operation will be triggered. */ + @com.fasterxml.jackson.annotation.JsonProperty("threshold") + private final Float threshold; /** - * Identity Domain OCID + * A metric value at which the scaling operation will be triggered. * * @return the value */ - public String getDomainId() { - return domainId; + public Float getThreshold() { + return threshold; } @Override @@ -105,9 +106,9 @@ public String toString() { */ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); - sb.append("CreateIdcsAuthConfigurationDetails("); + sb.append("TargetPredefinedExpressionThresholdScalingConfiguration("); sb.append("super=").append(super.toString(includeByteArrayContents)); - sb.append(", domainId=").append(String.valueOf(this.domainId)); + sb.append(", threshold=").append(String.valueOf(this.threshold)); sb.append(")"); return sb.toString(); } @@ -117,19 +118,20 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof CreateIdcsAuthConfigurationDetails)) { + if (!(o instanceof TargetPredefinedExpressionThresholdScalingConfiguration)) { return false; } - CreateIdcsAuthConfigurationDetails other = (CreateIdcsAuthConfigurationDetails) o; - return java.util.Objects.equals(this.domainId, other.domainId) && super.equals(other); + TargetPredefinedExpressionThresholdScalingConfiguration other = + (TargetPredefinedExpressionThresholdScalingConfiguration) o; + return java.util.Objects.equals(this.threshold, other.threshold) && 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.threshold == null ? 43 : this.threshold.hashCode()); return result; } } diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetPredefinedMetricExpressionRule.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetPredefinedMetricExpressionRule.java new file mode 100644 index 00000000000..983b3e6c82f --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetPredefinedMetricExpressionRule.java @@ -0,0 +1,215 @@ +/** + * 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; + +/** + * An expression built using CPU or Memory metrics for triggering an autoscaling action for + * workload.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = TargetPredefinedMetricExpressionRule.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "metricExpressionRuleType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class TargetPredefinedMetricExpressionRule + extends ManagedComputeClusterWorkloadMetricExpressionRule { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Metric type */ + @com.fasterxml.jackson.annotation.JsonProperty("metricType") + private MetricType metricType; + + /** + * Metric type + * + * @param metricType the value to set + * @return this builder + */ + public Builder metricType(MetricType metricType) { + this.metricType = metricType; + this.__explicitlySet__.add("metricType"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleConfiguration") + private TargetPredefinedExpressionThresholdScalingConfiguration scaleConfiguration; + + public Builder scaleConfiguration( + TargetPredefinedExpressionThresholdScalingConfiguration scaleConfiguration) { + this.scaleConfiguration = scaleConfiguration; + this.__explicitlySet__.add("scaleConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public TargetPredefinedMetricExpressionRule build() { + TargetPredefinedMetricExpressionRule model = + new TargetPredefinedMetricExpressionRule( + this.metricType, this.scaleConfiguration); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(TargetPredefinedMetricExpressionRule model) { + if (model.wasPropertyExplicitlySet("metricType")) { + this.metricType(model.getMetricType()); + } + if (model.wasPropertyExplicitlySet("scaleConfiguration")) { + this.scaleConfiguration(model.getScaleConfiguration()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public TargetPredefinedMetricExpressionRule( + MetricType metricType, + TargetPredefinedExpressionThresholdScalingConfiguration scaleConfiguration) { + super(); + this.metricType = metricType; + this.scaleConfiguration = scaleConfiguration; + } + + /** Metric type */ + public enum MetricType implements com.oracle.bmc.http.internal.BmcEnum { + CpuUtilization("CPU_UTILIZATION"), + MemoryUtilization("MEMORY_UTILIZATION"), + + /** + * 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(MetricType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (MetricType v : MetricType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + MetricType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static MetricType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'MetricType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** Metric type */ + @com.fasterxml.jackson.annotation.JsonProperty("metricType") + private final MetricType metricType; + + /** + * Metric type + * + * @return the value + */ + public MetricType getMetricType() { + return metricType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleConfiguration") + private final TargetPredefinedExpressionThresholdScalingConfiguration scaleConfiguration; + + public TargetPredefinedExpressionThresholdScalingConfiguration getScaleConfiguration() { + return scaleConfiguration; + } + + @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("TargetPredefinedMetricExpressionRule("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", metricType=").append(String.valueOf(this.metricType)); + sb.append(", scaleConfiguration=").append(String.valueOf(this.scaleConfiguration)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof TargetPredefinedMetricExpressionRule)) { + return false; + } + + TargetPredefinedMetricExpressionRule other = (TargetPredefinedMetricExpressionRule) o; + return java.util.Objects.equals(this.metricType, other.metricType) + && java.util.Objects.equals(this.scaleConfiguration, other.scaleConfiguration) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.metricType == null ? 43 : this.metricType.hashCode()); + result = + (result * PRIME) + + (this.scaleConfiguration == null + ? 43 + : this.scaleConfiguration.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetScalingConfiguration.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetScalingConfiguration.java new file mode 100644 index 00000000000..31eea85eb15 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/TargetScalingConfiguration.java @@ -0,0 +1,128 @@ +/** + * 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; + +/** + * The target scaling configuration for the workload scaling.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "targetScalingConfigurationType", + defaultImpl = TargetScalingConfiguration.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = TargetCustomExpressionQueryScalingConfiguration.class, + name = "QUERY"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = TargetPredefinedExpressionThresholdScalingConfiguration.class, + name = "THRESHOLD") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class TargetScalingConfiguration + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected TargetScalingConfiguration() { + 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("TargetScalingConfiguration("); + 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 TargetScalingConfiguration)) { + return false; + } + + TargetScalingConfiguration other = (TargetScalingConfiguration) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } + + /** The metric at which the alarm used to trigger autoscaling actions for workload. */ + public enum TargetScalingConfigurationType implements com.oracle.bmc.http.internal.BmcEnum { + Threshold("THRESHOLD"), + Query("QUERY"), + + /** + * 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(TargetScalingConfigurationType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TargetScalingConfigurationType v : TargetScalingConfigurationType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + TargetScalingConfigurationType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TargetScalingConfigurationType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'TargetScalingConfigurationType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateComputeConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateComputeConfigurationDetails.java new file mode 100644 index 00000000000..dab8290c268 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateComputeConfigurationDetails.java @@ -0,0 +1,78 @@ +/** + * 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; + +/** + * Configuration details of the targeted Compute.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "computeType", + defaultImpl = UpdateComputeConfigurationDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateManagedComputeClusterConfigurationDetails.class, + name = "MANAGED_COMPUTE_CLUSTER") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class UpdateComputeConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected UpdateComputeConfigurationDetails() { + 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("UpdateComputeConfigurationDetails("); + 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 UpdateComputeConfigurationDetails)) { + return false; + } + + UpdateComputeConfigurationDetails other = (UpdateComputeConfigurationDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateComputeTargetDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateComputeTargetDetails.java new file mode 100644 index 00000000000..04c0d925e2f --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateComputeTargetDetails.java @@ -0,0 +1,377 @@ +/** + * 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; + +/** + * Details for updating a compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateComputeTargetDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateComputeTargetDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "displayName", + "description", + "metadata", + "computeConfigurationDetails", + "freeformTags", + "definedTags" + }) + public UpdateComputeTargetDetails( + String displayName, + String description, + java.util.Map metadata, + UpdateComputeConfigurationDetails computeConfigurationDetails, + java.util.Map freeformTags, + java.util.Map> definedTags) { + super(); + this.displayName = displayName; + this.description = description; + this.metadata = metadata; + this.computeConfigurationDetails = computeConfigurationDetails; + this.freeformTags = freeformTags; + this.definedTags = definedTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** A user-friendly display name for the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly display name for the resource. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** A short description of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * A short description of the compute target. + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) + * Key should start with a letter. Key should have at least 2 characters. Key should not end + * with underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No + * specific size limits on individual Values. But overall metadata is limited to 2048 bytes. + * Key can't be reserved Compute Target metadata. + */ + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + private java.util.Map metadata; + + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) + * Key should start with a letter. Key should have at least 2 characters. Key should not end + * with underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No + * specific size limits on individual Values. But overall metadata is limited to 2048 bytes. + * Key can't be reserved Compute Target metadata. + * + * @param metadata the value to set + * @return this builder + */ + public Builder metadata(java.util.Map metadata) { + this.metadata = metadata; + this.__explicitlySet__.add("metadata"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("computeConfigurationDetails") + private UpdateComputeConfigurationDetails computeConfigurationDetails; + + public Builder computeConfigurationDetails( + UpdateComputeConfigurationDetails computeConfigurationDetails) { + this.computeConfigurationDetails = computeConfigurationDetails; + this.__explicitlySet__.add("computeConfigurationDetails"); + return this; + } + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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(); + + public UpdateComputeTargetDetails build() { + UpdateComputeTargetDetails model = + new UpdateComputeTargetDetails( + this.displayName, + this.description, + this.metadata, + this.computeConfigurationDetails, + this.freeformTags, + this.definedTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateComputeTargetDetails model) { + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("metadata")) { + this.metadata(model.getMetadata()); + } + if (model.wasPropertyExplicitlySet("computeConfigurationDetails")) { + this.computeConfigurationDetails(model.getComputeConfigurationDetails()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** A user-friendly display name for the resource. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly display name for the resource. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** A short description of the compute target. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * A short description of the compute target. + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) Key + * should start with a letter. Key should have at least 2 characters. Key should not end with + * underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No specific + * size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be + * reserved Compute Target metadata. + */ + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + private final java.util.Map metadata; + + /** + * Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key + * should be under 32 characters. Key should contain only letters, digits and underscore (_) Key + * should start with a letter. Key should have at least 2 characters. Key should not end with + * underscore eg. {@code TEST_} Key if added cannot be empty. Value can be empty. No specific + * size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can't be + * reserved Compute Target metadata. + * + * @return the value + */ + public java.util.Map getMetadata() { + return metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("computeConfigurationDetails") + private final UpdateComputeConfigurationDetails computeConfigurationDetails; + + public UpdateComputeConfigurationDetails getComputeConfigurationDetails() { + return computeConfigurationDetails; + } + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined + * name, type, or namespace. 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; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. 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); + } + + /** + * 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("UpdateComputeTargetDetails("); + sb.append("super=").append(super.toString()); + sb.append("displayName=").append(String.valueOf(this.displayName)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", metadata=").append(String.valueOf(this.metadata)); + sb.append(", computeConfigurationDetails=") + .append(String.valueOf(this.computeConfigurationDetails)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateComputeTargetDetails)) { + return false; + } + + UpdateComputeTargetDetails other = (UpdateComputeTargetDetails) o; + return java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.metadata, other.metadata) + && java.util.Objects.equals( + this.computeConfigurationDetails, other.computeConfigurationDetails) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = (result * PRIME) + (this.metadata == null ? 43 : this.metadata.hashCode()); + result = + (result * PRIME) + + (this.computeConfigurationDetails == null + ? 43 + : this.computeConfigurationDetails.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-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterConfigurationDetails.java new file mode 100644 index 00000000000..a3a1415bec9 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterConfigurationDetails.java @@ -0,0 +1,159 @@ +/** + * 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; + +/** + * The configuration details for the managed compute cluster type compute target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateManagedComputeClusterConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "computeType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateManagedComputeClusterConfigurationDetails + extends UpdateComputeConfigurationDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("instanceConfiguration") + private UpdateManagedComputeClusterInstanceConfigurationDetails instanceConfiguration; + + public Builder instanceConfiguration( + UpdateManagedComputeClusterInstanceConfigurationDetails instanceConfiguration) { + this.instanceConfiguration = instanceConfiguration; + this.__explicitlySet__.add("instanceConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scalingPolicy") + private ManagedComputeClusterScalingPolicy scalingPolicy; + + public Builder scalingPolicy(ManagedComputeClusterScalingPolicy scalingPolicy) { + this.scalingPolicy = scalingPolicy; + this.__explicitlySet__.add("scalingPolicy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateManagedComputeClusterConfigurationDetails build() { + UpdateManagedComputeClusterConfigurationDetails model = + new UpdateManagedComputeClusterConfigurationDetails( + this.instanceConfiguration, this.scalingPolicy); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateManagedComputeClusterConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("instanceConfiguration")) { + this.instanceConfiguration(model.getInstanceConfiguration()); + } + if (model.wasPropertyExplicitlySet("scalingPolicy")) { + this.scalingPolicy(model.getScalingPolicy()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateManagedComputeClusterConfigurationDetails( + UpdateManagedComputeClusterInstanceConfigurationDetails instanceConfiguration, + ManagedComputeClusterScalingPolicy scalingPolicy) { + super(); + this.instanceConfiguration = instanceConfiguration; + this.scalingPolicy = scalingPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceConfiguration") + private final UpdateManagedComputeClusterInstanceConfigurationDetails instanceConfiguration; + + public UpdateManagedComputeClusterInstanceConfigurationDetails getInstanceConfiguration() { + return instanceConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scalingPolicy") + private final ManagedComputeClusterScalingPolicy scalingPolicy; + + public ManagedComputeClusterScalingPolicy getScalingPolicy() { + return scalingPolicy; + } + + @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("UpdateManagedComputeClusterConfigurationDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", instanceConfiguration=").append(String.valueOf(this.instanceConfiguration)); + sb.append(", scalingPolicy=").append(String.valueOf(this.scalingPolicy)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateManagedComputeClusterConfigurationDetails)) { + return false; + } + + UpdateManagedComputeClusterConfigurationDetails other = + (UpdateManagedComputeClusterConfigurationDetails) o; + return java.util.Objects.equals(this.instanceConfiguration, other.instanceConfiguration) + && java.util.Objects.equals(this.scalingPolicy, other.scalingPolicy) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.instanceConfiguration == null + ? 43 + : this.instanceConfiguration.hashCode()); + result = + (result * PRIME) + + (this.scalingPolicy == null ? 43 : this.scalingPolicy.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterInstanceConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterInstanceConfigurationDetails.java new file mode 100644 index 00000000000..00107efa4a3 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterInstanceConfigurationDetails.java @@ -0,0 +1,224 @@ +/** + * 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; + +/** + * The compute target instance configuration details for managed compute cluster type compute + * target.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateManagedComputeClusterInstanceConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateManagedComputeClusterInstanceConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "instanceShape", + "bootVolumeSizeInGBs", + "instanceShapeDetails" + }) + public UpdateManagedComputeClusterInstanceConfigurationDetails( + String instanceShape, + Integer bootVolumeSizeInGBs, + ManagedComputeClusterInstanceShapeDetails instanceShapeDetails) { + super(); + this.instanceShape = instanceShape; + this.bootVolumeSizeInGBs = bootVolumeSizeInGBs; + this.instanceShapeDetails = instanceShapeDetails; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The shape used to launch the instances in compute target. Supported shapes can be + * retrieved using compute target shapes api. + */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceShape") + private String instanceShape; + + /** + * The shape used to launch the instances in compute target. Supported shapes can be + * retrieved using compute target shapes api. + * + * @param instanceShape the value to set + * @return this builder + */ + public Builder instanceShape(String instanceShape) { + this.instanceShape = instanceShape; + this.__explicitlySet__.add("instanceShape"); + return this; + } + /** The size of the boot volume to attach to the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("bootVolumeSizeInGBs") + private Integer bootVolumeSizeInGBs; + + /** + * The size of the boot volume to attach to the instance. + * + * @param bootVolumeSizeInGBs the value to set + * @return this builder + */ + public Builder bootVolumeSizeInGBs(Integer bootVolumeSizeInGBs) { + this.bootVolumeSizeInGBs = bootVolumeSizeInGBs; + this.__explicitlySet__.add("bootVolumeSizeInGBs"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceShapeDetails") + private ManagedComputeClusterInstanceShapeDetails instanceShapeDetails; + + public Builder instanceShapeDetails( + ManagedComputeClusterInstanceShapeDetails instanceShapeDetails) { + this.instanceShapeDetails = instanceShapeDetails; + this.__explicitlySet__.add("instanceShapeDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateManagedComputeClusterInstanceConfigurationDetails build() { + UpdateManagedComputeClusterInstanceConfigurationDetails model = + new UpdateManagedComputeClusterInstanceConfigurationDetails( + this.instanceShape, + this.bootVolumeSizeInGBs, + this.instanceShapeDetails); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateManagedComputeClusterInstanceConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("instanceShape")) { + this.instanceShape(model.getInstanceShape()); + } + if (model.wasPropertyExplicitlySet("bootVolumeSizeInGBs")) { + this.bootVolumeSizeInGBs(model.getBootVolumeSizeInGBs()); + } + if (model.wasPropertyExplicitlySet("instanceShapeDetails")) { + this.instanceShapeDetails(model.getInstanceShapeDetails()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The shape used to launch the instances in compute target. Supported shapes can be retrieved + * using compute target shapes api. + */ + @com.fasterxml.jackson.annotation.JsonProperty("instanceShape") + private final String instanceShape; + + /** + * The shape used to launch the instances in compute target. Supported shapes can be retrieved + * using compute target shapes api. + * + * @return the value + */ + public String getInstanceShape() { + return instanceShape; + } + + /** The size of the boot volume to attach to the instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("bootVolumeSizeInGBs") + private final Integer bootVolumeSizeInGBs; + + /** + * The size of the boot volume to attach to the instance. + * + * @return the value + */ + public Integer getBootVolumeSizeInGBs() { + return bootVolumeSizeInGBs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("instanceShapeDetails") + private final ManagedComputeClusterInstanceShapeDetails instanceShapeDetails; + + public ManagedComputeClusterInstanceShapeDetails getInstanceShapeDetails() { + return instanceShapeDetails; + } + + @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("UpdateManagedComputeClusterInstanceConfigurationDetails("); + sb.append("super=").append(super.toString()); + sb.append("instanceShape=").append(String.valueOf(this.instanceShape)); + sb.append(", bootVolumeSizeInGBs=").append(String.valueOf(this.bootVolumeSizeInGBs)); + sb.append(", instanceShapeDetails=").append(String.valueOf(this.instanceShapeDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateManagedComputeClusterInstanceConfigurationDetails)) { + return false; + } + + UpdateManagedComputeClusterInstanceConfigurationDetails other = + (UpdateManagedComputeClusterInstanceConfigurationDetails) o; + return java.util.Objects.equals(this.instanceShape, other.instanceShape) + && java.util.Objects.equals(this.bootVolumeSizeInGBs, other.bootVolumeSizeInGBs) + && java.util.Objects.equals(this.instanceShapeDetails, other.instanceShapeDetails) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.instanceShape == null ? 43 : this.instanceShape.hashCode()); + result = + (result * PRIME) + + (this.bootVolumeSizeInGBs == null + ? 43 + : this.bootVolumeSizeInGBs.hashCode()); + result = + (result * PRIME) + + (this.instanceShapeDetails == null + ? 43 + : this.instanceShapeDetails.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.java new file mode 100644 index 00000000000..63bab51b2c3 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.java @@ -0,0 +1,219 @@ +/** + * 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; + +/** + * Infrastructure configuration details for updating a model deploy of managed compute cluster type + * compute target. You can update the {@code modelDeploymentResourceConfiguration} and {@code + * scalingPolicy} properties.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "infrastructureType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails + extends UpdateModelDeployInfrastructureConfigurationDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * Compute Target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("computeTargetId") + private String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * Compute Target. + * + * @param computeTargetId the value to set + * @return this builder + */ + public Builder computeTargetId(String computeTargetId) { + this.computeTargetId = computeTargetId; + this.__explicitlySet__.add("computeTargetId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("modelDeploymentResourceConfiguration") + private ManagedComputeClusterModelDeploymentResourceConfiguration + modelDeploymentResourceConfiguration; + + public Builder modelDeploymentResourceConfiguration( + ManagedComputeClusterModelDeploymentResourceConfiguration + modelDeploymentResourceConfiguration) { + this.modelDeploymentResourceConfiguration = modelDeploymentResourceConfiguration; + this.__explicitlySet__.add("modelDeploymentResourceConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scalingPolicy") + private ManagedComputeClusterWorkloadScalingPolicy scalingPolicy; + + public Builder scalingPolicy(ManagedComputeClusterWorkloadScalingPolicy scalingPolicy) { + this.scalingPolicy = scalingPolicy; + this.__explicitlySet__.add("scalingPolicy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails build() { + UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails model = + new UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails( + this.computeTargetId, + this.modelDeploymentResourceConfiguration, + this.scalingPolicy); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy( + UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails model) { + if (model.wasPropertyExplicitlySet("computeTargetId")) { + this.computeTargetId(model.getComputeTargetId()); + } + if (model.wasPropertyExplicitlySet("modelDeploymentResourceConfiguration")) { + this.modelDeploymentResourceConfiguration( + model.getModelDeploymentResourceConfiguration()); + } + if (model.wasPropertyExplicitlySet("scalingPolicy")) { + this.scalingPolicy(model.getScalingPolicy()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails( + String computeTargetId, + ManagedComputeClusterModelDeploymentResourceConfiguration + modelDeploymentResourceConfiguration, + ManagedComputeClusterWorkloadScalingPolicy scalingPolicy) { + super(); + this.computeTargetId = computeTargetId; + this.modelDeploymentResourceConfiguration = modelDeploymentResourceConfiguration; + this.scalingPolicy = scalingPolicy; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * Compute Target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("computeTargetId") + private final String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * Compute Target. + * + * @return the value + */ + public String getComputeTargetId() { + return computeTargetId; + } + + @com.fasterxml.jackson.annotation.JsonProperty("modelDeploymentResourceConfiguration") + private final ManagedComputeClusterModelDeploymentResourceConfiguration + modelDeploymentResourceConfiguration; + + public ManagedComputeClusterModelDeploymentResourceConfiguration + getModelDeploymentResourceConfiguration() { + return modelDeploymentResourceConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scalingPolicy") + private final ManagedComputeClusterWorkloadScalingPolicy scalingPolicy; + + public ManagedComputeClusterWorkloadScalingPolicy getScalingPolicy() { + return scalingPolicy; + } + + @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("UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", computeTargetId=").append(String.valueOf(this.computeTargetId)); + sb.append(", modelDeploymentResourceConfiguration=") + .append(String.valueOf(this.modelDeploymentResourceConfiguration)); + sb.append(", scalingPolicy=").append(String.valueOf(this.scalingPolicy)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails)) { + return false; + } + + UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails other = + (UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails) o; + return java.util.Objects.equals(this.computeTargetId, other.computeTargetId) + && java.util.Objects.equals( + this.modelDeploymentResourceConfiguration, + other.modelDeploymentResourceConfiguration) + && java.util.Objects.equals(this.scalingPolicy, other.scalingPolicy) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.computeTargetId == null ? 43 : this.computeTargetId.hashCode()); + result = + (result * PRIME) + + (this.modelDeploymentResourceConfiguration == null + ? 43 + : this.modelDeploymentResourceConfiguration.hashCode()); + result = + (result * PRIME) + + (this.scalingPolicy == null ? 43 : this.scalingPolicy.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateModelDeployInfrastructureConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateModelDeployInfrastructureConfigurationDetails.java new file mode 100644 index 00000000000..e8b0a128127 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateModelDeployInfrastructureConfigurationDetails.java @@ -0,0 +1,79 @@ +/** + * 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; + +/** + * The Infrastructure configuration details for updating a model deployment.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "infrastructureType", + defaultImpl = UpdateModelDeployInfrastructureConfigurationDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.class, + name = "MANAGED_COMPUTE_CLUSTER") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class UpdateModelDeployInfrastructureConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected UpdateModelDeployInfrastructureConfigurationDetails() { + 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("UpdateModelDeployInfrastructureConfigurationDetails("); + 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 UpdateModelDeployInfrastructureConfigurationDetails)) { + return false; + } + + UpdateModelDeployInfrastructureConfigurationDetails other = + (UpdateModelDeployInfrastructureConfigurationDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateModelDeploymentConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateModelDeploymentConfigurationDetails.java index c41ff977a82..f79d2f68331 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateModelDeploymentConfigurationDetails.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateModelDeploymentConfigurationDetails.java @@ -27,7 +27,10 @@ name = "MODEL_GROUP"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = UpdateSingleModelDeploymentConfigurationDetails.class, - name = "SINGLE_MODEL") + name = "SINGLE_MODEL"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = UpdateSingleModelDeploymentFlexConfigurationDetails.class, + name = "SINGLE_MODEL_FLEX") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateOcirModelDeploymentEnvironmentConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateOcirModelDeploymentEnvironmentConfigurationDetails.java index 577534f82ed..6b385f4c8ac 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateOcirModelDeploymentEnvironmentConfigurationDetails.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateOcirModelDeploymentEnvironmentConfigurationDetails.java @@ -206,6 +206,47 @@ public Builder environmentVariables(java.util.Map environmentVar this.__explicitlySet__.add("environmentVariables"); return this; } + /** + * The chosen specification from predefined set of endpoints a user can access. For example, + * if the value is 'openai', the user can access OpenAI-compliant endpoints like + * /v1/completions, /v1/chat/completions, /v1/models, etc., for inference. + */ + @com.fasterxml.jackson.annotation.JsonProperty("predictApiSpecification") + private String predictApiSpecification; + + /** + * The chosen specification from predefined set of endpoints a user can access. For example, + * if the value is 'openai', the user can access OpenAI-compliant endpoints like + * /v1/completions, /v1/chat/completions, /v1/models, etc., for inference. + * + * @param predictApiSpecification the value to set + * @return this builder + */ + public Builder predictApiSpecification(String predictApiSpecification) { + this.predictApiSpecification = predictApiSpecification; + this.__explicitlySet__.add("predictApiSpecification"); + return this; + } + /** + * List of custom inference HTTP endpoints configured on the model deployment instance for + * inferencing. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customHttpEndpoints") + private java.util.List customHttpEndpoints; + + /** + * List of custom inference HTTP endpoints configured on the model deployment instance for + * inferencing. + * + * @param customHttpEndpoints the value to set + * @return this builder + */ + public Builder customHttpEndpoints( + java.util.List customHttpEndpoints) { + this.customHttpEndpoints = customHttpEndpoints; + this.__explicitlySet__.add("customHttpEndpoints"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -220,7 +261,9 @@ public UpdateOcirModelDeploymentEnvironmentConfigurationDetails build() { this.entrypoint, this.serverPort, this.healthCheckPort, - this.environmentVariables); + this.environmentVariables, + this.predictApiSpecification, + this.customHttpEndpoints); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -253,6 +296,12 @@ public Builder copy(UpdateOcirModelDeploymentEnvironmentConfigurationDetails mod if (model.wasPropertyExplicitlySet("environmentVariables")) { this.environmentVariables(model.getEnvironmentVariables()); } + if (model.wasPropertyExplicitlySet("predictApiSpecification")) { + this.predictApiSpecification(model.getPredictApiSpecification()); + } + if (model.wasPropertyExplicitlySet("customHttpEndpoints")) { + this.customHttpEndpoints(model.getCustomHttpEndpoints()); + } return this; } } @@ -275,7 +324,9 @@ public UpdateOcirModelDeploymentEnvironmentConfigurationDetails( java.util.List entrypoint, Integer serverPort, Integer healthCheckPort, - java.util.Map environmentVariables) { + java.util.Map environmentVariables, + String predictApiSpecification, + java.util.List customHttpEndpoints) { super(); this.image = image; this.imageDigest = imageDigest; @@ -285,6 +336,8 @@ public UpdateOcirModelDeploymentEnvironmentConfigurationDetails( this.serverPort = serverPort; this.healthCheckPort = healthCheckPort; this.environmentVariables = environmentVariables; + this.predictApiSpecification = predictApiSpecification; + this.customHttpEndpoints = customHttpEndpoints; } /** @@ -447,6 +500,42 @@ public java.util.Map getEnvironmentVariables() { return environmentVariables; } + /** + * The chosen specification from predefined set of endpoints a user can access. For example, if + * the value is 'openai', the user can access OpenAI-compliant endpoints like /v1/completions, + * /v1/chat/completions, /v1/models, etc., for inference. + */ + @com.fasterxml.jackson.annotation.JsonProperty("predictApiSpecification") + private final String predictApiSpecification; + + /** + * The chosen specification from predefined set of endpoints a user can access. For example, if + * the value is 'openai', the user can access OpenAI-compliant endpoints like /v1/completions, + * /v1/chat/completions, /v1/models, etc., for inference. + * + * @return the value + */ + public String getPredictApiSpecification() { + return predictApiSpecification; + } + + /** + * List of custom inference HTTP endpoints configured on the model deployment instance for + * inferencing. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customHttpEndpoints") + private final java.util.List customHttpEndpoints; + + /** + * List of custom inference HTTP endpoints configured on the model deployment instance for + * inferencing. + * + * @return the value + */ + public java.util.List getCustomHttpEndpoints() { + return customHttpEndpoints; + } + @Override public String toString() { return this.toString(true); @@ -470,6 +559,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", serverPort=").append(String.valueOf(this.serverPort)); sb.append(", healthCheckPort=").append(String.valueOf(this.healthCheckPort)); sb.append(", environmentVariables=").append(String.valueOf(this.environmentVariables)); + sb.append(", predictApiSpecification=") + .append(String.valueOf(this.predictApiSpecification)); + sb.append(", customHttpEndpoints=").append(String.valueOf(this.customHttpEndpoints)); sb.append(")"); return sb.toString(); } @@ -493,6 +585,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.serverPort, other.serverPort) && java.util.Objects.equals(this.healthCheckPort, other.healthCheckPort) && java.util.Objects.equals(this.environmentVariables, other.environmentVariables) + && java.util.Objects.equals( + this.predictApiSpecification, other.predictApiSpecification) + && java.util.Objects.equals(this.customHttpEndpoints, other.customHttpEndpoints) && super.equals(other); } @@ -516,6 +611,16 @@ public int hashCode() { + (this.environmentVariables == null ? 43 : this.environmentVariables.hashCode()); + result = + (result * PRIME) + + (this.predictApiSpecification == null + ? 43 + : this.predictApiSpecification.hashCode()); + result = + (result * PRIME) + + (this.customHttpEndpoints == null + ? 43 + : this.customHttpEndpoints.hashCode()); return result; } } diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateSingleModelConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateSingleModelConfigurationDetails.java new file mode 100644 index 00000000000..57c9357bc40 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateSingleModelConfigurationDetails.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.datascience.model; + +/** + * The single model configuration details for updating a model deployment.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateSingleModelConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateSingleModelConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"modelId"}) + public UpdateSingleModelConfigurationDetails(String modelId) { + super(); + this.modelId = modelId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * model. + */ + @com.fasterxml.jackson.annotation.JsonProperty("modelId") + private String modelId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + * model. + * + * @param modelId the value to set + * @return this builder + */ + public Builder modelId(String modelId) { + this.modelId = modelId; + this.__explicitlySet__.add("modelId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateSingleModelConfigurationDetails build() { + UpdateSingleModelConfigurationDetails model = + new UpdateSingleModelConfigurationDetails(this.modelId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateSingleModelConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("modelId")) { + this.modelId(model.getModelId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a model. + */ + @com.fasterxml.jackson.annotation.JsonProperty("modelId") + private final String modelId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a model. + * + * @return the value + */ + public String getModelId() { + return modelId; + } + + @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("UpdateSingleModelConfigurationDetails("); + sb.append("super=").append(super.toString()); + sb.append("modelId=").append(String.valueOf(this.modelId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateSingleModelConfigurationDetails)) { + return false; + } + + UpdateSingleModelConfigurationDetails other = (UpdateSingleModelConfigurationDetails) o; + return java.util.Objects.equals(this.modelId, other.modelId) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.modelId == null ? 43 : this.modelId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateSingleModelDeploymentFlexConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateSingleModelDeploymentFlexConfigurationDetails.java new file mode 100644 index 00000000000..6c55dd2b7d8 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdateSingleModelDeploymentFlexConfigurationDetails.java @@ -0,0 +1,209 @@ +/** + * 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; + +/** + * The single model deployment flex configuration details for updating a model deployment.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateSingleModelDeploymentFlexConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "deploymentType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateSingleModelDeploymentFlexConfigurationDetails + extends UpdateModelDeploymentConfigurationDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("modelConfigurationDetails") + private UpdateSingleModelConfigurationDetails modelConfigurationDetails; + + public Builder modelConfigurationDetails( + UpdateSingleModelConfigurationDetails modelConfigurationDetails) { + this.modelConfigurationDetails = modelConfigurationDetails; + this.__explicitlySet__.add("modelConfigurationDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("infrastructureConfigurationDetails") + private UpdateModelDeployInfrastructureConfigurationDetails + infrastructureConfigurationDetails; + + public Builder infrastructureConfigurationDetails( + UpdateModelDeployInfrastructureConfigurationDetails + infrastructureConfigurationDetails) { + this.infrastructureConfigurationDetails = infrastructureConfigurationDetails; + this.__explicitlySet__.add("infrastructureConfigurationDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("environmentConfigurationDetails") + private UpdateModelDeploymentEnvironmentConfigurationDetails + environmentConfigurationDetails; + + public Builder environmentConfigurationDetails( + UpdateModelDeploymentEnvironmentConfigurationDetails + environmentConfigurationDetails) { + this.environmentConfigurationDetails = environmentConfigurationDetails; + this.__explicitlySet__.add("environmentConfigurationDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateSingleModelDeploymentFlexConfigurationDetails build() { + UpdateSingleModelDeploymentFlexConfigurationDetails model = + new UpdateSingleModelDeploymentFlexConfigurationDetails( + this.modelConfigurationDetails, + this.infrastructureConfigurationDetails, + this.environmentConfigurationDetails); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateSingleModelDeploymentFlexConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("modelConfigurationDetails")) { + this.modelConfigurationDetails(model.getModelConfigurationDetails()); + } + if (model.wasPropertyExplicitlySet("infrastructureConfigurationDetails")) { + this.infrastructureConfigurationDetails( + model.getInfrastructureConfigurationDetails()); + } + if (model.wasPropertyExplicitlySet("environmentConfigurationDetails")) { + this.environmentConfigurationDetails(model.getEnvironmentConfigurationDetails()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public UpdateSingleModelDeploymentFlexConfigurationDetails( + UpdateSingleModelConfigurationDetails modelConfigurationDetails, + UpdateModelDeployInfrastructureConfigurationDetails infrastructureConfigurationDetails, + UpdateModelDeploymentEnvironmentConfigurationDetails environmentConfigurationDetails) { + super(); + this.modelConfigurationDetails = modelConfigurationDetails; + this.infrastructureConfigurationDetails = infrastructureConfigurationDetails; + this.environmentConfigurationDetails = environmentConfigurationDetails; + } + + @com.fasterxml.jackson.annotation.JsonProperty("modelConfigurationDetails") + private final UpdateSingleModelConfigurationDetails modelConfigurationDetails; + + public UpdateSingleModelConfigurationDetails getModelConfigurationDetails() { + return modelConfigurationDetails; + } + + @com.fasterxml.jackson.annotation.JsonProperty("infrastructureConfigurationDetails") + private final UpdateModelDeployInfrastructureConfigurationDetails + infrastructureConfigurationDetails; + + public UpdateModelDeployInfrastructureConfigurationDetails + getInfrastructureConfigurationDetails() { + return infrastructureConfigurationDetails; + } + + @com.fasterxml.jackson.annotation.JsonProperty("environmentConfigurationDetails") + private final UpdateModelDeploymentEnvironmentConfigurationDetails + environmentConfigurationDetails; + + public UpdateModelDeploymentEnvironmentConfigurationDetails + getEnvironmentConfigurationDetails() { + return environmentConfigurationDetails; + } + + @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("UpdateSingleModelDeploymentFlexConfigurationDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", modelConfigurationDetails=") + .append(String.valueOf(this.modelConfigurationDetails)); + sb.append(", infrastructureConfigurationDetails=") + .append(String.valueOf(this.infrastructureConfigurationDetails)); + sb.append(", environmentConfigurationDetails=") + .append(String.valueOf(this.environmentConfigurationDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateSingleModelDeploymentFlexConfigurationDetails)) { + return false; + } + + UpdateSingleModelDeploymentFlexConfigurationDetails other = + (UpdateSingleModelDeploymentFlexConfigurationDetails) o; + return java.util.Objects.equals( + this.modelConfigurationDetails, other.modelConfigurationDetails) + && java.util.Objects.equals( + this.infrastructureConfigurationDetails, + other.infrastructureConfigurationDetails) + && java.util.Objects.equals( + this.environmentConfigurationDetails, other.environmentConfigurationDetails) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.modelConfigurationDetails == null + ? 43 + : this.modelConfigurationDetails.hashCode()); + result = + (result * PRIME) + + (this.infrastructureConfigurationDetails == null + ? 43 + : this.infrastructureConfigurationDetails.hashCode()); + result = + (result * PRIME) + + (this.environmentConfigurationDetails == null + ? 43 + : this.environmentConfigurationDetails.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/WorkRequestOperationType.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/WorkRequestOperationType.java index 3006291b23f..ee55f8a4ced 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/WorkRequestOperationType.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/WorkRequestOperationType.java @@ -53,6 +53,9 @@ public enum WorkRequestOperationType implements com.oracle.bmc.http.internal.Bmc ScheduleDeactivate("SCHEDULE_DEACTIVATE"), RegisterModelArtifact("REGISTER_MODEL_ARTIFACT"), RestoreArchivedModel("RESTORE_ARCHIVED_MODEL"), + ComputeTargetCreate("COMPUTE_TARGET_CREATE"), + ComputeTargetUpdate("COMPUTE_TARGET_UPDATE"), + ComputeTargetDelete("COMPUTE_TARGET_DELETE"), ModelGroupCreate("MODEL_GROUP_CREATE"), ModelGroupUpdate("MODEL_GROUP_UPDATE"), ModelGroupDelete("MODEL_GROUP_DELETE"), diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ChangeComputeTargetCompartmentRequest.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ChangeComputeTargetCompartmentRequest.java new file mode 100644 index 00000000000..9e776b604ca --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ChangeComputeTargetCompartmentRequest.java @@ -0,0 +1,379 @@ +/** + * 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.requests; + +import com.oracle.bmc.datascience.model.*; +/** + * Example: Click here to see how to use + * ChangeComputeTargetCompartmentRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class ChangeComputeTargetCompartmentRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails> { + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + private String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + public String getComputeTargetId() { + return computeTargetId; + } + /** Details for changing the compartment of a compute target. */ + private com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails + changeComputeTargetCompartmentDetails; + + /** Details for changing the compartment of a compute target. */ + public com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails + getChangeComputeTargetCompartmentDetails() { + return changeComputeTargetCompartmentDetails; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the {@code etag} you provide matches the + * resource's current {@code etag} value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the {@code etag} you provide matches the + * resource's current {@code etag} value. + */ + public String getIfMatch() { + return ifMatch; + } + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request might be rejected. + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request might be rejected. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails getBody$() { + return changeComputeTargetCompartmentDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ChangeComputeTargetCompartmentRequest, + com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + private String computeTargetId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @param computeTargetId the value to set + * @return this builder instance + */ + public Builder computeTargetId(String computeTargetId) { + this.computeTargetId = computeTargetId; + return this; + } + + /** Details for changing the compartment of a compute target. */ + private com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails + changeComputeTargetCompartmentDetails = null; + + /** + * Details for changing the compartment of a compute target. + * + * @param changeComputeTargetCompartmentDetails the value to set + * @return this builder instance + */ + public Builder changeComputeTargetCompartmentDetails( + com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails + changeComputeTargetCompartmentDetails) { + this.changeComputeTargetCompartmentDetails = changeComputeTargetCompartmentDetails; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the {@code etag} you + * provide matches the resource's current {@code etag} value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the {@code etag} you + * provide matches the resource's current {@code etag} value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations. For example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request might be rejected. + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations. For example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request might be rejected. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ChangeComputeTargetCompartmentRequest o) { + computeTargetId(o.getComputeTargetId()); + changeComputeTargetCompartmentDetails(o.getChangeComputeTargetCompartmentDetails()); + ifMatch(o.getIfMatch()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ChangeComputeTargetCompartmentRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ChangeComputeTargetCompartmentRequest + */ + public ChangeComputeTargetCompartmentRequest build() { + ChangeComputeTargetCompartmentRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails body) { + changeComputeTargetCompartmentDetails(body); + return this; + } + + /** + * Build the instance of ChangeComputeTargetCompartmentRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ChangeComputeTargetCompartmentRequest + */ + public ChangeComputeTargetCompartmentRequest buildWithoutInvocationCallback() { + ChangeComputeTargetCompartmentRequest request = + new ChangeComputeTargetCompartmentRequest(); + request.computeTargetId = computeTargetId; + request.changeComputeTargetCompartmentDetails = changeComputeTargetCompartmentDetails; + request.ifMatch = ifMatch; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + return request; + // new ChangeComputeTargetCompartmentRequest(computeTargetId, + // changeComputeTargetCompartmentDetails, ifMatch, opcRequestId, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .computeTargetId(computeTargetId) + .changeComputeTargetCompartmentDetails(changeComputeTargetCompartmentDetails) + .ifMatch(ifMatch) + .opcRequestId(opcRequestId) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",computeTargetId=").append(String.valueOf(this.computeTargetId)); + sb.append(",changeComputeTargetCompartmentDetails=") + .append(String.valueOf(this.changeComputeTargetCompartmentDetails)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeComputeTargetCompartmentRequest)) { + return false; + } + + ChangeComputeTargetCompartmentRequest other = (ChangeComputeTargetCompartmentRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.computeTargetId, other.computeTargetId) + && java.util.Objects.equals( + this.changeComputeTargetCompartmentDetails, + other.changeComputeTargetCompartmentDetails) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.computeTargetId == null ? 43 : this.computeTargetId.hashCode()); + result = + (result * PRIME) + + (this.changeComputeTargetCompartmentDetails == null + ? 43 + : this.changeComputeTargetCompartmentDetails.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/CreateComputeTargetRequest.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/CreateComputeTargetRequest.java new file mode 100644 index 00000000000..0aaa5ea24e4 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/CreateComputeTargetRequest.java @@ -0,0 +1,290 @@ +/** + * 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.requests; + +import com.oracle.bmc.datascience.model.*; +/** + * Example: Click here to see how to use CreateComputeTargetRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class CreateComputeTargetRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.datascience.model.CreateComputeTargetDetails> { + + /** Details for creating a new compute target. */ + private com.oracle.bmc.datascience.model.CreateComputeTargetDetails createComputeTargetDetails; + + /** Details for creating a new compute target. */ + public com.oracle.bmc.datascience.model.CreateComputeTargetDetails + getCreateComputeTargetDetails() { + return createComputeTargetDetails; + } + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request might be rejected. + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a + * resource has been deleted and purged from the system, then a retry of the original creation + * request might be rejected. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.datascience.model.CreateComputeTargetDetails getBody$() { + return createComputeTargetDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + CreateComputeTargetRequest, + com.oracle.bmc.datascience.model.CreateComputeTargetDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Details for creating a new compute target. */ + private com.oracle.bmc.datascience.model.CreateComputeTargetDetails + createComputeTargetDetails = null; + + /** + * Details for creating a new compute target. + * + * @param createComputeTargetDetails the value to set + * @return this builder instance + */ + public Builder createComputeTargetDetails( + com.oracle.bmc.datascience.model.CreateComputeTargetDetails + createComputeTargetDetails) { + this.createComputeTargetDetails = createComputeTargetDetails; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations. For example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request might be rejected. + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after + * 24 hours, but can be invalidated before then due to conflicting operations. For example, + * if a resource has been deleted and purged from the system, then a retry of the original + * creation request might be rejected. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(CreateComputeTargetRequest o) { + createComputeTargetDetails(o.getCreateComputeTargetDetails()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of CreateComputeTargetRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of CreateComputeTargetRequest + */ + public CreateComputeTargetRequest build() { + CreateComputeTargetRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.datascience.model.CreateComputeTargetDetails body) { + createComputeTargetDetails(body); + return this; + } + + /** + * Build the instance of CreateComputeTargetRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of CreateComputeTargetRequest + */ + public CreateComputeTargetRequest buildWithoutInvocationCallback() { + CreateComputeTargetRequest request = new CreateComputeTargetRequest(); + request.createComputeTargetDetails = createComputeTargetDetails; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + return request; + // new CreateComputeTargetRequest(createComputeTargetDetails, opcRequestId, + // opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .createComputeTargetDetails(createComputeTargetDetails) + .opcRequestId(opcRequestId) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",createComputeTargetDetails=") + .append(String.valueOf(this.createComputeTargetDetails)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateComputeTargetRequest)) { + return false; + } + + CreateComputeTargetRequest other = (CreateComputeTargetRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.createComputeTargetDetails, other.createComputeTargetDetails) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.createComputeTargetDetails == null + ? 43 + : this.createComputeTargetDetails.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/DeleteComputeTargetRequest.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/DeleteComputeTargetRequest.java new file mode 100644 index 00000000000..29c7d02fb78 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/DeleteComputeTargetRequest.java @@ -0,0 +1,259 @@ +/** + * 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.requests; + +import com.oracle.bmc.datascience.model.*; +/** + * Example: Click here to see how to use DeleteComputeTargetRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class DeleteComputeTargetRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + private String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + public String getComputeTargetId() { + return computeTargetId; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the {@code etag} you provide matches the + * resource's current {@code etag} value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the {@code etag} you provide matches the + * resource's current {@code etag} value. + */ + public String getIfMatch() { + return ifMatch; + } + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + DeleteComputeTargetRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + private String computeTargetId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @param computeTargetId the value to set + * @return this builder instance + */ + public Builder computeTargetId(String computeTargetId) { + this.computeTargetId = computeTargetId; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the {@code etag} you + * provide matches the resource's current {@code etag} value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the {@code etag} you + * provide matches the resource's current {@code etag} value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(DeleteComputeTargetRequest o) { + computeTargetId(o.getComputeTargetId()); + ifMatch(o.getIfMatch()); + opcRequestId(o.getOpcRequestId()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of DeleteComputeTargetRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of DeleteComputeTargetRequest + */ + public DeleteComputeTargetRequest build() { + DeleteComputeTargetRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of DeleteComputeTargetRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of DeleteComputeTargetRequest + */ + public DeleteComputeTargetRequest buildWithoutInvocationCallback() { + DeleteComputeTargetRequest request = new DeleteComputeTargetRequest(); + request.computeTargetId = computeTargetId; + request.ifMatch = ifMatch; + request.opcRequestId = opcRequestId; + return request; + // new DeleteComputeTargetRequest(computeTargetId, ifMatch, opcRequestId); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .computeTargetId(computeTargetId) + .ifMatch(ifMatch) + .opcRequestId(opcRequestId); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",computeTargetId=").append(String.valueOf(this.computeTargetId)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteComputeTargetRequest)) { + return false; + } + + DeleteComputeTargetRequest other = (DeleteComputeTargetRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.computeTargetId, other.computeTargetId) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.computeTargetId == null ? 43 : this.computeTargetId.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/GetComputeTargetRequest.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/GetComputeTargetRequest.java new file mode 100644 index 00000000000..246a4824692 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/GetComputeTargetRequest.java @@ -0,0 +1,212 @@ +/** + * 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.requests; + +import com.oracle.bmc.datascience.model.*; +/** + * Example: Click here to see how to use GetComputeTargetRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class GetComputeTargetRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + private String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + public String getComputeTargetId() { + return computeTargetId; + } + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetComputeTargetRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + private String computeTargetId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @param computeTargetId the value to set + * @return this builder instance + */ + public Builder computeTargetId(String computeTargetId) { + this.computeTargetId = computeTargetId; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetComputeTargetRequest o) { + computeTargetId(o.getComputeTargetId()); + opcRequestId(o.getOpcRequestId()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetComputeTargetRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetComputeTargetRequest + */ + public GetComputeTargetRequest build() { + GetComputeTargetRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetComputeTargetRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetComputeTargetRequest + */ + public GetComputeTargetRequest buildWithoutInvocationCallback() { + GetComputeTargetRequest request = new GetComputeTargetRequest(); + request.computeTargetId = computeTargetId; + request.opcRequestId = opcRequestId; + return request; + // new GetComputeTargetRequest(computeTargetId, opcRequestId); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder().computeTargetId(computeTargetId).opcRequestId(opcRequestId); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",computeTargetId=").append(String.valueOf(this.computeTargetId)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetComputeTargetRequest)) { + return false; + } + + GetComputeTargetRequest other = (GetComputeTargetRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.computeTargetId, other.computeTargetId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.computeTargetId == null ? 43 : this.computeTargetId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListComputeTargetShapesRequest.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListComputeTargetShapesRequest.java new file mode 100644 index 00000000000..329f38c636f --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListComputeTargetShapesRequest.java @@ -0,0 +1,318 @@ +/** + * 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.requests; + +import com.oracle.bmc.datascience.model.*; +/** + * Example: Click here to see how to use + * ListComputeTargetShapesRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class ListComputeTargetShapesRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * Filter results by the + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + */ + private String compartmentId; + + /** + * Filter results by the + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + */ + public String getCompartmentId() { + return compartmentId; + } + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. 1 is the minimum, 100 is the maximum. See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + */ + private Integer limit; + + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. 1 is the minimum, 100 is the maximum. See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + */ + public Integer getLimit() { + return limit; + } + /** + * For list pagination. The value of the {@code opc-next-page} response header from the previous + * "List" call. + * + *

See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + */ + private String page; + + /** + * For list pagination. The value of the {@code opc-next-page} response header from the previous + * "List" call. + * + *

See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + */ + public String getPage() { + return page; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListComputeTargetShapesRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * Filter results by the + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + */ + private String compartmentId = null; + + /** + * Filter results by the + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + * + * @param compartmentId the value to set + * @return this builder instance + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. 1 is the minimum, 100 is the maximum. See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + */ + private Integer limit = null; + + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. 1 is the minimum, 100 is the maximum. See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * For list pagination. The value of the {@code opc-next-page} response header from the + * previous "List" call. + * + *

See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + */ + private String page = null; + + /** + * For list pagination. The value of the {@code opc-next-page} response header from the + * previous "List" call. + * + *

See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListComputeTargetShapesRequest o) { + compartmentId(o.getCompartmentId()); + opcRequestId(o.getOpcRequestId()); + limit(o.getLimit()); + page(o.getPage()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListComputeTargetShapesRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListComputeTargetShapesRequest + */ + public ListComputeTargetShapesRequest build() { + ListComputeTargetShapesRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListComputeTargetShapesRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListComputeTargetShapesRequest + */ + public ListComputeTargetShapesRequest buildWithoutInvocationCallback() { + ListComputeTargetShapesRequest request = new ListComputeTargetShapesRequest(); + request.compartmentId = compartmentId; + request.opcRequestId = opcRequestId; + request.limit = limit; + request.page = page; + return request; + // new ListComputeTargetShapesRequest(compartmentId, opcRequestId, limit, page); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .compartmentId(compartmentId) + .opcRequestId(opcRequestId) + .limit(limit) + .page(page); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListComputeTargetShapesRequest)) { + return false; + } + + ListComputeTargetShapesRequest other = (ListComputeTargetShapesRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.limit, other.limit) + && java.util.Objects.equals(this.page, other.page); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListComputeTargetsRequest.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListComputeTargetsRequest.java new file mode 100644 index 00000000000..bf43f290ffd --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListComputeTargetsRequest.java @@ -0,0 +1,572 @@ +/** + * 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.requests; + +import com.oracle.bmc.datascience.model.*; +/** + * Example: Click here to see how to use ListComputeTargetsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class ListComputeTargetsRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * Filter results by the + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + */ + private String compartmentId; + + /** + * Filter results by the + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + */ + public String getCompartmentId() { + return compartmentId; + } + /** + * Filter results by + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an + * OCID of the correct type for the resource type. + */ + private String id; + + /** + * Filter results by + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an + * OCID of the correct type for the resource type. + */ + public String getId() { + return id; + } + /** Filter results by its user-friendly name. */ + private String displayName; + + /** Filter results by its user-friendly name. */ + public String getDisplayName() { + return displayName; + } + /** + * Filter results by the specified lifecycle state. Must be a valid state for the + * resource type. + */ + private com.oracle.bmc.datascience.model.ComputeTargetLifecycleState lifecycleState; + + /** + * Filter results by the specified lifecycle state. Must be a valid state for the + * resource type. + */ + public com.oracle.bmc.datascience.model.ComputeTargetLifecycleState getLifecycleState() { + return lifecycleState; + } + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. 1 is the minimum, 100 is the maximum. See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + */ + private Integer limit; + + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. 1 is the minimum, 100 is the maximum. See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + */ + public Integer getLimit() { + return limit; + } + /** + * For list pagination. The value of the {@code opc-next-page} response header from the previous + * "List" call. + * + *

See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + */ + private String page; + + /** + * For list pagination. The value of the {@code opc-next-page} response header from the previous + * "List" call. + * + *

See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + */ + public String getPage() { + return page; + } + /** Specifies sort order to use, either {@code ASC} (ascending) or {@code DESC} (descending). */ + private SortOrder sortOrder; + + /** Specifies sort order to use, either {@code ASC} (ascending) or {@code DESC} (descending). */ + public enum SortOrder implements com.oracle.bmc.http.internal.BmcEnum { + Asc("ASC"), + Desc("DESC"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SortOrder v : SortOrder.values()) { + map.put(v.getValue(), v); + } + } + + SortOrder(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SortOrder create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SortOrder: " + key); + } + }; + + /** Specifies sort order to use, either {@code ASC} (ascending) or {@code DESC} (descending). */ + public SortOrder getSortOrder() { + return sortOrder; + } + /** + * Specifies the field to sort by. Accepts only one field. By default, when you sort by {@code + * timeCreated}, the results are shown in descending order. When you sort by {@code + * displayName}, the results are shown in ascending order. Sort order for the {@code + * displayName} field is case sensitive. + */ + private SortBy sortBy; + + /** + * Specifies the field to sort by. Accepts only one field. By default, when you sort by {@code + * timeCreated}, the results are shown in descending order. When you sort by {@code + * displayName}, the results are shown in ascending order. Sort order for the {@code + * displayName} field is case sensitive. + */ + public enum SortBy implements com.oracle.bmc.http.internal.BmcEnum { + TimeCreated("timeCreated"), + DisplayName("displayName"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SortBy v : SortBy.values()) { + map.put(v.getValue(), v); + } + } + + SortBy(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SortBy create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SortBy: " + key); + } + }; + + /** + * Specifies the field to sort by. Accepts only one field. By default, when you sort by {@code + * timeCreated}, the results are shown in descending order. When you sort by {@code + * displayName}, the results are shown in ascending order. Sort order for the {@code + * displayName} field is case sensitive. + */ + public SortBy getSortBy() { + return sortBy; + } + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListComputeTargetsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * Filter results by the + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + */ + private String compartmentId = null; + + /** + * Filter results by the + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. + * + * @param compartmentId the value to set + * @return this builder instance + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + return this; + } + + /** + * Filter results by + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an + * OCID of the correct type for the resource type. + */ + private String id = null; + + /** + * Filter results by + * [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an + * OCID of the correct type for the resource type. + * + * @param id the value to set + * @return this builder instance + */ + public Builder id(String id) { + this.id = id; + return this; + } + + /** Filter results by its user-friendly name. */ + private String displayName = null; + + /** + * Filter results by its user-friendly name. + * + * @param displayName the value to set + * @return this builder instance + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Filter results by the specified lifecycle state. Must be a valid state for the + * resource type. + */ + private com.oracle.bmc.datascience.model.ComputeTargetLifecycleState lifecycleState = null; + + /** + * Filter results by the specified lifecycle state. Must be a valid state for the + * resource type. + * + * @param lifecycleState the value to set + * @return this builder instance + */ + public Builder lifecycleState( + com.oracle.bmc.datascience.model.ComputeTargetLifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + return this; + } + + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. 1 is the minimum, 100 is the maximum. See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + */ + private Integer limit = null; + + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated "List" call. 1 is the minimum, 100 is the maximum. See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + *

Example: {@code 50} + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * For list pagination. The value of the {@code opc-next-page} response header from the + * previous "List" call. + * + *

See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + */ + private String page = null; + + /** + * For list pagination. The value of the {@code opc-next-page} response header from the + * previous "List" call. + * + *

See [List + * Pagination](https://docs.oracle.com/iaas/Content/General/Concepts/usingapi.htm#nine). + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** + * Specifies sort order to use, either {@code ASC} (ascending) or {@code DESC} (descending). + */ + private SortOrder sortOrder = null; + + /** + * Specifies sort order to use, either {@code ASC} (ascending) or {@code DESC} (descending). + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * Specifies the field to sort by. Accepts only one field. By default, when you sort by + * {@code timeCreated}, the results are shown in descending order. When you sort by {@code + * displayName}, the results are shown in ascending order. Sort order for the {@code + * displayName} field is case sensitive. + */ + private SortBy sortBy = null; + + /** + * Specifies the field to sort by. Accepts only one field. By default, when you sort by + * {@code timeCreated}, the results are shown in descending order. When you sort by {@code + * displayName}, the results are shown in ascending order. Sort order for the {@code + * displayName} field is case sensitive. + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(SortBy sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListComputeTargetsRequest o) { + compartmentId(o.getCompartmentId()); + id(o.getId()); + displayName(o.getDisplayName()); + lifecycleState(o.getLifecycleState()); + limit(o.getLimit()); + page(o.getPage()); + sortOrder(o.getSortOrder()); + sortBy(o.getSortBy()); + opcRequestId(o.getOpcRequestId()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListComputeTargetsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListComputeTargetsRequest + */ + public ListComputeTargetsRequest build() { + ListComputeTargetsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListComputeTargetsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListComputeTargetsRequest + */ + public ListComputeTargetsRequest buildWithoutInvocationCallback() { + ListComputeTargetsRequest request = new ListComputeTargetsRequest(); + request.compartmentId = compartmentId; + request.id = id; + request.displayName = displayName; + request.lifecycleState = lifecycleState; + request.limit = limit; + request.page = page; + request.sortOrder = sortOrder; + request.sortBy = sortBy; + request.opcRequestId = opcRequestId; + return request; + // new ListComputeTargetsRequest(compartmentId, id, displayName, lifecycleState, limit, + // page, sortOrder, sortBy, opcRequestId); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .compartmentId(compartmentId) + .id(id) + .displayName(displayName) + .lifecycleState(lifecycleState) + .limit(limit) + .page(page) + .sortOrder(sortOrder) + .sortBy(sortBy) + .opcRequestId(opcRequestId); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(",id=").append(String.valueOf(this.id)); + sb.append(",displayName=").append(String.valueOf(this.displayName)); + sb.append(",lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListComputeTargetsRequest)) { + return false; + } + + ListComputeTargetsRequest other = (ListComputeTargetsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.limit, other.limit) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.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()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListWorkRequestsRequest.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListWorkRequestsRequest.java index f3c80bf53c5..955bc04ea1d 100644 --- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListWorkRequestsRequest.java +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/ListWorkRequestsRequest.java @@ -109,6 +109,9 @@ public enum OperationType implements com.oracle.bmc.http.internal.BmcEnum { ScheduleDeactivate("SCHEDULE_DEACTIVATE"), RegisterModelArtifact("REGISTER_MODEL_ARTIFACT"), RestoreArchivedModel("RESTORE_ARCHIVED_MODEL"), + ComputeTargetCreate("COMPUTE_TARGET_CREATE"), + ComputeTargetUpdate("COMPUTE_TARGET_UPDATE"), + ComputeTargetDelete("COMPUTE_TARGET_DELETE"), ModelGroupCreate("MODEL_GROUP_CREATE"), ModelGroupUpdate("MODEL_GROUP_UPDATE"), ModelGroupDelete("MODEL_GROUP_DELETE"), diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/UpdateComputeTargetRequest.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/UpdateComputeTargetRequest.java new file mode 100644 index 00000000000..03720f40720 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/requests/UpdateComputeTargetRequest.java @@ -0,0 +1,323 @@ +/** + * 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.requests; + +import com.oracle.bmc.datascience.model.*; +/** + * Example: Click here to see how to use UpdateComputeTargetRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class UpdateComputeTargetRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.datascience.model.UpdateComputeTargetDetails> { + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + private String computeTargetId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + public String getComputeTargetId() { + return computeTargetId; + } + /** Details for updating a Compute Target. */ + private com.oracle.bmc.datascience.model.UpdateComputeTargetDetails updateComputeTargetDetails; + + /** Details for updating a Compute Target. */ + public com.oracle.bmc.datascience.model.UpdateComputeTargetDetails + getUpdateComputeTargetDetails() { + return updateComputeTargetDetails; + } + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the {@code etag} you provide matches the + * resource's current {@code etag} value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the {@code etag} you provide matches the + * resource's current {@code etag} value. + */ + public String getIfMatch() { + return ifMatch; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.datascience.model.UpdateComputeTargetDetails getBody$() { + return updateComputeTargetDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + UpdateComputeTargetRequest, + com.oracle.bmc.datascience.model.UpdateComputeTargetDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + */ + private String computeTargetId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compute target. + * + * @param computeTargetId the value to set + * @return this builder instance + */ + public Builder computeTargetId(String computeTargetId) { + this.computeTargetId = computeTargetId; + return this; + } + + /** Details for updating a Compute Target. */ + private com.oracle.bmc.datascience.model.UpdateComputeTargetDetails + updateComputeTargetDetails = null; + + /** + * Details for updating a Compute Target. + * + * @param updateComputeTargetDetails the value to set + * @return this builder instance + */ + public Builder updateComputeTargetDetails( + com.oracle.bmc.datascience.model.UpdateComputeTargetDetails + updateComputeTargetDetails) { + this.updateComputeTargetDetails = updateComputeTargetDetails; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId = null; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the {@code etag} you + * provide matches the resource's current {@code etag} value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the {@code etag} you + * provide matches the resource's current {@code etag} value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(UpdateComputeTargetRequest o) { + computeTargetId(o.getComputeTargetId()); + updateComputeTargetDetails(o.getUpdateComputeTargetDetails()); + opcRequestId(o.getOpcRequestId()); + ifMatch(o.getIfMatch()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of UpdateComputeTargetRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of UpdateComputeTargetRequest + */ + public UpdateComputeTargetRequest build() { + UpdateComputeTargetRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.datascience.model.UpdateComputeTargetDetails body) { + updateComputeTargetDetails(body); + return this; + } + + /** + * Build the instance of UpdateComputeTargetRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of UpdateComputeTargetRequest + */ + public UpdateComputeTargetRequest buildWithoutInvocationCallback() { + UpdateComputeTargetRequest request = new UpdateComputeTargetRequest(); + request.computeTargetId = computeTargetId; + request.updateComputeTargetDetails = updateComputeTargetDetails; + request.opcRequestId = opcRequestId; + request.ifMatch = ifMatch; + return request; + // new UpdateComputeTargetRequest(computeTargetId, updateComputeTargetDetails, + // opcRequestId, ifMatch); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .computeTargetId(computeTargetId) + .updateComputeTargetDetails(updateComputeTargetDetails) + .opcRequestId(opcRequestId) + .ifMatch(ifMatch); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",computeTargetId=").append(String.valueOf(this.computeTargetId)); + sb.append(",updateComputeTargetDetails=") + .append(String.valueOf(this.updateComputeTargetDetails)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateComputeTargetRequest)) { + return false; + } + + UpdateComputeTargetRequest other = (UpdateComputeTargetRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.computeTargetId, other.computeTargetId) + && java.util.Objects.equals( + this.updateComputeTargetDetails, other.updateComputeTargetDetails) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.ifMatch, other.ifMatch); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.computeTargetId == null ? 43 : this.computeTargetId.hashCode()); + result = + (result * PRIME) + + (this.updateComputeTargetDetails == null + ? 43 + : this.updateComputeTargetDetails.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ChangeComputeTargetCompartmentResponse.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ChangeComputeTargetCompartmentResponse.java new file mode 100644 index 00000000000..9684c20be60 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ChangeComputeTargetCompartmentResponse.java @@ -0,0 +1,138 @@ +/** + * 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.responses; + +import com.oracle.bmc.datascience.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class ChangeComputeTargetCompartmentResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId"}) + private ChangeComputeTargetCompartmentResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ChangeComputeTargetCompartmentResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ChangeComputeTargetCompartmentResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ChangeComputeTargetCompartmentResponse build() { + return new ChangeComputeTargetCompartmentResponse( + __httpStatusCode__, headers, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeComputeTargetCompartmentResponse)) { + return false; + } + + ChangeComputeTargetCompartmentResponse other = (ChangeComputeTargetCompartmentResponse) o; + return super.equals(o) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/CreateComputeTargetResponse.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/CreateComputeTargetResponse.java new file mode 100644 index 00000000000..71889918994 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/CreateComputeTargetResponse.java @@ -0,0 +1,308 @@ +/** + * 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.responses; + +import com.oracle.bmc.datascience.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class CreateComputeTargetResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * For optimistic concurrency control. See [ETags for Optimistic Concurrency + * Control](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). + */ + private String etag; + + /** + * For optimistic concurrency control. See [ETags for Optimistic Concurrency + * Control](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The URI that identifies the entity described in the response body. */ + private String location; + + /** + * The URI that identifies the entity described in the response body. + * + * @return the value + */ + public String getLocation() { + return location; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** The returned {@code ComputeTarget} instance. */ + private com.oracle.bmc.datascience.model.ComputeTarget computeTarget; + + /** + * The returned {@code ComputeTarget} instance. + * + * @return the value + */ + public com.oracle.bmc.datascience.model.ComputeTarget getComputeTarget() { + return computeTarget; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "etag", + "location", + "opcRequestId", + "opcWorkRequestId", + "computeTarget" + }) + private CreateComputeTargetResponse( + int __httpStatusCode__, + java.util.Map> headers, + String etag, + String location, + String opcRequestId, + String opcWorkRequestId, + com.oracle.bmc.datascience.model.ComputeTarget computeTarget) { + super(__httpStatusCode__, headers); + this.etag = etag; + this.location = location; + this.opcRequestId = opcRequestId; + this.opcWorkRequestId = opcWorkRequestId; + this.computeTarget = computeTarget; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * For optimistic concurrency control. See [ETags for Optimistic Concurrency + * Control](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). + */ + private String etag; + + /** + * For optimistic concurrency control. See [ETags for Optimistic Concurrency + * Control](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The URI that identifies the entity described in the response body. */ + private String location; + + /** + * The URI that identifies the entity described in the response body. + * + * @param location the value to set + * @return this builder + */ + public Builder location(String location) { + this.location = location; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** The returned {@code ComputeTarget} instance. */ + private com.oracle.bmc.datascience.model.ComputeTarget computeTarget; + + /** + * The returned {@code ComputeTarget} instance. + * + * @param computeTarget the value to set + * @return this builder + */ + public Builder computeTarget(com.oracle.bmc.datascience.model.ComputeTarget computeTarget) { + this.computeTarget = computeTarget; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(CreateComputeTargetResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + etag(o.getEtag()); + location(o.getLocation()); + opcRequestId(o.getOpcRequestId()); + opcWorkRequestId(o.getOpcWorkRequestId()); + computeTarget(o.getComputeTarget()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public CreateComputeTargetResponse build() { + return new CreateComputeTargetResponse( + __httpStatusCode__, + headers, + etag, + location, + opcRequestId, + opcWorkRequestId, + computeTarget); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",location=").append(String.valueOf(location)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",computeTarget=").append(String.valueOf(computeTarget)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateComputeTargetResponse)) { + return false; + } + + CreateComputeTargetResponse other = (CreateComputeTargetResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.location, other.location) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.computeTarget, other.computeTarget); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.location == null ? 43 : this.location.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = + (result * PRIME) + + (this.computeTarget == null ? 43 : this.computeTarget.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/DeleteComputeTargetResponse.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/DeleteComputeTargetResponse.java new file mode 100644 index 00000000000..27be92f3b11 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/DeleteComputeTargetResponse.java @@ -0,0 +1,193 @@ +/** + * 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.responses; + +import com.oracle.bmc.datascience.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class DeleteComputeTargetResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcWorkRequestId", + "opcRequestId" + }) + private DeleteComputeTargetResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcWorkRequestId, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcWorkRequestId = opcWorkRequestId; + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(DeleteComputeTargetResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public DeleteComputeTargetResponse build() { + return new DeleteComputeTargetResponse( + __httpStatusCode__, headers, opcWorkRequestId, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteComputeTargetResponse)) { + return false; + } + + DeleteComputeTargetResponse other = (DeleteComputeTargetResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/GetComputeTargetResponse.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/GetComputeTargetResponse.java new file mode 100644 index 00000000000..4c214537273 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/GetComputeTargetResponse.java @@ -0,0 +1,218 @@ +/** + * 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.responses; + +import com.oracle.bmc.datascience.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class GetComputeTargetResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * For optimistic concurrency control. See [ETags for Optimistic Concurrency + * Control](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). + */ + private String etag; + + /** + * For optimistic concurrency control. See [ETags for Optimistic Concurrency + * Control](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned {@code ComputeTarget} instance. */ + private com.oracle.bmc.datascience.model.ComputeTarget computeTarget; + + /** + * The returned {@code ComputeTarget} instance. + * + * @return the value + */ + public com.oracle.bmc.datascience.model.ComputeTarget getComputeTarget() { + return computeTarget; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "etag", + "opcRequestId", + "computeTarget" + }) + private GetComputeTargetResponse( + int __httpStatusCode__, + java.util.Map> headers, + String etag, + String opcRequestId, + com.oracle.bmc.datascience.model.ComputeTarget computeTarget) { + super(__httpStatusCode__, headers); + this.etag = etag; + this.opcRequestId = opcRequestId; + this.computeTarget = computeTarget; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * For optimistic concurrency control. See [ETags for Optimistic Concurrency + * Control](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). + */ + private String etag; + + /** + * For optimistic concurrency control. See [ETags for Optimistic Concurrency + * Control](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned {@code ComputeTarget} instance. */ + private com.oracle.bmc.datascience.model.ComputeTarget computeTarget; + + /** + * The returned {@code ComputeTarget} instance. + * + * @param computeTarget the value to set + * @return this builder + */ + public Builder computeTarget(com.oracle.bmc.datascience.model.ComputeTarget computeTarget) { + this.computeTarget = computeTarget; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetComputeTargetResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + etag(o.getEtag()); + opcRequestId(o.getOpcRequestId()); + computeTarget(o.getComputeTarget()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetComputeTargetResponse build() { + return new GetComputeTargetResponse( + __httpStatusCode__, headers, etag, opcRequestId, computeTarget); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",computeTarget=").append(String.valueOf(computeTarget)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetComputeTargetResponse)) { + return false; + } + + GetComputeTargetResponse other = (GetComputeTargetResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.computeTarget, other.computeTarget); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.computeTarget == null ? 43 : this.computeTarget.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ListComputeTargetShapesResponse.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ListComputeTargetShapesResponse.java new file mode 100644 index 00000000000..aab069bc3ef --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ListComputeTargetShapesResponse.java @@ -0,0 +1,269 @@ +/** + * 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.responses; + +import com.oracle.bmc.datascience.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class ListComputeTargetShapesResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Retrieves the next page of results. When this header appears in the response, additional + * pages of results remain. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcNextPage; + + /** + * Retrieves the next page of results. When this header appears in the response, additional + * pages of results remain. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** + * Retrieves the previous page of results. When this header appears in the response, previous + * pages of results exist. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcPrevPage; + + /** + * Retrieves the previous page of results. When this header appears in the response, previous + * pages of results exist. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @return the value + */ + public String getOpcPrevPage() { + return opcPrevPage; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** A list of {@code com.oracle.bmc.datascience.model.ComputeTargetShapeSummary} instances. */ + private java.util.List items; + + /** + * A list of {@code com.oracle.bmc.datascience.model.ComputeTargetShapeSummary} instances. + * + * @return the value + */ + public java.util.List getItems() { + return items; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcNextPage", + "opcPrevPage", + "opcRequestId", + "items" + }) + private ListComputeTargetShapesResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcNextPage, + String opcPrevPage, + String opcRequestId, + java.util.List items) { + super(__httpStatusCode__, headers); + this.opcNextPage = opcNextPage; + this.opcPrevPage = opcPrevPage; + this.opcRequestId = opcRequestId; + this.items = items; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ListComputeTargetShapesResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Retrieves the next page of results. When this header appears in the response, additional + * pages of results remain. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcNextPage; + + /** + * Retrieves the next page of results. When this header appears in the response, additional + * pages of results remain. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** + * Retrieves the previous page of results. When this header appears in the response, + * previous pages of results exist. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcPrevPage; + + /** + * Retrieves the previous page of results. When this header appears in the response, + * previous pages of results exist. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @param opcPrevPage the value to set + * @return this builder + */ + public Builder opcPrevPage(String opcPrevPage) { + this.opcPrevPage = opcPrevPage; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A list of {@code com.oracle.bmc.datascience.model.ComputeTargetShapeSummary} instances. + */ + private java.util.List items; + + /** + * A list of {@code com.oracle.bmc.datascience.model.ComputeTargetShapeSummary} instances. + * + * @param items the value to set + * @return this builder + */ + public Builder items( + java.util.List items) { + this.items = items; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListComputeTargetShapesResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcNextPage(o.getOpcNextPage()); + opcPrevPage(o.getOpcPrevPage()); + opcRequestId(o.getOpcRequestId()); + items(o.getItems()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListComputeTargetShapesResponse build() { + return new ListComputeTargetShapesResponse( + __httpStatusCode__, headers, opcNextPage, opcPrevPage, opcRequestId, items); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",opcPrevPage=").append(String.valueOf(opcPrevPage)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",items=").append(String.valueOf(items)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListComputeTargetShapesResponse)) { + return false; + } + + ListComputeTargetShapesResponse other = (ListComputeTargetShapesResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.opcPrevPage, other.opcPrevPage) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.items, other.items); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.opcPrevPage == null ? 43 : this.opcPrevPage.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ListComputeTargetsResponse.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ListComputeTargetsResponse.java new file mode 100644 index 00000000000..17529e1d3db --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/ListComputeTargetsResponse.java @@ -0,0 +1,266 @@ +/** + * 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.responses; + +import com.oracle.bmc.datascience.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class ListComputeTargetsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Retrieves the next page of results. When this header appears in the response, additional + * pages of results remain. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcNextPage; + + /** + * Retrieves the next page of results. When this header appears in the response, additional + * pages of results remain. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** + * Retrieves the previous page of results. When this header appears in the response, previous + * pages of results exist. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcPrevPage; + + /** + * Retrieves the previous page of results. When this header appears in the response, previous + * pages of results exist. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @return the value + */ + public String getOpcPrevPage() { + return opcPrevPage; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** A list of {@code com.oracle.bmc.datascience.model.ComputeTargetSummary} instances. */ + private java.util.List items; + + /** + * A list of {@code com.oracle.bmc.datascience.model.ComputeTargetSummary} instances. + * + * @return the value + */ + public java.util.List getItems() { + return items; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcNextPage", + "opcPrevPage", + "opcRequestId", + "items" + }) + private ListComputeTargetsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcNextPage, + String opcPrevPage, + String opcRequestId, + java.util.List items) { + super(__httpStatusCode__, headers); + this.opcNextPage = opcNextPage; + this.opcPrevPage = opcPrevPage; + this.opcRequestId = opcRequestId; + this.items = items; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Retrieves the next page of results. When this header appears in the response, additional + * pages of results remain. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcNextPage; + + /** + * Retrieves the next page of results. When this header appears in the response, additional + * pages of results remain. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** + * Retrieves the previous page of results. When this header appears in the response, + * previous pages of results exist. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + */ + private String opcPrevPage; + + /** + * Retrieves the previous page of results. When this header appears in the response, + * previous pages of results exist. See [List + * Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + * @param opcPrevPage the value to set + * @return this builder + */ + public Builder opcPrevPage(String opcPrevPage) { + this.opcPrevPage = opcPrevPage; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** A list of {@code com.oracle.bmc.datascience.model.ComputeTargetSummary} instances. */ + private java.util.List items; + + /** + * A list of {@code com.oracle.bmc.datascience.model.ComputeTargetSummary} instances. + * + * @param items the value to set + * @return this builder + */ + public Builder items( + java.util.List items) { + this.items = items; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListComputeTargetsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcNextPage(o.getOpcNextPage()); + opcPrevPage(o.getOpcPrevPage()); + opcRequestId(o.getOpcRequestId()); + items(o.getItems()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListComputeTargetsResponse build() { + return new ListComputeTargetsResponse( + __httpStatusCode__, headers, opcNextPage, opcPrevPage, opcRequestId, items); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",opcPrevPage=").append(String.valueOf(opcPrevPage)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",items=").append(String.valueOf(items)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListComputeTargetsResponse)) { + return false; + } + + ListComputeTargetsResponse other = (ListComputeTargetsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.opcPrevPage, other.opcPrevPage) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.items, other.items); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.opcPrevPage == null ? 43 : this.opcPrevPage.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/UpdateComputeTargetResponse.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/UpdateComputeTargetResponse.java new file mode 100644 index 00000000000..3940b940dd9 --- /dev/null +++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/responses/UpdateComputeTargetResponse.java @@ -0,0 +1,193 @@ +/** + * 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.responses; + +import com.oracle.bmc.datascience.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101") +public class UpdateComputeTargetResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcWorkRequestId" + }) + private UpdateComputeTargetResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcWorkRequestId) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcWorkRequestId = opcWorkRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a + * particular request, then provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + */ + private String opcWorkRequestId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/API/Concepts/identifiers.htm) of the work + * request. Use + * [GetWorkRequest](https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + * with this ID to track the status of the request. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(UpdateComputeTargetResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcWorkRequestId(o.getOpcWorkRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public UpdateComputeTargetResponse build() { + return new UpdateComputeTargetResponse( + __httpStatusCode__, headers, opcRequestId, opcWorkRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateComputeTargetResponse)) { + return false; + } + + UpdateComputeTargetResponse other = (UpdateComputeTargetResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + return result; + } +} diff --git a/bmc-datascience/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datascience/reflect-config.json b/bmc-datascience/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datascience/reflect-config.json index 2b5c1975015..2c14d66a3ab 100644 --- a/bmc-datascience/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datascience/reflect-config.json +++ b/bmc-datascience/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datascience/reflect-config.json @@ -142,6 +142,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ChangeComputeTargetCompartmentDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.ChangeDataSciencePrivateEndpointCompartmentDetails", @@ -422,6 +436,86 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTarget", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTarget$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTargetLifecycleState", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTargetShapeSeries", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTargetShapeSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTargetShapeSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTargetSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTargetSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTargetSystemData", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeTargetSystemData$ComputeType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ComputeType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.ConfigurationProperty", @@ -516,56 +610,42 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.CreateDataSciencePrivateEndpointDetails", + "name": "com.oracle.bmc.datascience.model.CreateComputeTargetDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.CreateDataSciencePrivateEndpointDetails$Builder", + "name": "com.oracle.bmc.datascience.model.CreateComputeTargetDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.CreateIamAuthConfigurationCreateDetails", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.CreateIamAuthConfigurationCreateDetails$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.CreateIdcsAuthConfigurationDetails", + "name": "com.oracle.bmc.datascience.model.CreateDataSciencePrivateEndpointDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.CreateIdcsAuthConfigurationDetails$Builder", + "name": "com.oracle.bmc.datascience.model.CreateDataSciencePrivateEndpointDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.CreateIdcsCustomServiceAuthConfigurationDetails", + "name": "com.oracle.bmc.datascience.model.CreateIamAuthConfigurationCreateDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.CreateIdcsCustomServiceAuthConfigurationDetails$Builder", + "name": "com.oracle.bmc.datascience.model.CreateIamAuthConfigurationCreateDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true @@ -1212,84 +1292,76 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.IamAuthConfiguration", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "queryAllDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.IamAuthConfiguration$Builder", + "name": "com.oracle.bmc.datascience.model.HttpMethod", "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true + "allDeclaredMethods": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.IdcsAuthConfiguration", + "name": "com.oracle.bmc.datascience.model.IamAuthConfiguration", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.IdcsAuthConfiguration$Builder", + "name": "com.oracle.bmc.datascience.model.IamAuthConfiguration$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.IdcsCustomServiceAuthConfiguration", + "name": "com.oracle.bmc.datascience.model.ImplementationLogDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.IdcsCustomServiceAuthConfiguration$Builder", + "name": "com.oracle.bmc.datascience.model.ImplementationLogDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.ImplementationLogDetails", + "name": "com.oracle.bmc.datascience.model.ImplementationLogging", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.ImplementationLogDetails$Builder", + "name": "com.oracle.bmc.datascience.model.ImplementationLogging$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.ImplementationLogging", + "name": "com.oracle.bmc.datascience.model.ImportModelArtifactDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.ImplementationLogging$Builder", + "name": "com.oracle.bmc.datascience.model.ImportModelArtifactDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.ImportModelArtifactDetails", + "name": "com.oracle.bmc.datascience.model.InferenceHttpEndpoint", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.ImportModelArtifactDetails$Builder", + "name": "com.oracle.bmc.datascience.model.InferenceHttpEndpoint$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true @@ -1519,176 +1591,553 @@ }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobNodeConfigurationDetails$JobNodeType", + "name": "com.oracle.bmc.datascience.model.JobNodeConfigurationDetails$JobNodeType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobNodeGroupConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobNodeGroupConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobProbeDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobProbeDetails$JobProbeCheckType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRun", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRun$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRunLifecycleState", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRunLogDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRunLogDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRunSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRunSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRunUseCaseConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRunUseCaseConfigurationDetails$UseCaseType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRunWorkloadConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobRunWorkloadConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobShapeConfigDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobShapeConfigDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobShapeConfigDetails$CpuBaseline", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobShapeSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobShapeSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobShapeSummary$ShapeSeries", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobSummary", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.JobSummary$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.LogDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.LogDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterAutoScalingPolicy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterAutoScalingPolicy$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterAutoScalingPolicyDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterAutoScalingPolicyDetails$AutoScalingPolicyType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterComputeConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterComputeConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterCustomExpressionQueryScalingConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterCustomExpressionQueryScalingConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterCustomMetricExpressionRule", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterCustomMetricExpressionRule$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterFixedSizeScalingPolicy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterFixedSizeScalingPolicy$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterInstanceConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterInstanceConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterInstanceShapeDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterInstanceShapeDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterJobInfrastructureConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterJobInfrastructureConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterJobResourceConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterJobResourceConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterMetricExpressionRule", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterMetricExpressionRule$MetricExpressionRuleType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterModelDeployInfrastructureConfigDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterModelDeployInfrastructureConfigDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterModelDeploymentResourceConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterModelDeploymentResourceConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterModelDeploymentSystemData", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterModelDeploymentSystemData$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterPredefinedExpressionThresholdScalingConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterPredefinedMetricExpressionRule", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterPredefinedMetricExpressionRule$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterPredefinedMetricExpressionRule$MetricType", "allDeclaredFields": true, "allDeclaredMethods": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobNodeGroupConfigurationDetails", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterScalingConfiguration", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobNodeGroupConfigurationDetails$Builder", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterScalingConfiguration$ScalingConfigurationType", "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true + "allDeclaredMethods": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobProbeDetails", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterScalingPolicy", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobProbeDetails$JobProbeCheckType", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterScalingPolicy$PolicyType", "allDeclaredFields": true, "allDeclaredMethods": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRun", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterSystemData", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRun$Builder", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterSystemData$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRunLifecycleState", - "allDeclaredFields": true, - "allDeclaredMethods": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRunLogDetails", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRunLogDetails$Builder", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRunSummary", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadAutoScalingPolicy", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRunSummary$Builder", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadAutoScalingPolicy$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRunUseCaseConfigurationDetails", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadAutoScalingPolicyDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRunUseCaseConfigurationDetails$UseCaseType", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadAutoScalingPolicyDetails$AutoScalingPolicyType", "allDeclaredFields": true, "allDeclaredMethods": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRunWorkloadConfigurationDetails", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadFixedSizeScalingPolicy", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobRunWorkloadConfigurationDetails$Builder", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadFixedSizeScalingPolicy$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobShapeConfigDetails", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadMetricExpressionRule", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobShapeConfigDetails$Builder", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobShapeConfigDetails$CpuBaseline", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadMetricExpressionRule$MetricExpressionRuleType", "allDeclaredFields": true, "allDeclaredMethods": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobShapeSummary", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadScalePolicy", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobShapeSummary$Builder", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadScalePolicy$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobShapeSummary$ShapeSeries", - "allDeclaredFields": true, - "allDeclaredMethods": true - }, - { - "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobSummary", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadScalingPolicy", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.JobSummary$Builder", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadScalingPolicy$PolicyType", "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true + "allDeclaredMethods": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.LogDetails", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadThresholdBasedPolicyDetails", "allDeclaredFields": true, "allDeclaredMethods": true, "queryAllDeclaredConstructors": true }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, - "name": "com.oracle.bmc.datascience.model.LogDetails$Builder", + "name": "com.oracle.bmc.datascience.model.ManagedComputeClusterWorkloadThresholdBasedPolicyDetails$Builder", "allDeclaredFields": true, "allDeclaredMethods": true, "allDeclaredConstructors": true @@ -2109,6 +2558,19 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ModelDeployInfrastructureConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ModelDeployInfrastructureType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.ModelDeployWorkloadConfigurationDetails", @@ -3444,6 +3906,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ResourceLimitConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ResourceLimitConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ResourceRequestConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.ResourceRequestConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.RetentionOperationDetails", @@ -3647,6 +4137,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.SingleModelConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.SingleModelConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.SingleModelDeploymentConfigurationDetails", @@ -3661,6 +4165,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.SingleModelDeploymentFlexConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.SingleModelDeploymentFlexConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.StackedModelGroupDetails", @@ -3716,6 +4234,81 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetCustomExpressionQueryScalingConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetCustomExpressionQueryScalingConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetCustomMetricExpressionRule", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetCustomMetricExpressionRule$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetPredefinedExpressionThresholdScalingConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetPredefinedExpressionThresholdScalingConfiguration$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetPredefinedMetricExpressionRule", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetPredefinedMetricExpressionRule$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetPredefinedMetricExpressionRule$MetricType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetScalingConfiguration", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.TargetScalingConfiguration$TargetScalingConfigurationType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.ThresholdBasedAutoScalingPolicyDetails", @@ -3786,6 +4379,27 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateComputeConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateComputeTargetDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateComputeTargetDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.UpdateDataSciencePrivateEndpointDetails", @@ -3863,6 +4477,48 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateManagedComputeClusterConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateManagedComputeClusterConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateManagedComputeClusterInstanceConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateManagedComputeClusterInstanceConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.UpdateMlApplicationDetails", @@ -3947,6 +4603,13 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateModelDeployInfrastructureConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.UpdateModelDeploymentConfigurationDetails", @@ -4163,6 +4826,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateSingleModelConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateSingleModelConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.UpdateSingleModelDeploymentConfigurationDetails", @@ -4177,6 +4854,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateSingleModelDeploymentFlexConfigurationDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.datascience.model.UpdateSingleModelDeploymentFlexConfigurationDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.datascience.model.WorkRequest", diff --git a/bmc-dblm/pom.xml b/bmc-dblm/pom.xml index ee458b338e8..1776a4548c7 100644 --- a/bmc-dblm/pom.xml +++ b/bmc-dblm/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-dblm @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-dbmulticloud/pom.xml b/bmc-dbmulticloud/pom.xml index 598d3e4d724..0effe265535 100644 --- a/bmc-dbmulticloud/pom.xml +++ b/bmc-dbmulticloud/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-dbmulticloud @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-delegateaccesscontrol/pom.xml b/bmc-delegateaccesscontrol/pom.xml index 0a47ec71b89..02a01a1aaa8 100644 --- a/bmc-delegateaccesscontrol/pom.xml +++ b/bmc-delegateaccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-delegateaccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-demandsignal/pom.xml b/bmc-demandsignal/pom.xml index e99f948cec0..e66761fbe84 100644 --- a/bmc-demandsignal/pom.xml +++ b/bmc-demandsignal/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-demandsignal @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-desktops/pom.xml b/bmc-desktops/pom.xml index 0ad6e89f136..c31ed906c9f 100644 --- a/bmc-desktops/pom.xml +++ b/bmc-desktops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-desktops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-devops/pom.xml b/bmc-devops/pom.xml index 97ceb17406c..444d7829725 100644 --- a/bmc-devops/pom.xml +++ b/bmc-devops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-devops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-dif/pom.xml b/bmc-dif/pom.xml index 0d2bf385a54..9f673985454 100644 --- a/bmc-dif/pom.xml +++ b/bmc-dif/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-dif @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-disasterrecovery/pom.xml b/bmc-disasterrecovery/pom.xml index ee2f9513a43..7b419619eef 100644 --- a/bmc-disasterrecovery/pom.xml +++ b/bmc-disasterrecovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-disasterrecovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-distributeddatabase/pom.xml b/bmc-distributeddatabase/pom.xml index 4944499ffaa..d39536535de 100644 --- a/bmc-distributeddatabase/pom.xml +++ b/bmc-distributeddatabase/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-distributeddatabase @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml index 2979c76412b..8d5d3576f57 100644 --- a/bmc-dns/pom.xml +++ b/bmc-dns/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.87.0 + 3.88.0 diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml index e4729aced3f..0a92001a5bb 100644 --- a/bmc-email/pom.xml +++ b/bmc-email/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 diff --git a/bmc-emaildataplane/pom.xml b/bmc-emaildataplane/pom.xml index 5d466b3fac5..9f30a712ebc 100644 --- a/bmc-emaildataplane/pom.xml +++ b/bmc-emaildataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-emaildataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-emwarehouse/pom.xml b/bmc-emwarehouse/pom.xml index a20a2f0a5c9..adad28e3d6b 100644 --- a/bmc-emwarehouse/pom.xml +++ b/bmc-emwarehouse/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-emwarehouse @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml index 378b630639b..ce4e4208dff 100644 --- a/bmc-encryption/pom.xml +++ b/bmc-encryption/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,17 +18,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.87.0 + 3.88.0 com.fasterxml.jackson.core @@ -48,7 +48,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.87.0 + 3.88.0 test diff --git a/bmc-enforcer-rules/pom.xml b/bmc-enforcer-rules/pom.xml index 26c673f0a8c..3614aa66c26 100644 --- a/bmc-enforcer-rules/pom.xml +++ b/bmc-enforcer-rules/pom.xml @@ -6,7 +6,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 oci-java-sdk-enforcer-rules diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml index 49d3478b46f..434ce8eabb8 100644 --- a/bmc-events/pom.xml +++ b/bmc-events/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-events @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml index faac98feaff..8aabcd1e02c 100644 --- a/bmc-examples/pom.xml +++ b/bmc-examples/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-examples @@ -71,14 +71,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.87.0 + 3.88.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.87.0 + 3.88.0 pom import diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml index c02b17832bb..bdcaa37052c 100644 --- a/bmc-filestorage/pom.xml +++ b/bmc-filestorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 diff --git a/bmc-fleetappsmanagement/pom.xml b/bmc-fleetappsmanagement/pom.xml index 358ec2d0a61..045665ae803 100644 --- a/bmc-fleetappsmanagement/pom.xml +++ b/bmc-fleetappsmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-fleetappsmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-fleetsoftwareupdate/pom.xml b/bmc-fleetsoftwareupdate/pom.xml index d920aff928e..e172e666f85 100644 --- a/bmc-fleetsoftwareupdate/pom.xml +++ b/bmc-fleetsoftwareupdate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-fleetsoftwareupdate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-full/pom.xml b/bmc-full/pom.xml index 4bb964b750f..1967e38ec66 100644 --- a/bmc-full/pom.xml +++ b/bmc-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-full @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.87.0 + 3.88.0 pom import diff --git a/bmc-functions/pom.xml b/bmc-functions/pom.xml index ebe5ce592da..460e5fe26c0 100644 --- a/bmc-functions/pom.xml +++ b/bmc-functions/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-functions @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-fusionapps/pom.xml b/bmc-fusionapps/pom.xml index 3a05bb67a8a..f6c02a9b821 100644 --- a/bmc-fusionapps/pom.xml +++ b/bmc-fusionapps/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-fusionapps @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-gdp/pom.xml b/bmc-gdp/pom.xml index a8a63584401..115951d76c1 100644 --- a/bmc-gdp/pom.xml +++ b/bmc-gdp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-gdp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-generativeai/pom.xml b/bmc-generativeai/pom.xml index e585b06e1de..90b3c5d990b 100644 --- a/bmc-generativeai/pom.xml +++ b/bmc-generativeai/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-generativeai @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-generativeaiagent/pom.xml b/bmc-generativeaiagent/pom.xml index b5f05ef116b..859864aa39c 100644 --- a/bmc-generativeaiagent/pom.xml +++ b/bmc-generativeaiagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-generativeaiagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-generativeaiagentruntime/pom.xml b/bmc-generativeaiagentruntime/pom.xml index 3e6c88daaee..86c20604aea 100644 --- a/bmc-generativeaiagentruntime/pom.xml +++ b/bmc-generativeaiagentruntime/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-generativeaiagentruntime @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-generativeaidata/pom.xml b/bmc-generativeaidata/pom.xml index 09c2a5ebc57..1cbad17fe6b 100644 --- a/bmc-generativeaidata/pom.xml +++ b/bmc-generativeaidata/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-generativeaidata @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-generativeaiinference/pom.xml b/bmc-generativeaiinference/pom.xml index 08773fbc689..5603a65309b 100644 --- a/bmc-generativeaiinference/pom.xml +++ b/bmc-generativeaiinference/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-generativeaiinference @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-genericartifactscontent/pom.xml b/bmc-genericartifactscontent/pom.xml index 5debdeedd3f..c79690ea6cc 100644 --- a/bmc-genericartifactscontent/pom.xml +++ b/bmc-genericartifactscontent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-genericartifactscontent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-goldengate/pom.xml b/bmc-goldengate/pom.xml index dea75ebc1e9..4c2649a0fb2 100644 --- a/bmc-goldengate/pom.xml +++ b/bmc-goldengate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-goldengate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java index 6067b13842c..1142be08728 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java @@ -315,6 +315,21 @@ ChangeDeploymentSubscriptionResponse changeDeploymentSubscription( ChangePipelineCompartmentResponse changePipelineCompartment( ChangePipelineCompartmentRequest request); + /** + * Clones the pipeline. + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ClonePipeline API. + */ + ClonePipelineResponse clonePipeline(ClonePipelineRequest request); + /** * Collects the diagnostic of a Deployment. When provided, If-Match is checked against ETag * values of the resource. @@ -626,6 +641,23 @@ DeleteDatabaseRegistrationResponse deleteDatabaseRegistration( */ ExportDeploymentWalletResponse exportDeploymentWallet(ExportDeploymentWalletRequest request); + /** + * Generates disaster recovery precheck report for standby peer. + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * GenerateDisasterRecoveryPrecheckReport API. + */ + GenerateDisasterRecoveryPrecheckReportResponse generateDisasterRecoveryPrecheckReport( + GenerateDisasterRecoveryPrecheckReportRequest request); + /** * Generates a Pre-Authenticated Request Object URL to a DB2 for z/OS library that needs to be * uploaded to your DB2 for z/OS server in order to establish GoldenGate connections to it. For @@ -753,6 +785,24 @@ DeleteDatabaseRegistrationResponse deleteDatabaseRegistration( */ GetDeploymentUpgradeResponse getDeploymentUpgrade(GetDeploymentUpgradeRequest request); + /** + * Returns DR precheck report for a standby peer with the specified placement + * (availabilityDomain and faultDomain). + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * GetDisasterRecoveryPrecheckReport API. + */ + GetDisasterRecoveryPrecheckReportResponse getDisasterRecoveryPrecheckReport( + GetDisasterRecoveryPrecheckReportRequest request); + /** * Retrieves a Pipeline details. * diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java index 76b4f89ac04..874e4358924 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java @@ -310,6 +310,21 @@ java.util.concurrent.Future changePipelineCom ChangePipelineCompartmentRequest, ChangePipelineCompartmentResponse> handler); + /** + * Clones the pipeline. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future clonePipeline( + ClonePipelineRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + /** * Collects the diagnostic of a Deployment. When provided, If-Match is checked against ETag * values of the resource. @@ -611,6 +626,24 @@ java.util.concurrent.Future exportDeploymentWall ExportDeploymentWalletRequest, ExportDeploymentWalletResponse> handler); + /** + * Generates disaster recovery precheck report for standby peer. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future + generateDisasterRecoveryPrecheckReport( + GenerateDisasterRecoveryPrecheckReportRequest request, + com.oracle.bmc.responses.AsyncHandler< + GenerateDisasterRecoveryPrecheckReportRequest, + GenerateDisasterRecoveryPrecheckReportResponse> + handler); + /** * Generates a Pre-Authenticated Request Object URL to a DB2 for z/OS library that needs to be * uploaded to your DB2 for z/OS server in order to establish GoldenGate connections to it. For @@ -738,6 +771,25 @@ java.util.concurrent.Future getDeploymentUpgrade( GetDeploymentUpgradeRequest, GetDeploymentUpgradeResponse> handler); + /** + * Returns DR precheck report for a standby peer with the specified placement + * (availabilityDomain and faultDomain). + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future + getDisasterRecoveryPrecheckReport( + GetDisasterRecoveryPrecheckReportRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetDisasterRecoveryPrecheckReportRequest, + GetDisasterRecoveryPrecheckReportResponse> + handler); + /** * Retrieves a Pipeline details. * diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsyncClient.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsyncClient.java index c7e64b37f57..be245db5d68 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsyncClient.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsyncClient.java @@ -646,6 +646,43 @@ public java.util.concurrent.Future changePipe .callAsync(handler); } + @Override + public java.util.concurrent.Future clonePipeline( + ClonePipelineRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + Objects.requireNonNull( + request.getClonePipelineDetails(), "clonePipelineDetails is required"); + + return clientCall(request, ClonePipelineResponse::builder) + .logger(LOG, "clonePipeline") + .serviceDetails( + "GoldenGate", + "ClonePipeline", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Pipeline/ClonePipeline") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ClonePipelineRequest::builder) + .basePath("/20200407") + .appendPathParam("pipelines") + .appendPathParam("actions") + .appendPathParam("clone") + .appendQueryParam("isLockOverride", request.getIsLockOverride()) + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.goldengate.model.Pipeline.class, + ClonePipelineResponse.Builder::pipeline) + .handleResponseHeaderString( + "opc-work-request-id", ClonePipelineResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", ClonePipelineResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", ClonePipelineResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future collectDeploymentDiagnostic( @@ -1329,6 +1366,47 @@ public java.util.concurrent.Future exportDeploym .callAsync(handler); } + @Override + public java.util.concurrent.Future + generateDisasterRecoveryPrecheckReport( + GenerateDisasterRecoveryPrecheckReportRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GenerateDisasterRecoveryPrecheckReportRequest, + GenerateDisasterRecoveryPrecheckReportResponse> + handler) { + + Validate.notBlank(request.getDeploymentId(), "deploymentId must not be blank"); + Objects.requireNonNull( + request.getGenerateDisasterRecoveryPrecheckReportDetails(), + "generateDisasterRecoveryPrecheckReportDetails is required"); + + return clientCall(request, GenerateDisasterRecoveryPrecheckReportResponse::builder) + .logger(LOG, "generateDisasterRecoveryPrecheckReport") + .serviceDetails( + "GoldenGate", + "GenerateDisasterRecoveryPrecheckReport", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/GenerateDisasterRecoveryPrecheckReport") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(GenerateDisasterRecoveryPrecheckReportRequest::builder) + .basePath("/20200407") + .appendPathParam("deployments") + .appendPathParam(request.getDeploymentId()) + .appendPathParam("actions") + .appendPathParam("generateDisasterRecoveryPrecheckReport") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + GenerateDisasterRecoveryPrecheckReportResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + GenerateDisasterRecoveryPrecheckReportResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future generateLibraryUrl( GenerateLibraryUrlRequest request, @@ -1592,6 +1670,46 @@ public java.util.concurrent.Future getDeploymentUp .callAsync(handler); } + @Override + public java.util.concurrent.Future + getDisasterRecoveryPrecheckReport( + GetDisasterRecoveryPrecheckReportRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetDisasterRecoveryPrecheckReportRequest, + GetDisasterRecoveryPrecheckReportResponse> + handler) { + + Validate.notBlank(request.getDeploymentId(), "deploymentId must not be blank"); + Objects.requireNonNull(request.getAvailabilityDomain(), "availabilityDomain is required"); + + Objects.requireNonNull(request.getFaultDomain(), "faultDomain is required"); + + return clientCall(request, GetDisasterRecoveryPrecheckReportResponse::builder) + .logger(LOG, "getDisasterRecoveryPrecheckReport") + .serviceDetails( + "GoldenGate", + "GetDisasterRecoveryPrecheckReport", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/GetDisasterRecoveryPrecheckReport") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetDisasterRecoveryPrecheckReportRequest::builder) + .basePath("/20200407") + .appendPathParam("deployments") + .appendPathParam(request.getDeploymentId()) + .appendPathParam("disasterRecoveryPrecheckReport") + .appendQueryParam("availabilityDomain", request.getAvailabilityDomain()) + .appendQueryParam("faultDomain", request.getFaultDomain()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBody( + com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckReport.class, + GetDisasterRecoveryPrecheckReportResponse.Builder + ::disasterRecoveryPrecheckReport) + .handleResponseHeaderString( + "opc-request-id", + GetDisasterRecoveryPrecheckReportResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getPipeline( GetPipelineRequest request, diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateClient.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateClient.java index 68ab8da614f..8d66fef8689 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateClient.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateClient.java @@ -630,6 +630,41 @@ public ChangePipelineCompartmentResponse changePipelineCompartment( .callSync(); } + @Override + public ClonePipelineResponse clonePipeline(ClonePipelineRequest request) { + Objects.requireNonNull( + request.getClonePipelineDetails(), "clonePipelineDetails is required"); + + return clientCall(request, ClonePipelineResponse::builder) + .logger(LOG, "clonePipeline") + .serviceDetails( + "GoldenGate", + "ClonePipeline", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Pipeline/ClonePipeline") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(ClonePipelineRequest::builder) + .basePath("/20200407") + .appendPathParam("pipelines") + .appendPathParam("actions") + .appendPathParam("clone") + .appendQueryParam("isLockOverride", request.getIsLockOverride()) + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .operationUsesDefaultRetries() + .hasBody() + .handleBody( + com.oracle.bmc.goldengate.model.Pipeline.class, + ClonePipelineResponse.Builder::pipeline) + .handleResponseHeaderString( + "opc-work-request-id", ClonePipelineResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", ClonePipelineResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", ClonePipelineResponse.Builder::etag) + .callSync(); + } + @Override public CollectDeploymentDiagnosticResponse collectDeploymentDiagnostic( CollectDeploymentDiagnosticRequest request) { @@ -1256,6 +1291,43 @@ public ExportDeploymentWalletResponse exportDeploymentWallet( .callSync(); } + @Override + public GenerateDisasterRecoveryPrecheckReportResponse generateDisasterRecoveryPrecheckReport( + GenerateDisasterRecoveryPrecheckReportRequest request) { + + Validate.notBlank(request.getDeploymentId(), "deploymentId must not be blank"); + Objects.requireNonNull( + request.getGenerateDisasterRecoveryPrecheckReportDetails(), + "generateDisasterRecoveryPrecheckReportDetails is required"); + + return clientCall(request, GenerateDisasterRecoveryPrecheckReportResponse::builder) + .logger(LOG, "generateDisasterRecoveryPrecheckReport") + .serviceDetails( + "GoldenGate", + "GenerateDisasterRecoveryPrecheckReport", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/GenerateDisasterRecoveryPrecheckReport") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(GenerateDisasterRecoveryPrecheckReportRequest::builder) + .basePath("/20200407") + .appendPathParam("deployments") + .appendPathParam(request.getDeploymentId()) + .appendPathParam("actions") + .appendPathParam("generateDisasterRecoveryPrecheckReport") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .operationUsesDefaultRetries() + .hasBody() + .handleResponseHeaderString( + "opc-work-request-id", + GenerateDisasterRecoveryPrecheckReportResponse.Builder::opcWorkRequestId) + .handleResponseHeaderString( + "opc-request-id", + GenerateDisasterRecoveryPrecheckReportResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GenerateLibraryUrlResponse generateLibraryUrl(GenerateLibraryUrlRequest request) { @@ -1499,6 +1571,42 @@ public GetDeploymentUpgradeResponse getDeploymentUpgrade(GetDeploymentUpgradeReq .callSync(); } + @Override + public GetDisasterRecoveryPrecheckReportResponse getDisasterRecoveryPrecheckReport( + GetDisasterRecoveryPrecheckReportRequest request) { + + Validate.notBlank(request.getDeploymentId(), "deploymentId must not be blank"); + Objects.requireNonNull(request.getAvailabilityDomain(), "availabilityDomain is required"); + + Objects.requireNonNull(request.getFaultDomain(), "faultDomain is required"); + + return clientCall(request, GetDisasterRecoveryPrecheckReportResponse::builder) + .logger(LOG, "getDisasterRecoveryPrecheckReport") + .serviceDetails( + "GoldenGate", + "GetDisasterRecoveryPrecheckReport", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/GetDisasterRecoveryPrecheckReport") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetDisasterRecoveryPrecheckReportRequest::builder) + .basePath("/20200407") + .appendPathParam("deployments") + .appendPathParam(request.getDeploymentId()) + .appendPathParam("disasterRecoveryPrecheckReport") + .appendQueryParam("availabilityDomain", request.getAvailabilityDomain()) + .appendQueryParam("faultDomain", request.getFaultDomain()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleBody( + com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckReport.class, + GetDisasterRecoveryPrecheckReportResponse.Builder + ::disasterRecoveryPrecheckReport) + .handleResponseHeaderString( + "opc-request-id", + GetDisasterRecoveryPrecheckReportResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetPipelineResponse getPipeline(GetPipelineRequest request) { diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ClonePipelineDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ClonePipelineDetails.java new file mode 100644 index 00000000000..c0f5a4b19d9 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ClonePipelineDetails.java @@ -0,0 +1,250 @@ +/** + * 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.goldengate.model; + +/** + * Details for a pipeline clone.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type", + defaultImpl = ClonePipelineDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = DefaultClonePipelineDetails.class, + name = "DEFAULT") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class ClonePipelineDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "displayName", + "sourcePipelineId", + "compartmentId", + "description", + "freeformTags", + "definedTags", + "systemTags" + }) + protected ClonePipelineDetails( + String displayName, + String sourcePipelineId, + String compartmentId, + String description, + java.util.Map freeformTags, + java.util.Map> definedTags, + java.util.Map> systemTags) { + super(); + this.displayName = displayName; + this.sourcePipelineId = sourcePipelineId; + this.compartmentId = compartmentId; + this.description = description; + this.freeformTags = freeformTags; + this.definedTags = definedTags; + this.systemTags = systemTags; + } + + /** An object's Display Name. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * An object's Display Name. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * pipeline. This option applies when retrieving a pipeline. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePipelineId") + private final String sourcePipelineId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * pipeline. This option applies when retrieving a pipeline. + * + * @return the value + */ + public String getSourcePipelineId() { + return sourcePipelineId; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment being referenced. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment being referenced. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** Metadata about this specific object. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * Metadata about this specific object. + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * A simple key-value pair that is applied without any predefined name, type, or scope. Exists + * for cross-compatibility only. + * + *

Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * A simple key-value pair that is applied without any predefined name, type, or scope. Exists + * for cross-compatibility only. + * + *

Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * Tags defined for this resource. Each key is predefined and scoped to a namespace. + * + *

Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Tags defined for this resource. Each key is predefined and scoped to a namespace. + * + *

Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle + * Cloud Infrastructure services. 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 {orcl-cloud: {free-tier-retain: true}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("systemTags") + private final java.util.Map> systemTags; + + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle + * Cloud Infrastructure services. 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 {orcl-cloud: {free-tier-retain: true}}} + * + * @return the value + */ + public java.util.Map> getSystemTags() { + return systemTags; + } + + @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("ClonePipelineDetails("); + sb.append("super=").append(super.toString()); + sb.append("displayName=").append(String.valueOf(this.displayName)); + sb.append(", sourcePipelineId=").append(String.valueOf(this.sourcePipelineId)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", description=").append(String.valueOf(this.description)); + 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(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ClonePipelineDetails)) { + return false; + } + + ClonePipelineDetails other = (ClonePipelineDetails) o; + return java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.sourcePipelineId, other.sourcePipelineId) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.systemTags, other.systemTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.sourcePipelineId == null ? 43 : this.sourcePipelineId.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.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) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ClonePipelineType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ClonePipelineType.java new file mode 100644 index 00000000000..061681b1cd5 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/ClonePipelineType.java @@ -0,0 +1,39 @@ +/** + * 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.goldengate.model; + +/** The pipeline clone type. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public enum ClonePipelineType implements com.oracle.bmc.http.internal.BmcEnum { + Default("DEFAULT"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ClonePipelineType v : ClonePipelineType.values()) { + map.put(v.getValue(), v); + } + } + + ClonePipelineType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ClonePipelineType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid ClonePipelineType: " + key); + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDeploymentDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDeploymentDetails.java index 8d85ac2a5b6..8a297fb8973 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDeploymentDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDeploymentDetails.java @@ -50,6 +50,7 @@ public final class CreateDeploymentDetails "subscriptionId", "clusterPlacementGroupId", "securityAttributes", + "disasterRecoveryStatus", "oggData", "maintenanceWindow", "maintenanceConfiguration", @@ -82,6 +83,7 @@ public CreateDeploymentDetails( String subscriptionId, String clusterPlacementGroupId, java.util.Map> securityAttributes, + DisasterRecoveryStatus disasterRecoveryStatus, CreateOggDeploymentDetails oggData, CreateMaintenanceWindowDetails maintenanceWindow, CreateMaintenanceConfigurationDetails maintenanceConfiguration, @@ -113,6 +115,7 @@ public CreateDeploymentDetails( this.subscriptionId = subscriptionId; this.clusterPlacementGroupId = clusterPlacementGroupId; this.securityAttributes = securityAttributes; + this.disasterRecoveryStatus = disasterRecoveryStatus; this.oggData = oggData; this.maintenanceWindow = maintenanceWindow; this.maintenanceConfiguration = maintenanceConfiguration; @@ -617,6 +620,27 @@ public Builder securityAttributes( this.__explicitlySet__.add("securityAttributes"); return this; } + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("disasterRecoveryStatus") + private DisasterRecoveryStatus disasterRecoveryStatus; + + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + * + * @param disasterRecoveryStatus the value to set + * @return this builder + */ + public Builder disasterRecoveryStatus(DisasterRecoveryStatus disasterRecoveryStatus) { + this.disasterRecoveryStatus = disasterRecoveryStatus; + this.__explicitlySet__.add("disasterRecoveryStatus"); + return this; + } @com.fasterxml.jackson.annotation.JsonProperty("oggData") private CreateOggDeploymentDetails oggData; @@ -687,6 +711,7 @@ public CreateDeploymentDetails build() { this.subscriptionId, this.clusterPlacementGroupId, this.securityAttributes, + this.disasterRecoveryStatus, this.oggData, this.maintenanceWindow, this.maintenanceConfiguration, @@ -777,6 +802,9 @@ public Builder copy(CreateDeploymentDetails model) { if (model.wasPropertyExplicitlySet("securityAttributes")) { this.securityAttributes(model.getSecurityAttributes()); } + if (model.wasPropertyExplicitlySet("disasterRecoveryStatus")) { + this.disasterRecoveryStatus(model.getDisasterRecoveryStatus()); + } if (model.wasPropertyExplicitlySet("oggData")) { this.oggData(model.getOggData()); } @@ -1238,6 +1266,25 @@ public java.util.Map> getSecurityAttribute return securityAttributes; } + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("disasterRecoveryStatus") + private final DisasterRecoveryStatus disasterRecoveryStatus; + + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + * + * @return the value + */ + public DisasterRecoveryStatus getDisasterRecoveryStatus() { + return disasterRecoveryStatus; + } + @com.fasterxml.jackson.annotation.JsonProperty("oggData") private final CreateOggDeploymentDetails oggData; @@ -1309,6 +1356,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", clusterPlacementGroupId=") .append(String.valueOf(this.clusterPlacementGroupId)); sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); + sb.append(", disasterRecoveryStatus=").append(String.valueOf(this.disasterRecoveryStatus)); sb.append(", oggData=").append(String.valueOf(this.oggData)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); sb.append(", maintenanceConfiguration=") @@ -1356,6 +1404,8 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.clusterPlacementGroupId, other.clusterPlacementGroupId) && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) + && java.util.Objects.equals( + this.disasterRecoveryStatus, other.disasterRecoveryStatus) && java.util.Objects.equals(this.oggData, other.oggData) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) && java.util.Objects.equals( @@ -1438,6 +1488,11 @@ public int hashCode() { + (this.securityAttributes == null ? 43 : this.securityAttributes.hashCode()); + result = + (result * PRIME) + + (this.disasterRecoveryStatus == null + ? 43 + : this.disasterRecoveryStatus.hashCode()); result = (result * PRIME) + (this.oggData == null ? 43 : this.oggData.hashCode()); result = (result * PRIME) diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOggDeploymentDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOggDeploymentDetails.java index 67552e8f7a7..eaa1ea26858 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOggDeploymentDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateOggDeploymentDetails.java @@ -32,6 +32,7 @@ public CreateOggDeploymentDetails( String adminPassword, String certificate, String key, + String keySecretId, String oggVersion, GroupToRolesMappingDetails groupToRolesMapping) { super(); @@ -43,6 +44,7 @@ public CreateOggDeploymentDetails( this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null; this.certificate = certificate; this.key = key; + this.keySecretId = keySecretId; this.oggVersion = oggVersion; this.groupToRolesMapping = groupToRolesMapping; } @@ -58,6 +60,7 @@ public CreateOggDeploymentDetails( "adminPassword", "certificate", "key", + "keySecretId", "oggVersion", "groupToRolesMapping" }) @@ -70,6 +73,7 @@ public CreateOggDeploymentDetails( char[] adminPassword, String certificate, String key, + String keySecretId, String oggVersion, GroupToRolesMappingDetails groupToRolesMapping) { super(); @@ -81,6 +85,7 @@ public CreateOggDeploymentDetails( this.adminPassword = adminPassword; this.certificate = certificate; this.key = key; + this.keySecretId = keySecretId; this.oggVersion = oggVersion; this.groupToRolesMapping = groupToRolesMapping; } @@ -88,15 +93,17 @@ public CreateOggDeploymentDetails( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The name given to the GoldenGate service deployment. The name must be 1 to 32 characters - * long, must contain only alphanumeric characters and must start with a letter. + * The name given to the GoldenGate service deployment. The name must contain only + * alphanumeric characters and must start with a letter. For standby deployment the + * deployment name is inherited from primary. */ @com.fasterxml.jackson.annotation.JsonProperty("deploymentName") private String deploymentName; /** - * The name given to the GoldenGate service deployment. The name must be 1 to 32 characters - * long, must contain only alphanumeric characters and must start with a letter. + * The name given to the GoldenGate service deployment. The name must contain only + * alphanumeric characters and must start with a letter. For standby deployment the + * deployment name is inherited from primary. * * @param deploymentName the value to set * @return this builder @@ -233,6 +240,25 @@ public Builder key(String key) { this.__explicitlySet__.add("key"); return this; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + */ + @com.fasterxml.jackson.annotation.JsonProperty("keySecretId") + private String keySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + * + * @param keySecretId the value to set + * @return this builder + */ + public Builder keySecretId(String keySecretId) { + this.keySecretId = keySecretId; + this.__explicitlySet__.add("keySecretId"); + return this; + } /** Version of OGG */ @com.fasterxml.jackson.annotation.JsonProperty("oggVersion") private String oggVersion; @@ -272,6 +298,7 @@ public CreateOggDeploymentDetails build() { this.adminPassword, this.certificate, this.key, + this.keySecretId, this.oggVersion, this.groupToRolesMapping); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -306,6 +333,9 @@ public Builder copy(CreateOggDeploymentDetails model) { if (model.wasPropertyExplicitlySet("key")) { this.key(model.getKey()); } + if (model.wasPropertyExplicitlySet("keySecretId")) { + this.keySecretId(model.getKeySecretId()); + } if (model.wasPropertyExplicitlySet("oggVersion")) { this.oggVersion(model.getOggVersion()); } @@ -326,15 +356,17 @@ public Builder toBuilder() { } /** - * The name given to the GoldenGate service deployment. The name must be 1 to 32 characters - * long, must contain only alphanumeric characters and must start with a letter. + * The name given to the GoldenGate service deployment. The name must contain only alphanumeric + * characters and must start with a letter. For standby deployment the deployment name is + * inherited from primary. */ @com.fasterxml.jackson.annotation.JsonProperty("deploymentName") private final String deploymentName; /** - * The name given to the GoldenGate service deployment. The name must be 1 to 32 characters - * long, must contain only alphanumeric characters and must start with a letter. + * The name given to the GoldenGate service deployment. The name must contain only alphanumeric + * characters and must start with a letter. For standby deployment the deployment name is + * inherited from primary. * * @return the value */ @@ -465,6 +497,23 @@ public String getKey() { return key; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + */ + @com.fasterxml.jackson.annotation.JsonProperty("keySecretId") + private final String keySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + * + * @return the value + */ + public String getKeySecretId() { + return keySecretId; + } + /** Version of OGG */ @com.fasterxml.jackson.annotation.JsonProperty("oggVersion") private final String oggVersion; @@ -508,6 +557,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", adminPassword=").append(""); sb.append(", certificate=").append(String.valueOf(this.certificate)); sb.append(", key=").append(String.valueOf(this.key)); + sb.append(", keySecretId=").append(String.valueOf(this.keySecretId)); sb.append(", oggVersion=").append(String.valueOf(this.oggVersion)); sb.append(", groupToRolesMapping=").append(String.valueOf(this.groupToRolesMapping)); sb.append(")"); @@ -532,6 +582,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.adminPassword, other.adminPassword) && java.util.Objects.equals(this.certificate, other.certificate) && java.util.Objects.equals(this.key, other.key) + && java.util.Objects.equals(this.keySecretId, other.keySecretId) && java.util.Objects.equals(this.oggVersion, other.oggVersion) && java.util.Objects.equals(this.groupToRolesMapping, other.groupToRolesMapping) && super.equals(other); @@ -561,6 +612,7 @@ public int hashCode() { + (this.adminPassword == null ? 43 : this.adminPassword.hashCode()); result = (result * PRIME) + (this.certificate == null ? 43 : this.certificate.hashCode()); result = (result * PRIME) + (this.key == null ? 43 : this.key.hashCode()); + result = (result * PRIME) + (this.keySecretId == null ? 43 : this.keySecretId.hashCode()); result = (result * PRIME) + (this.oggVersion == null ? 43 : this.oggVersion.hashCode()); result = (result * PRIME) diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreatePipelineDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreatePipelineDetails.java index 611e9ae8df3..b461fe1b2af 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreatePipelineDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreatePipelineDetails.java @@ -41,7 +41,9 @@ public class CreatePipelineDetails "locks", "sourceConnectionDetails", "targetConnectionDetails", - "subnetId" + "subnetId", + "cpuCoreCount", + "isAutoScalingEnabled" }) protected CreatePipelineDetails( String displayName, @@ -53,7 +55,9 @@ protected CreatePipelineDetails( java.util.List locks, SourcePipelineConnectionDetails sourceConnectionDetails, TargetPipelineConnectionDetails targetConnectionDetails, - String subnetId) { + String subnetId, + Integer cpuCoreCount, + Boolean isAutoScalingEnabled) { super(); this.displayName = displayName; this.description = description; @@ -65,6 +69,8 @@ protected CreatePipelineDetails( this.sourceConnectionDetails = sourceConnectionDetails; this.targetConnectionDetails = targetConnectionDetails; this.subnetId = subnetId; + this.cpuCoreCount = cpuCoreCount; + this.isAutoScalingEnabled = isAutoScalingEnabled; } /** An object's Display Name. */ @@ -207,6 +213,32 @@ public String getSubnetId() { return subnetId; } + /** The Minimum number of OCPUs to be made available for this Deployment. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") + private final Integer cpuCoreCount; + + /** + * The Minimum number of OCPUs to be made available for this Deployment. + * + * @return the value + */ + public Integer getCpuCoreCount() { + return cpuCoreCount; + } + + /** Indicates if auto scaling is enabled for the Deployment's CPU core count. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAutoScalingEnabled") + private final Boolean isAutoScalingEnabled; + + /** + * Indicates if auto scaling is enabled for the Deployment's CPU core count. + * + * @return the value + */ + public Boolean getIsAutoScalingEnabled() { + return isAutoScalingEnabled; + } + @Override public String toString() { return this.toString(true); @@ -234,6 +266,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", targetConnectionDetails=") .append(String.valueOf(this.targetConnectionDetails)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); + sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); + sb.append(", isAutoScalingEnabled=").append(String.valueOf(this.isAutoScalingEnabled)); sb.append(")"); return sb.toString(); } @@ -260,6 +294,8 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.targetConnectionDetails, other.targetConnectionDetails) && java.util.Objects.equals(this.subnetId, other.subnetId) + && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) + && java.util.Objects.equals(this.isAutoScalingEnabled, other.isAutoScalingEnabled) && super.equals(other); } @@ -287,6 +323,12 @@ public int hashCode() { ? 43 : this.targetConnectionDetails.hashCode()); result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode()); + result = (result * PRIME) + (this.cpuCoreCount == null ? 43 : this.cpuCoreCount.hashCode()); + result = + (result * PRIME) + + (this.isAutoScalingEnabled == null + ? 43 + : this.isAutoScalingEnabled.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZeroEtlPipelineDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZeroEtlPipelineDetails.java index 2c8f280b45b..081f147a187 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZeroEtlPipelineDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateZeroEtlPipelineDetails.java @@ -120,6 +120,24 @@ public Builder subnetId(String subnetId) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") + private Integer cpuCoreCount; + + public Builder cpuCoreCount(Integer cpuCoreCount) { + this.cpuCoreCount = cpuCoreCount; + this.__explicitlySet__.add("cpuCoreCount"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("isAutoScalingEnabled") + private Boolean isAutoScalingEnabled; + + public Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled) { + this.isAutoScalingEnabled = isAutoScalingEnabled; + this.__explicitlySet__.add("isAutoScalingEnabled"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("processOptions") private ProcessOptions processOptions; @@ -145,6 +163,8 @@ public CreateZeroEtlPipelineDetails build() { this.sourceConnectionDetails, this.targetConnectionDetails, this.subnetId, + this.cpuCoreCount, + this.isAutoScalingEnabled, this.processOptions); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -184,6 +204,12 @@ public Builder copy(CreateZeroEtlPipelineDetails model) { if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } + if (model.wasPropertyExplicitlySet("cpuCoreCount")) { + this.cpuCoreCount(model.getCpuCoreCount()); + } + if (model.wasPropertyExplicitlySet("isAutoScalingEnabled")) { + this.isAutoScalingEnabled(model.getIsAutoScalingEnabled()); + } if (model.wasPropertyExplicitlySet("processOptions")) { this.processOptions(model.getProcessOptions()); } @@ -212,6 +238,8 @@ public CreateZeroEtlPipelineDetails( SourcePipelineConnectionDetails sourceConnectionDetails, TargetPipelineConnectionDetails targetConnectionDetails, String subnetId, + Integer cpuCoreCount, + Boolean isAutoScalingEnabled, ProcessOptions processOptions) { super( displayName, @@ -223,7 +251,9 @@ public CreateZeroEtlPipelineDetails( locks, sourceConnectionDetails, targetConnectionDetails, - subnetId); + subnetId, + cpuCoreCount, + isAutoScalingEnabled); this.processOptions = processOptions; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DefaultClonePipelineDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DefaultClonePipelineDetails.java new file mode 100644 index 00000000000..75e4a786305 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DefaultClonePipelineDetails.java @@ -0,0 +1,206 @@ +/** + * 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.goldengate.model; + +/** + * Attribute details for a default pipeline clone.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DefaultClonePipelineDetails.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.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DefaultClonePipelineDetails extends ClonePipelineDetails { + @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("sourcePipelineId") + private String sourcePipelineId; + + public Builder sourcePipelineId(String sourcePipelineId) { + this.sourcePipelineId = sourcePipelineId; + this.__explicitlySet__.add("sourcePipelineId"); + 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("description") + private String description; + + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + 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.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DefaultClonePipelineDetails build() { + DefaultClonePipelineDetails model = + new DefaultClonePipelineDetails( + this.displayName, + this.sourcePipelineId, + this.compartmentId, + this.description, + this.freeformTags, + this.definedTags, + this.systemTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DefaultClonePipelineDetails model) { + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("sourcePipelineId")) { + this.sourcePipelineId(model.getSourcePipelineId()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("systemTags")) { + this.systemTags(model.getSystemTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public DefaultClonePipelineDetails( + String displayName, + String sourcePipelineId, + String compartmentId, + String description, + java.util.Map freeformTags, + java.util.Map> definedTags, + java.util.Map> systemTags) { + super( + displayName, + sourcePipelineId, + compartmentId, + description, + freeformTags, + definedTags, + systemTags); + } + + @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("DefaultClonePipelineDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DefaultClonePipelineDetails)) { + return false; + } + + DefaultClonePipelineDetails other = (DefaultClonePipelineDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java index 23106c698cb..ef80aa1fb89 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java @@ -78,7 +78,8 @@ public final class Deployment extends com.oracle.bmc.http.client.internal.Explic "ingressIps", "subscriptionId", "clusterPlacementGroupId", - "securityAttributes" + "securityAttributes", + "disasterRecoveryStatus" }) public Deployment( String id, @@ -136,7 +137,8 @@ public Deployment( java.util.List ingressIps, String subscriptionId, String clusterPlacementGroupId, - java.util.Map> securityAttributes) { + java.util.Map> securityAttributes, + DisasterRecoveryStatus disasterRecoveryStatus) { super(); this.id = id; this.displayName = displayName; @@ -194,6 +196,7 @@ public Deployment( this.subscriptionId = subscriptionId; this.clusterPlacementGroupId = clusterPlacementGroupId; this.securityAttributes = securityAttributes; + this.disasterRecoveryStatus = disasterRecoveryStatus; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -716,17 +719,17 @@ public Builder environmentType(EnvironmentType environmentType) { return this; } /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. * * @param category the value to set * @return this builder @@ -1199,6 +1202,27 @@ public Builder securityAttributes( this.__explicitlySet__.add("securityAttributes"); return this; } + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("disasterRecoveryStatus") + private DisasterRecoveryStatus disasterRecoveryStatus; + + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + * + * @param disasterRecoveryStatus the value to set + * @return this builder + */ + public Builder disasterRecoveryStatus(DisasterRecoveryStatus disasterRecoveryStatus) { + this.disasterRecoveryStatus = disasterRecoveryStatus; + this.__explicitlySet__.add("disasterRecoveryStatus"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -1261,7 +1285,8 @@ public Deployment build() { this.ingressIps, this.subscriptionId, this.clusterPlacementGroupId, - this.securityAttributes); + this.securityAttributes, + this.disasterRecoveryStatus); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -1439,6 +1464,9 @@ public Builder copy(Deployment model) { if (model.wasPropertyExplicitlySet("securityAttributes")) { this.securityAttributes(model.getSecurityAttributes()); } + if (model.wasPropertyExplicitlySet("disasterRecoveryStatus")) { + this.disasterRecoveryStatus(model.getDisasterRecoveryStatus()); + } return this; } } @@ -1961,17 +1989,17 @@ public EnvironmentType getEnvironmentType() { } /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private final DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. * * @return the value */ @@ -2384,6 +2412,25 @@ public java.util.Map> getSecurityAttribute return securityAttributes; } + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("disasterRecoveryStatus") + private final DisasterRecoveryStatus disasterRecoveryStatus; + + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + * + * @return the value + */ + public DisasterRecoveryStatus getDisasterRecoveryStatus() { + return disasterRecoveryStatus; + } + @Override public String toString() { return this.toString(true); @@ -2466,6 +2513,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", clusterPlacementGroupId=") .append(String.valueOf(this.clusterPlacementGroupId)); sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); + sb.append(", disasterRecoveryStatus=").append(String.valueOf(this.disasterRecoveryStatus)); sb.append(")"); return sb.toString(); } @@ -2548,6 +2596,8 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.clusterPlacementGroupId, other.clusterPlacementGroupId) && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) + && java.util.Objects.equals( + this.disasterRecoveryStatus, other.disasterRecoveryStatus) && super.equals(other); } @@ -2719,6 +2769,11 @@ public int hashCode() { + (this.securityAttributes == null ? 43 : this.securityAttributes.hashCode()); + result = + (result * PRIME) + + (this.disasterRecoveryStatus == null + ? 43 + : this.disasterRecoveryStatus.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentCategory.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentCategory.java index 17256810b70..4d1ad83933b 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentCategory.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentCategory.java @@ -14,6 +14,7 @@ public enum DeploymentCategory implements com.oracle.bmc.http.internal.BmcEnum { DataReplication("DATA_REPLICATION"), StreamAnalytics("STREAM_ANALYTICS"), DataTransforms("DATA_TRANSFORMS"), + DataVerification("DATA_VERIFICATION"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentEnvironmentSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentEnvironmentSummary.java index fda2bb86358..bf904804d45 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentEnvironmentSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentEnvironmentSummary.java @@ -81,17 +81,17 @@ public Builder environmentType(EnvironmentType environmentType) { return this; } /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. * * @param category the value to set * @return this builder @@ -305,17 +305,17 @@ public EnvironmentType getEnvironmentType() { } /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private final DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. * * @return the value */ diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentPeerSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentPeerSummary.java index f36dc6baf0d..97f7da3c75d 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentPeerSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentPeerSummary.java @@ -37,7 +37,9 @@ public final class DeploymentPeerSummary "timeLastSynced", "subscriptionId", "clusterPlacementGroupId", - "lifecycleState" + "lifecycleState", + "precheckStatus", + "timeLastPrecheckPerformed" }) public DeploymentPeerSummary( String deploymentId, @@ -53,7 +55,9 @@ public DeploymentPeerSummary( java.util.Date timeLastSynced, String subscriptionId, String clusterPlacementGroupId, - LifecycleState lifecycleState) { + LifecycleState lifecycleState, + PrecheckStatus precheckStatus, + java.util.Date timeLastPrecheckPerformed) { super(); this.deploymentId = deploymentId; this.region = region; @@ -69,6 +73,8 @@ public DeploymentPeerSummary( this.subscriptionId = subscriptionId; this.clusterPlacementGroupId = clusterPlacementGroupId; this.lifecycleState = lifecycleState; + this.precheckStatus = precheckStatus; + this.timeLastPrecheckPerformed = timeLastPrecheckPerformed; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -319,6 +325,40 @@ public Builder lifecycleState(LifecycleState lifecycleState) { this.__explicitlySet__.add("lifecycleState"); return this; } + /** Status of the DR precheck result. */ + @com.fasterxml.jackson.annotation.JsonProperty("precheckStatus") + private PrecheckStatus precheckStatus; + + /** + * Status of the DR precheck result. + * + * @param precheckStatus the value to set + * @return this builder + */ + public Builder precheckStatus(PrecheckStatus precheckStatus) { + this.precheckStatus = precheckStatus; + this.__explicitlySet__.add("precheckStatus"); + return this; + } + /** + * The timestamp when pre-check started. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeLastPrecheckPerformed") + private java.util.Date timeLastPrecheckPerformed; + + /** + * The timestamp when pre-check started. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + * + * @param timeLastPrecheckPerformed the value to set + * @return this builder + */ + public Builder timeLastPrecheckPerformed(java.util.Date timeLastPrecheckPerformed) { + this.timeLastPrecheckPerformed = timeLastPrecheckPerformed; + this.__explicitlySet__.add("timeLastPrecheckPerformed"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -339,7 +379,9 @@ public DeploymentPeerSummary build() { this.timeLastSynced, this.subscriptionId, this.clusterPlacementGroupId, - this.lifecycleState); + this.lifecycleState, + this.precheckStatus, + this.timeLastPrecheckPerformed); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -390,6 +432,12 @@ public Builder copy(DeploymentPeerSummary model) { if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } + if (model.wasPropertyExplicitlySet("precheckStatus")) { + this.precheckStatus(model.getPrecheckStatus()); + } + if (model.wasPropertyExplicitlySet("timeLastPrecheckPerformed")) { + this.timeLastPrecheckPerformed(model.getTimeLastPrecheckPerformed()); + } return this; } } @@ -615,6 +663,7 @@ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Failed("FAILED"), Updating("UPDATING"), Deleting("DELETING"), + Inactive("INACTIVE"), /** * This value is used if a service returns a value for this enum that is not recognized by @@ -670,6 +719,36 @@ public LifecycleState getLifecycleState() { return lifecycleState; } + /** Status of the DR precheck result. */ + @com.fasterxml.jackson.annotation.JsonProperty("precheckStatus") + private final PrecheckStatus precheckStatus; + + /** + * Status of the DR precheck result. + * + * @return the value + */ + public PrecheckStatus getPrecheckStatus() { + return precheckStatus; + } + + /** + * The timestamp when pre-check started. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeLastPrecheckPerformed") + private final java.util.Date timeLastPrecheckPerformed; + + /** + * The timestamp when pre-check started. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimeLastPrecheckPerformed() { + return timeLastPrecheckPerformed; + } + @Override public String toString() { return this.toString(true); @@ -700,6 +779,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", clusterPlacementGroupId=") .append(String.valueOf(this.clusterPlacementGroupId)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", precheckStatus=").append(String.valueOf(this.precheckStatus)); + sb.append(", timeLastPrecheckPerformed=") + .append(String.valueOf(this.timeLastPrecheckPerformed)); sb.append(")"); return sb.toString(); } @@ -729,6 +811,9 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.clusterPlacementGroupId, other.clusterPlacementGroupId) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.precheckStatus, other.precheckStatus) + && java.util.Objects.equals( + this.timeLastPrecheckPerformed, other.timeLastPrecheckPerformed) && super.equals(other); } @@ -766,6 +851,14 @@ public int hashCode() { result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = + (result * PRIME) + + (this.precheckStatus == null ? 43 : this.precheckStatus.hashCode()); + result = + (result * PRIME) + + (this.timeLastPrecheckPerformed == null + ? 43 + : this.timeLastPrecheckPerformed.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentSummary.java index c9c8f88ee14..608e99eda7e 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentSummary.java @@ -58,6 +58,8 @@ public final class DeploymentSummary "subscriptionId", "clusterPlacementGroupId", "securityAttributes", + "disasterRecoveryStatus", + "deploymentRole", "locks" }) public DeploymentSummary( @@ -95,6 +97,8 @@ public DeploymentSummary( String subscriptionId, String clusterPlacementGroupId, java.util.Map> securityAttributes, + DisasterRecoveryStatus disasterRecoveryStatus, + DeploymentRole deploymentRole, java.util.List locks) { super(); this.id = id; @@ -131,6 +135,8 @@ public DeploymentSummary( this.subscriptionId = subscriptionId; this.clusterPlacementGroupId = clusterPlacementGroupId; this.securityAttributes = securityAttributes; + this.disasterRecoveryStatus = disasterRecoveryStatus; + this.deploymentRole = deploymentRole; this.locks = locks; } @@ -492,17 +498,17 @@ public Builder environmentType(EnvironmentType environmentType) { return this; } /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. * * @param category the value to set * @return this builder @@ -797,6 +803,42 @@ public Builder securityAttributes( this.__explicitlySet__.add("securityAttributes"); return this; } + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("disasterRecoveryStatus") + private DisasterRecoveryStatus disasterRecoveryStatus; + + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + * + * @param disasterRecoveryStatus the value to set + * @return this builder + */ + public Builder disasterRecoveryStatus(DisasterRecoveryStatus disasterRecoveryStatus) { + this.disasterRecoveryStatus = disasterRecoveryStatus; + this.__explicitlySet__.add("disasterRecoveryStatus"); + return this; + } + /** The type of the deployment role. */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentRole") + private DeploymentRole deploymentRole; + + /** + * The type of the deployment role. + * + * @param deploymentRole the value to set + * @return this builder + */ + public Builder deploymentRole(DeploymentRole deploymentRole) { + this.deploymentRole = deploymentRole; + this.__explicitlySet__.add("deploymentRole"); + return this; + } /** Locks associated with this resource. */ @com.fasterxml.jackson.annotation.JsonProperty("locks") private java.util.List locks; @@ -853,6 +895,8 @@ public DeploymentSummary build() { this.subscriptionId, this.clusterPlacementGroupId, this.securityAttributes, + this.disasterRecoveryStatus, + this.deploymentRole, this.locks); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -965,6 +1009,12 @@ public Builder copy(DeploymentSummary model) { if (model.wasPropertyExplicitlySet("securityAttributes")) { this.securityAttributes(model.getSecurityAttributes()); } + if (model.wasPropertyExplicitlySet("disasterRecoveryStatus")) { + this.disasterRecoveryStatus(model.getDisasterRecoveryStatus()); + } + if (model.wasPropertyExplicitlySet("deploymentRole")) { + this.deploymentRole(model.getDeploymentRole()); + } if (model.wasPropertyExplicitlySet("locks")) { this.locks(model.getLocks()); } @@ -1296,17 +1346,17 @@ public EnvironmentType getEnvironmentType() { } /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private final DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. * * @return the value */ @@ -1565,6 +1615,38 @@ public java.util.Map> getSecurityAttribute return securityAttributes; } + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + */ + @com.fasterxml.jackson.annotation.JsonProperty("disasterRecoveryStatus") + private final DisasterRecoveryStatus disasterRecoveryStatus; + + /** + * Indicates if disaster recovery is enabled for a deployment. If not specified, disaster + * recovery is ENABLED when no clusterPlacementGroupId is provided, and DISABLED when a + * clusterPlacementGroupId is provided. + * + * @return the value + */ + public DisasterRecoveryStatus getDisasterRecoveryStatus() { + return disasterRecoveryStatus; + } + + /** The type of the deployment role. */ + @com.fasterxml.jackson.annotation.JsonProperty("deploymentRole") + private final DeploymentRole deploymentRole; + + /** + * The type of the deployment role. + * + * @return the value + */ + public DeploymentRole getDeploymentRole() { + return deploymentRole; + } + /** Locks associated with this resource. */ @com.fasterxml.jackson.annotation.JsonProperty("locks") private final java.util.List locks; @@ -1631,6 +1713,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", clusterPlacementGroupId=") .append(String.valueOf(this.clusterPlacementGroupId)); sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); + sb.append(", disasterRecoveryStatus=").append(String.valueOf(this.disasterRecoveryStatus)); + sb.append(", deploymentRole=").append(String.valueOf(this.deploymentRole)); sb.append(", locks=").append(String.valueOf(this.locks)); sb.append(")"); return sb.toString(); @@ -1685,6 +1769,9 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.clusterPlacementGroupId, other.clusterPlacementGroupId) && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) + && java.util.Objects.equals( + this.disasterRecoveryStatus, other.disasterRecoveryStatus) + && java.util.Objects.equals(this.deploymentRole, other.deploymentRole) && java.util.Objects.equals(this.locks, other.locks) && super.equals(other); } @@ -1783,6 +1870,14 @@ public int hashCode() { + (this.securityAttributes == null ? 43 : this.securityAttributes.hashCode()); + result = + (result * PRIME) + + (this.disasterRecoveryStatus == null + ? 43 + : this.disasterRecoveryStatus.hashCode()); + result = + (result * PRIME) + + (this.deploymentRole == null ? 43 : this.deploymentRole.hashCode()); result = (result * PRIME) + (this.locks == null ? 43 : this.locks.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentType.java index 3bb15b951b1..0e40230955f 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentType.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentType.java @@ -17,6 +17,8 @@ public enum DeploymentType implements com.oracle.bmc.http.internal.BmcEnum { DatabaseDb2I("DATABASE_DB2I"), Ggsa("GGSA"), DataTransforms("DATA_TRANSFORMS"), + VeridataServer("VERIDATA_SERVER"), + VeridataAgent("VERIDATA_AGENT"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentTypeSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentTypeSummary.java index eb47c3b712d..cee2eaf1c12 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentTypeSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentTypeSummary.java @@ -38,7 +38,8 @@ public final class DeploymentTypeSummary "oggVersion", "supportedTechnologiesUrl", "defaultUsername", - "supportedCapabilities" + "supportedCapabilities", + "supportedLicenseTypes" }) public DeploymentTypeSummary( DeploymentCategory category, @@ -50,7 +51,8 @@ public DeploymentTypeSummary( String oggVersion, String supportedTechnologiesUrl, String defaultUsername, - java.util.List supportedCapabilities) { + java.util.List supportedCapabilities, + java.util.List supportedLicenseTypes) { super(); this.category = category; this.displayName = displayName; @@ -62,22 +64,23 @@ public DeploymentTypeSummary( this.supportedTechnologiesUrl = supportedTechnologiesUrl; this.defaultUsername = defaultUsername; this.supportedCapabilities = supportedCapabilities; + this.supportedLicenseTypes = supportedLicenseTypes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. * * @param category the value to set * @return this builder @@ -245,6 +248,21 @@ public Builder supportedCapabilities( this.__explicitlySet__.add("supportedCapabilities"); return this; } + /** The list of Oracle license models supported by the deployment type. */ + @com.fasterxml.jackson.annotation.JsonProperty("supportedLicenseTypes") + private java.util.List supportedLicenseTypes; + + /** + * The list of Oracle license models supported by the deployment type. + * + * @param supportedLicenseTypes the value to set + * @return this builder + */ + public Builder supportedLicenseTypes(java.util.List supportedLicenseTypes) { + this.supportedLicenseTypes = supportedLicenseTypes; + this.__explicitlySet__.add("supportedLicenseTypes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -261,7 +279,8 @@ public DeploymentTypeSummary build() { this.oggVersion, this.supportedTechnologiesUrl, this.defaultUsername, - this.supportedCapabilities); + this.supportedCapabilities, + this.supportedLicenseTypes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -300,6 +319,9 @@ public Builder copy(DeploymentTypeSummary model) { if (model.wasPropertyExplicitlySet("supportedCapabilities")) { this.supportedCapabilities(model.getSupportedCapabilities()); } + if (model.wasPropertyExplicitlySet("supportedLicenseTypes")) { + this.supportedLicenseTypes(model.getSupportedLicenseTypes()); + } return this; } } @@ -314,17 +336,17 @@ public Builder toBuilder() { } /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. */ @com.fasterxml.jackson.annotation.JsonProperty("category") private final DeploymentCategory category; /** - * The deployment category defines the broad separation of the deployment type into three - * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS' and - * 'DATA_TRANSFORMS'. + * The deployment category defines the broad separation of the deployment type into four + * categories. Currently the separation is 'DATA_REPLICATION', 'STREAM_ANALYTICS', + * 'DATA_TRANSFORMS' and 'DATA_VERIFICATION'. * * @return the value */ @@ -467,6 +489,19 @@ public java.util.List getSupportedCapabilities() { return supportedCapabilities; } + /** The list of Oracle license models supported by the deployment type. */ + @com.fasterxml.jackson.annotation.JsonProperty("supportedLicenseTypes") + private final java.util.List supportedLicenseTypes; + + /** + * The list of Oracle license models supported by the deployment type. + * + * @return the value + */ + public java.util.List getSupportedLicenseTypes() { + return supportedLicenseTypes; + } + @Override public String toString() { return this.toString(true); @@ -493,6 +528,7 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.supportedTechnologiesUrl)); sb.append(", defaultUsername=").append(String.valueOf(this.defaultUsername)); sb.append(", supportedCapabilities=").append(String.valueOf(this.supportedCapabilities)); + sb.append(", supportedLicenseTypes=").append(String.valueOf(this.supportedLicenseTypes)); sb.append(")"); return sb.toString(); } @@ -518,6 +554,7 @@ public boolean equals(Object o) { this.supportedTechnologiesUrl, other.supportedTechnologiesUrl) && java.util.Objects.equals(this.defaultUsername, other.defaultUsername) && java.util.Objects.equals(this.supportedCapabilities, other.supportedCapabilities) + && java.util.Objects.equals(this.supportedLicenseTypes, other.supportedLicenseTypes) && super.equals(other); } @@ -557,6 +594,11 @@ public int hashCode() { + (this.supportedCapabilities == null ? 43 : this.supportedCapabilities.hashCode()); + result = + (result * PRIME) + + (this.supportedLicenseTypes == null + ? 43 + : this.supportedLicenseTypes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryPrecheckReport.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryPrecheckReport.java new file mode 100644 index 00000000000..1c2f549eaad --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryPrecheckReport.java @@ -0,0 +1,280 @@ +/** + * 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.goldengate.model; + +/** + * DR precheck result for standby peer in the specified placement (availabilityDomain and + * faultDomain).
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DisasterRecoveryPrecheckReport.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DisasterRecoveryPrecheckReport + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "timePrecheckStarted", + "timePrecheckFinished", + "precheckStatus", + "checks" + }) + public DisasterRecoveryPrecheckReport( + java.util.Date timePrecheckStarted, + java.util.Date timePrecheckFinished, + PrecheckStatus precheckStatus, + java.util.List checks) { + super(); + this.timePrecheckStarted = timePrecheckStarted; + this.timePrecheckFinished = timePrecheckFinished; + this.precheckStatus = precheckStatus; + this.checks = checks; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The timestamp when pre-check started. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timePrecheckStarted") + private java.util.Date timePrecheckStarted; + + /** + * The timestamp when pre-check started. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + * + * @param timePrecheckStarted the value to set + * @return this builder + */ + public Builder timePrecheckStarted(java.util.Date timePrecheckStarted) { + this.timePrecheckStarted = timePrecheckStarted; + this.__explicitlySet__.add("timePrecheckStarted"); + return this; + } + /** + * The timestamp when pre-check operation finished. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timePrecheckFinished") + private java.util.Date timePrecheckFinished; + + /** + * The timestamp when pre-check operation finished. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + * + * @param timePrecheckFinished the value to set + * @return this builder + */ + public Builder timePrecheckFinished(java.util.Date timePrecheckFinished) { + this.timePrecheckFinished = timePrecheckFinished; + this.__explicitlySet__.add("timePrecheckFinished"); + return this; + } + /** Status of the DR precheck result. */ + @com.fasterxml.jackson.annotation.JsonProperty("precheckStatus") + private PrecheckStatus precheckStatus; + + /** + * Status of the DR precheck result. + * + * @param precheckStatus the value to set + * @return this builder + */ + public Builder precheckStatus(PrecheckStatus precheckStatus) { + this.precheckStatus = precheckStatus; + this.__explicitlySet__.add("precheckStatus"); + return this; + } + /** A list of precheck results. */ + @com.fasterxml.jackson.annotation.JsonProperty("checks") + private java.util.List checks; + + /** + * A list of precheck results. + * + * @param checks the value to set + * @return this builder + */ + public Builder checks(java.util.List checks) { + this.checks = checks; + this.__explicitlySet__.add("checks"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DisasterRecoveryPrecheckReport build() { + DisasterRecoveryPrecheckReport model = + new DisasterRecoveryPrecheckReport( + this.timePrecheckStarted, + this.timePrecheckFinished, + this.precheckStatus, + this.checks); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DisasterRecoveryPrecheckReport model) { + if (model.wasPropertyExplicitlySet("timePrecheckStarted")) { + this.timePrecheckStarted(model.getTimePrecheckStarted()); + } + if (model.wasPropertyExplicitlySet("timePrecheckFinished")) { + this.timePrecheckFinished(model.getTimePrecheckFinished()); + } + if (model.wasPropertyExplicitlySet("precheckStatus")) { + this.precheckStatus(model.getPrecheckStatus()); + } + if (model.wasPropertyExplicitlySet("checks")) { + this.checks(model.getChecks()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The timestamp when pre-check started. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timePrecheckStarted") + private final java.util.Date timePrecheckStarted; + + /** + * The timestamp when pre-check started. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimePrecheckStarted() { + return timePrecheckStarted; + } + + /** + * The timestamp when pre-check operation finished. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timePrecheckFinished") + private final java.util.Date timePrecheckFinished; + + /** + * The timestamp when pre-check operation finished. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2024-10-26T20:19:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimePrecheckFinished() { + return timePrecheckFinished; + } + + /** Status of the DR precheck result. */ + @com.fasterxml.jackson.annotation.JsonProperty("precheckStatus") + private final PrecheckStatus precheckStatus; + + /** + * Status of the DR precheck result. + * + * @return the value + */ + public PrecheckStatus getPrecheckStatus() { + return precheckStatus; + } + + /** A list of precheck results. */ + @com.fasterxml.jackson.annotation.JsonProperty("checks") + private final java.util.List checks; + + /** + * A list of precheck results. + * + * @return the value + */ + public java.util.List getChecks() { + return checks; + } + + @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("DisasterRecoveryPrecheckReport("); + sb.append("super=").append(super.toString()); + sb.append("timePrecheckStarted=").append(String.valueOf(this.timePrecheckStarted)); + sb.append(", timePrecheckFinished=").append(String.valueOf(this.timePrecheckFinished)); + sb.append(", precheckStatus=").append(String.valueOf(this.precheckStatus)); + sb.append(", checks=").append(String.valueOf(this.checks)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DisasterRecoveryPrecheckReport)) { + return false; + } + + DisasterRecoveryPrecheckReport other = (DisasterRecoveryPrecheckReport) o; + return java.util.Objects.equals(this.timePrecheckStarted, other.timePrecheckStarted) + && java.util.Objects.equals(this.timePrecheckFinished, other.timePrecheckFinished) + && java.util.Objects.equals(this.precheckStatus, other.precheckStatus) + && java.util.Objects.equals(this.checks, other.checks) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.timePrecheckStarted == null + ? 43 + : this.timePrecheckStarted.hashCode()); + result = + (result * PRIME) + + (this.timePrecheckFinished == null + ? 43 + : this.timePrecheckFinished.hashCode()); + result = + (result * PRIME) + + (this.precheckStatus == null ? 43 : this.precheckStatus.hashCode()); + result = (result * PRIME) + (this.checks == null ? 43 : this.checks.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryPrecheckResult.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryPrecheckResult.java new file mode 100644 index 00000000000..4fc41415f07 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryPrecheckResult.java @@ -0,0 +1,433 @@ +/** + * 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.goldengate.model; + +/** + * A single precheck result.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DisasterRecoveryPrecheckResult.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DisasterRecoveryPrecheckResult + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "key", + "displayName", + "description", + "correctiveAction", + "status", + "relatedResourceId", + "relatedResourceType", + "code" + }) + public DisasterRecoveryPrecheckResult( + String key, + String displayName, + String description, + String correctiveAction, + PrecheckStatus status, + String relatedResourceId, + RelatedResourceType relatedResourceType, + String code) { + super(); + this.key = key; + this.displayName = displayName; + this.description = description; + this.correctiveAction = correctiveAction; + this.status = status; + this.relatedResourceId = relatedResourceId; + this.relatedResourceType = relatedResourceType; + this.code = code; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** UUID to uniquely identify the each check result. */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + private String key; + + /** + * UUID to uniquely identify the each check result. + * + * @param key the value to set + * @return this builder + */ + public Builder key(String key) { + this.key = key; + this.__explicitlySet__.add("key"); + return this; + } + /** An object's Display Name. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * An object's Display Name. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** Metadata about this specific object. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * Metadata about this specific object. + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** The corrective action for non-passing checks. Null for passed checks. */ + @com.fasterxml.jackson.annotation.JsonProperty("correctiveAction") + private String correctiveAction; + + /** + * The corrective action for non-passing checks. Null for passed checks. + * + * @param correctiveAction the value to set + * @return this builder + */ + public Builder correctiveAction(String correctiveAction) { + this.correctiveAction = correctiveAction; + this.__explicitlySet__.add("correctiveAction"); + return this; + } + /** Status of the DR precheck result. */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private PrecheckStatus status; + + /** + * Status of the DR precheck result. + * + * @param status the value to set + * @return this builder + */ + public Builder status(PrecheckStatus status) { + this.status = status; + this.__explicitlySet__.add("status"); + return this; + } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource related to the corresponding check. + */ + @com.fasterxml.jackson.annotation.JsonProperty("relatedResourceId") + private String relatedResourceId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource related to the corresponding check. + * + * @param relatedResourceId the value to set + * @return this builder + */ + public Builder relatedResourceId(String relatedResourceId) { + this.relatedResourceId = relatedResourceId; + this.__explicitlySet__.add("relatedResourceId"); + return this; + } + /** Type of resource related to corresponding check. */ + @com.fasterxml.jackson.annotation.JsonProperty("relatedResourceType") + private RelatedResourceType relatedResourceType; + + /** + * Type of resource related to corresponding check. + * + * @param relatedResourceType the value to set + * @return this builder + */ + public Builder relatedResourceType(RelatedResourceType relatedResourceType) { + this.relatedResourceType = relatedResourceType; + this.__explicitlySet__.add("relatedResourceType"); + return this; + } + /** + * The code returned when GoldenGate reports an error while running a step during pipeline + * initialization. + * https://docs.oracle.com/en/middleware/goldengate/core/23/error-messages/ogg-00001-ogg-40000.html#GUID-97FF7AA7-7A5C-4AA7-B29F-3CC8D26761F2 + */ + @com.fasterxml.jackson.annotation.JsonProperty("code") + private String code; + + /** + * The code returned when GoldenGate reports an error while running a step during pipeline + * initialization. + * https://docs.oracle.com/en/middleware/goldengate/core/23/error-messages/ogg-00001-ogg-40000.html#GUID-97FF7AA7-7A5C-4AA7-B29F-3CC8D26761F2 + * + * @param code the value to set + * @return this builder + */ + public Builder code(String code) { + this.code = code; + this.__explicitlySet__.add("code"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DisasterRecoveryPrecheckResult build() { + DisasterRecoveryPrecheckResult model = + new DisasterRecoveryPrecheckResult( + this.key, + this.displayName, + this.description, + this.correctiveAction, + this.status, + this.relatedResourceId, + this.relatedResourceType, + this.code); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DisasterRecoveryPrecheckResult model) { + if (model.wasPropertyExplicitlySet("key")) { + this.key(model.getKey()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("correctiveAction")) { + this.correctiveAction(model.getCorrectiveAction()); + } + if (model.wasPropertyExplicitlySet("status")) { + this.status(model.getStatus()); + } + if (model.wasPropertyExplicitlySet("relatedResourceId")) { + this.relatedResourceId(model.getRelatedResourceId()); + } + if (model.wasPropertyExplicitlySet("relatedResourceType")) { + this.relatedResourceType(model.getRelatedResourceType()); + } + if (model.wasPropertyExplicitlySet("code")) { + this.code(model.getCode()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** UUID to uniquely identify the each check result. */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + private final String key; + + /** + * UUID to uniquely identify the each check result. + * + * @return the value + */ + public String getKey() { + return key; + } + + /** An object's Display Name. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * An object's Display Name. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** Metadata about this specific object. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * Metadata about this specific object. + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** The corrective action for non-passing checks. Null for passed checks. */ + @com.fasterxml.jackson.annotation.JsonProperty("correctiveAction") + private final String correctiveAction; + + /** + * The corrective action for non-passing checks. Null for passed checks. + * + * @return the value + */ + public String getCorrectiveAction() { + return correctiveAction; + } + + /** Status of the DR precheck result. */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private final PrecheckStatus status; + + /** + * Status of the DR precheck result. + * + * @return the value + */ + public PrecheckStatus getStatus() { + return status; + } + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource related to the corresponding check. + */ + @com.fasterxml.jackson.annotation.JsonProperty("relatedResourceId") + private final String relatedResourceId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * resource related to the corresponding check. + * + * @return the value + */ + public String getRelatedResourceId() { + return relatedResourceId; + } + + /** Type of resource related to corresponding check. */ + @com.fasterxml.jackson.annotation.JsonProperty("relatedResourceType") + private final RelatedResourceType relatedResourceType; + + /** + * Type of resource related to corresponding check. + * + * @return the value + */ + public RelatedResourceType getRelatedResourceType() { + return relatedResourceType; + } + + /** + * The code returned when GoldenGate reports an error while running a step during pipeline + * initialization. + * https://docs.oracle.com/en/middleware/goldengate/core/23/error-messages/ogg-00001-ogg-40000.html#GUID-97FF7AA7-7A5C-4AA7-B29F-3CC8D26761F2 + */ + @com.fasterxml.jackson.annotation.JsonProperty("code") + private final String code; + + /** + * The code returned when GoldenGate reports an error while running a step during pipeline + * initialization. + * https://docs.oracle.com/en/middleware/goldengate/core/23/error-messages/ogg-00001-ogg-40000.html#GUID-97FF7AA7-7A5C-4AA7-B29F-3CC8D26761F2 + * + * @return the value + */ + public String getCode() { + return code; + } + + @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("DisasterRecoveryPrecheckResult("); + sb.append("super=").append(super.toString()); + sb.append("key=").append(String.valueOf(this.key)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", correctiveAction=").append(String.valueOf(this.correctiveAction)); + sb.append(", status=").append(String.valueOf(this.status)); + sb.append(", relatedResourceId=").append(String.valueOf(this.relatedResourceId)); + sb.append(", relatedResourceType=").append(String.valueOf(this.relatedResourceType)); + sb.append(", code=").append(String.valueOf(this.code)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DisasterRecoveryPrecheckResult)) { + return false; + } + + DisasterRecoveryPrecheckResult other = (DisasterRecoveryPrecheckResult) o; + return java.util.Objects.equals(this.key, other.key) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.correctiveAction, other.correctiveAction) + && java.util.Objects.equals(this.status, other.status) + && java.util.Objects.equals(this.relatedResourceId, other.relatedResourceId) + && java.util.Objects.equals(this.relatedResourceType, other.relatedResourceType) + && java.util.Objects.equals(this.code, other.code) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.key == null ? 43 : this.key.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.correctiveAction == null ? 43 : this.correctiveAction.hashCode()); + result = (result * PRIME) + (this.status == null ? 43 : this.status.hashCode()); + result = + (result * PRIME) + + (this.relatedResourceId == null ? 43 : this.relatedResourceId.hashCode()); + result = + (result * PRIME) + + (this.relatedResourceType == null + ? 43 + : this.relatedResourceType.hashCode()); + result = (result * PRIME) + (this.code == null ? 43 : this.code.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryStatus.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryStatus.java new file mode 100644 index 00000000000..5b1a323f92b --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DisasterRecoveryStatus.java @@ -0,0 +1,53 @@ +/** + * 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.goldengate.model; + +/** Indicates if disaster recovery is enabled for a deployment. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public enum DisasterRecoveryStatus implements com.oracle.bmc.http.internal.BmcEnum { + Enabled("ENABLED"), + Disabled("DISABLED"), + + /** + * 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(DisasterRecoveryStatus.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DisasterRecoveryStatus v : DisasterRecoveryStatus.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + DisasterRecoveryStatus(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DisasterRecoveryStatus create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'DisasterRecoveryStatus', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/GenerateDisasterRecoveryPrecheckReportDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/GenerateDisasterRecoveryPrecheckReportDetails.java new file mode 100644 index 00000000000..46f10bc0e69 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/GenerateDisasterRecoveryPrecheckReportDetails.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.goldengate.model; + +/** + * Metadata required to submit to generate a DR precheck report.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = GenerateDisasterRecoveryPrecheckReportDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class GenerateDisasterRecoveryPrecheckReportDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"availabilityDomain", "faultDomain"}) + public GenerateDisasterRecoveryPrecheckReportDetails( + String availabilityDomain, String faultDomain) { + super(); + this.availabilityDomain = availabilityDomain; + this.faultDomain = faultDomain; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The availability domain of a placement. */ + @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") + private String availabilityDomain; + + /** + * The availability domain of a placement. + * + * @param availabilityDomain the value to set + * @return this builder + */ + public Builder availabilityDomain(String availabilityDomain) { + this.availabilityDomain = availabilityDomain; + this.__explicitlySet__.add("availabilityDomain"); + return this; + } + /** The fault domain of a placement. */ + @com.fasterxml.jackson.annotation.JsonProperty("faultDomain") + private String faultDomain; + + /** + * The fault domain of a placement. + * + * @param faultDomain the value to set + * @return this builder + */ + public Builder faultDomain(String faultDomain) { + this.faultDomain = faultDomain; + this.__explicitlySet__.add("faultDomain"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public GenerateDisasterRecoveryPrecheckReportDetails build() { + GenerateDisasterRecoveryPrecheckReportDetails model = + new GenerateDisasterRecoveryPrecheckReportDetails( + this.availabilityDomain, this.faultDomain); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(GenerateDisasterRecoveryPrecheckReportDetails model) { + if (model.wasPropertyExplicitlySet("availabilityDomain")) { + this.availabilityDomain(model.getAvailabilityDomain()); + } + if (model.wasPropertyExplicitlySet("faultDomain")) { + this.faultDomain(model.getFaultDomain()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The availability domain of a placement. */ + @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") + private final String availabilityDomain; + + /** + * The availability domain of a placement. + * + * @return the value + */ + public String getAvailabilityDomain() { + return availabilityDomain; + } + + /** The fault domain of a placement. */ + @com.fasterxml.jackson.annotation.JsonProperty("faultDomain") + private final String faultDomain; + + /** + * The fault domain of a placement. + * + * @return the value + */ + public String getFaultDomain() { + return faultDomain; + } + + @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("GenerateDisasterRecoveryPrecheckReportDetails("); + sb.append("super=").append(super.toString()); + sb.append("availabilityDomain=").append(String.valueOf(this.availabilityDomain)); + sb.append(", faultDomain=").append(String.valueOf(this.faultDomain)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GenerateDisasterRecoveryPrecheckReportDetails)) { + return false; + } + + GenerateDisasterRecoveryPrecheckReportDetails other = + (GenerateDisasterRecoveryPrecheckReportDetails) o; + return java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) + && java.util.Objects.equals(this.faultDomain, other.faultDomain) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.availabilityDomain == null + ? 43 + : this.availabilityDomain.hashCode()); + result = (result * PRIME) + (this.faultDomain == null ? 43 : this.faultDomain.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/InitialDataLoad.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/InitialDataLoad.java index f11b0c1ca08..ce8a6de2b51 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/InitialDataLoad.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/InitialDataLoad.java @@ -23,11 +23,34 @@ public final class InitialDataLoad extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"isInitialLoad", "actionOnExistingTable"}) - public InitialDataLoad(IsInitialLoad isInitialLoad, InitialLoadAction actionOnExistingTable) { + @java.beans.ConstructorProperties({ + "isInitialLoad", + "actionOnExistingTable", + "initialLoadType", + "adbWalletPath", + "sourceWalletPath", + "targetWalletPath", + "namespaceName", + "bucketName" + }) + public InitialDataLoad( + IsInitialLoad isInitialLoad, + InitialLoadAction actionOnExistingTable, + InitialLoadType initialLoadType, + String adbWalletPath, + String sourceWalletPath, + String targetWalletPath, + String namespaceName, + String bucketName) { super(); this.isInitialLoad = isInitialLoad; this.actionOnExistingTable = actionOnExistingTable; + this.initialLoadType = initialLoadType; + this.adbWalletPath = adbWalletPath; + this.sourceWalletPath = sourceWalletPath; + this.targetWalletPath = targetWalletPath; + this.namespaceName = namespaceName; + this.bucketName = bucketName; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -70,13 +93,129 @@ public Builder actionOnExistingTable(InitialLoadAction actionOnExistingTable) { this.__explicitlySet__.add("actionOnExistingTable"); return this; } + /** Type of Initial load, which can be objectStorage or dbLink. */ + @com.fasterxml.jackson.annotation.JsonProperty("initialLoadType") + private InitialLoadType initialLoadType; + + /** + * Type of Initial load, which can be objectStorage or dbLink. + * + * @param initialLoadType the value to set + * @return this builder + */ + public Builder initialLoadType(InitialLoadType initialLoadType) { + this.initialLoadType = initialLoadType; + this.__explicitlySet__.add("initialLoadType"); + return this; + } + /** + * Directory path of ADB wallet locally available in Non-ADB target DB. Required for ADB to + * non-ADB DBLink type initial load only. If not provided the default wallet path + * "/u01/targetwallet" will be used. + */ + @com.fasterxml.jackson.annotation.JsonProperty("adbWalletPath") + private String adbWalletPath; + + /** + * Directory path of ADB wallet locally available in Non-ADB target DB. Required for ADB to + * non-ADB DBLink type initial load only. If not provided the default wallet path + * "/u01/targetwallet" will be used. + * + * @param adbWalletPath the value to set + * @return this builder + */ + public Builder adbWalletPath(String adbWalletPath) { + this.adbWalletPath = adbWalletPath; + this.__explicitlySet__.add("adbWalletPath"); + return this; + } + /** + * Directory path of ObjectStorage wallet locally available in Non-ADB source DB. Required + * for Object Storage type initial load only if source DB is Non-ADB type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceWalletPath") + private String sourceWalletPath; + + /** + * Directory path of ObjectStorage wallet locally available in Non-ADB source DB. Required + * for Object Storage type initial load only if source DB is Non-ADB type. + * + * @param sourceWalletPath the value to set + * @return this builder + */ + public Builder sourceWalletPath(String sourceWalletPath) { + this.sourceWalletPath = sourceWalletPath; + this.__explicitlySet__.add("sourceWalletPath"); + return this; + } + /** + * Directory path of ObjectStorage wallet locally available in Non-ADB target DB. Required + * for Object Storage type initial load only if target DB is Non-ADB type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetWalletPath") + private String targetWalletPath; + + /** + * Directory path of ObjectStorage wallet locally available in Non-ADB target DB. Required + * for Object Storage type initial load only if target DB is Non-ADB type. + * + * @param targetWalletPath the value to set + * @return this builder + */ + public Builder targetWalletPath(String targetWalletPath) { + this.targetWalletPath = targetWalletPath; + this.__explicitlySet__.add("targetWalletPath"); + return this; + } + /** + * Namespace that serves as a container of the ObjectStorage bucket. Required only for + * Objectstorage Initial load. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private String namespaceName; + + /** + * Namespace that serves as a container of the ObjectStorage bucket. Required only for + * Objectstorage Initial load. + * + * @param namespaceName the value to set + * @return this builder + */ + public Builder namespaceName(String namespaceName) { + this.namespaceName = namespaceName; + this.__explicitlySet__.add("namespaceName"); + return this; + } + /** Name of the ObjectStorage bucket. Required only for Objectstorage Initial load. */ + @com.fasterxml.jackson.annotation.JsonProperty("bucketName") + private String bucketName; + + /** + * Name of the ObjectStorage bucket. Required only for Objectstorage Initial load. + * + * @param bucketName the value to set + * @return this builder + */ + public Builder bucketName(String bucketName) { + this.bucketName = bucketName; + this.__explicitlySet__.add("bucketName"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public InitialDataLoad build() { InitialDataLoad model = - new InitialDataLoad(this.isInitialLoad, this.actionOnExistingTable); + new InitialDataLoad( + this.isInitialLoad, + this.actionOnExistingTable, + this.initialLoadType, + this.adbWalletPath, + this.sourceWalletPath, + this.targetWalletPath, + this.namespaceName, + this.bucketName); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -91,6 +230,24 @@ public Builder copy(InitialDataLoad model) { if (model.wasPropertyExplicitlySet("actionOnExistingTable")) { this.actionOnExistingTable(model.getActionOnExistingTable()); } + if (model.wasPropertyExplicitlySet("initialLoadType")) { + this.initialLoadType(model.getInitialLoadType()); + } + if (model.wasPropertyExplicitlySet("adbWalletPath")) { + this.adbWalletPath(model.getAdbWalletPath()); + } + if (model.wasPropertyExplicitlySet("sourceWalletPath")) { + this.sourceWalletPath(model.getSourceWalletPath()); + } + if (model.wasPropertyExplicitlySet("targetWalletPath")) { + this.targetWalletPath(model.getTargetWalletPath()); + } + if (model.wasPropertyExplicitlySet("namespaceName")) { + this.namespaceName(model.getNamespaceName()); + } + if (model.wasPropertyExplicitlySet("bucketName")) { + this.bucketName(model.getBucketName()); + } return this; } } @@ -185,6 +342,148 @@ public InitialLoadAction getActionOnExistingTable() { return actionOnExistingTable; } + /** Type of Initial load, which can be objectStorage or dbLink. */ + public enum InitialLoadType implements com.oracle.bmc.http.internal.BmcEnum { + DbLink("DB_LINK"), + ObjectStorage("OBJECT_STORAGE"), + + /** + * 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(InitialLoadType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (InitialLoadType v : InitialLoadType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + InitialLoadType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static InitialLoadType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'InitialLoadType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** Type of Initial load, which can be objectStorage or dbLink. */ + @com.fasterxml.jackson.annotation.JsonProperty("initialLoadType") + private final InitialLoadType initialLoadType; + + /** + * Type of Initial load, which can be objectStorage or dbLink. + * + * @return the value + */ + public InitialLoadType getInitialLoadType() { + return initialLoadType; + } + + /** + * Directory path of ADB wallet locally available in Non-ADB target DB. Required for ADB to + * non-ADB DBLink type initial load only. If not provided the default wallet path + * "/u01/targetwallet" will be used. + */ + @com.fasterxml.jackson.annotation.JsonProperty("adbWalletPath") + private final String adbWalletPath; + + /** + * Directory path of ADB wallet locally available in Non-ADB target DB. Required for ADB to + * non-ADB DBLink type initial load only. If not provided the default wallet path + * "/u01/targetwallet" will be used. + * + * @return the value + */ + public String getAdbWalletPath() { + return adbWalletPath; + } + + /** + * Directory path of ObjectStorage wallet locally available in Non-ADB source DB. Required for + * Object Storage type initial load only if source DB is Non-ADB type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceWalletPath") + private final String sourceWalletPath; + + /** + * Directory path of ObjectStorage wallet locally available in Non-ADB source DB. Required for + * Object Storage type initial load only if source DB is Non-ADB type. + * + * @return the value + */ + public String getSourceWalletPath() { + return sourceWalletPath; + } + + /** + * Directory path of ObjectStorage wallet locally available in Non-ADB target DB. Required for + * Object Storage type initial load only if target DB is Non-ADB type. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetWalletPath") + private final String targetWalletPath; + + /** + * Directory path of ObjectStorage wallet locally available in Non-ADB target DB. Required for + * Object Storage type initial load only if target DB is Non-ADB type. + * + * @return the value + */ + public String getTargetWalletPath() { + return targetWalletPath; + } + + /** + * Namespace that serves as a container of the ObjectStorage bucket. Required only for + * Objectstorage Initial load. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceName") + private final String namespaceName; + + /** + * Namespace that serves as a container of the ObjectStorage bucket. Required only for + * Objectstorage Initial load. + * + * @return the value + */ + public String getNamespaceName() { + return namespaceName; + } + + /** Name of the ObjectStorage bucket. Required only for Objectstorage Initial load. */ + @com.fasterxml.jackson.annotation.JsonProperty("bucketName") + private final String bucketName; + + /** + * Name of the ObjectStorage bucket. Required only for Objectstorage Initial load. + * + * @return the value + */ + public String getBucketName() { + return bucketName; + } + @Override public String toString() { return this.toString(true); @@ -202,6 +501,12 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("isInitialLoad=").append(String.valueOf(this.isInitialLoad)); sb.append(", actionOnExistingTable=").append(String.valueOf(this.actionOnExistingTable)); + sb.append(", initialLoadType=").append(String.valueOf(this.initialLoadType)); + sb.append(", adbWalletPath=").append(String.valueOf(this.adbWalletPath)); + sb.append(", sourceWalletPath=").append(String.valueOf(this.sourceWalletPath)); + sb.append(", targetWalletPath=").append(String.valueOf(this.targetWalletPath)); + sb.append(", namespaceName=").append(String.valueOf(this.namespaceName)); + sb.append(", bucketName=").append(String.valueOf(this.bucketName)); sb.append(")"); return sb.toString(); } @@ -218,6 +523,12 @@ public boolean equals(Object o) { InitialDataLoad other = (InitialDataLoad) o; return java.util.Objects.equals(this.isInitialLoad, other.isInitialLoad) && java.util.Objects.equals(this.actionOnExistingTable, other.actionOnExistingTable) + && java.util.Objects.equals(this.initialLoadType, other.initialLoadType) + && java.util.Objects.equals(this.adbWalletPath, other.adbWalletPath) + && java.util.Objects.equals(this.sourceWalletPath, other.sourceWalletPath) + && java.util.Objects.equals(this.targetWalletPath, other.targetWalletPath) + && java.util.Objects.equals(this.namespaceName, other.namespaceName) + && java.util.Objects.equals(this.bucketName, other.bucketName) && super.equals(other); } @@ -233,6 +544,22 @@ public int hashCode() { + (this.actionOnExistingTable == null ? 43 : this.actionOnExistingTable.hashCode()); + result = + (result * PRIME) + + (this.initialLoadType == null ? 43 : this.initialLoadType.hashCode()); + result = + (result * PRIME) + + (this.adbWalletPath == null ? 43 : this.adbWalletPath.hashCode()); + result = + (result * PRIME) + + (this.sourceWalletPath == null ? 43 : this.sourceWalletPath.hashCode()); + result = + (result * PRIME) + + (this.targetWalletPath == null ? 43 : this.targetWalletPath.hashCode()); + result = + (result * PRIME) + + (this.namespaceName == null ? 43 : this.namespaceName.hashCode()); + result = (result * PRIME) + (this.bucketName == null ? 43 : this.bucketName.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OggDeployment.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OggDeployment.java index 9773d216cfb..72ef2621eac 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OggDeployment.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OggDeployment.java @@ -29,6 +29,7 @@ public final class OggDeployment extends com.oracle.bmc.http.client.internal.Exp "credentialStore", "identityDomainId", "passwordSecretId", + "keySecretId", "groupToRolesMapping" }) public OggDeployment( @@ -39,6 +40,7 @@ public OggDeployment( CredentialStore credentialStore, String identityDomainId, String passwordSecretId, + String keySecretId, GroupToRolesMappingDetails groupToRolesMapping) { super(); this.deploymentName = deploymentName; @@ -48,6 +50,7 @@ public OggDeployment( this.credentialStore = credentialStore; this.identityDomainId = identityDomainId; this.passwordSecretId = passwordSecretId; + this.keySecretId = keySecretId; this.groupToRolesMapping = groupToRolesMapping; } @@ -170,6 +173,25 @@ public Builder passwordSecretId(String passwordSecretId) { this.__explicitlySet__.add("passwordSecretId"); return this; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + */ + @com.fasterxml.jackson.annotation.JsonProperty("keySecretId") + private String keySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + * + * @param keySecretId the value to set + * @return this builder + */ + public Builder keySecretId(String keySecretId) { + this.keySecretId = keySecretId; + this.__explicitlySet__.add("keySecretId"); + return this; + } @com.fasterxml.jackson.annotation.JsonProperty("groupToRolesMapping") private GroupToRolesMappingDetails groupToRolesMapping; @@ -193,6 +215,7 @@ public OggDeployment build() { this.credentialStore, this.identityDomainId, this.passwordSecretId, + this.keySecretId, this.groupToRolesMapping); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -223,6 +246,9 @@ public Builder copy(OggDeployment model) { if (model.wasPropertyExplicitlySet("passwordSecretId")) { this.passwordSecretId(model.getPasswordSecretId()); } + if (model.wasPropertyExplicitlySet("keySecretId")) { + this.keySecretId(model.getKeySecretId()); + } if (model.wasPropertyExplicitlySet("groupToRolesMapping")) { this.groupToRolesMapping(model.getGroupToRolesMapping()); } @@ -342,6 +368,23 @@ public String getPasswordSecretId() { return passwordSecretId; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + */ + @com.fasterxml.jackson.annotation.JsonProperty("keySecretId") + private final String keySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + * + * @return the value + */ + public String getKeySecretId() { + return keySecretId; + } + @com.fasterxml.jackson.annotation.JsonProperty("groupToRolesMapping") private final GroupToRolesMappingDetails groupToRolesMapping; @@ -371,6 +414,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", credentialStore=").append(String.valueOf(this.credentialStore)); sb.append(", identityDomainId=").append(String.valueOf(this.identityDomainId)); sb.append(", passwordSecretId=").append(String.valueOf(this.passwordSecretId)); + sb.append(", keySecretId=").append(String.valueOf(this.keySecretId)); sb.append(", groupToRolesMapping=").append(String.valueOf(this.groupToRolesMapping)); sb.append(")"); return sb.toString(); @@ -393,6 +437,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.credentialStore, other.credentialStore) && java.util.Objects.equals(this.identityDomainId, other.identityDomainId) && java.util.Objects.equals(this.passwordSecretId, other.passwordSecretId) + && java.util.Objects.equals(this.keySecretId, other.keySecretId) && java.util.Objects.equals(this.groupToRolesMapping, other.groupToRolesMapping) && super.equals(other); } @@ -418,6 +463,7 @@ public int hashCode() { result = (result * PRIME) + (this.passwordSecretId == null ? 43 : this.passwordSecretId.hashCode()); + result = (result * PRIME) + (this.keySecretId == null ? 43 : this.keySecretId.hashCode()); result = (result * PRIME) + (this.groupToRolesMapping == null diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OperationType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OperationType.java index f52b11af021..4c681889794 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OperationType.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/OperationType.java @@ -52,6 +52,9 @@ public enum OperationType implements com.oracle.bmc.http.internal.BmcEnum { GoldengatePipelineDiagnosticsCollect("GOLDENGATE_PIPELINE_DIAGNOSTICS_COLLECT"), GoldengateSwitchoverDeploymentPeer("GOLDENGATE_SWITCHOVER_DEPLOYMENT_PEER"), GoldengatePipelinePause("GOLDENGATE_PIPELINE_PAUSE"), + GoldengatePipelineClone("GOLDENGATE_PIPELINE_CLONE"), + GoldengateDeploymentDisasterRecoveryPrecheck( + "GOLDENGATE_DEPLOYMENT_DISASTER_RECOVERY_PRECHECK"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/PrecheckStatus.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/PrecheckStatus.java new file mode 100644 index 00000000000..19b3939d63b --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/PrecheckStatus.java @@ -0,0 +1,55 @@ +/** + * 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.goldengate.model; + +/** Possible status for DR precheck results. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public enum PrecheckStatus implements com.oracle.bmc.http.internal.BmcEnum { + Succeeded("SUCCEEDED"), + InProgress("IN_PROGRESS"), + Failed("FAILED"), + NeedsAttention("NEEDS_ATTENTION"), + + /** + * 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(PrecheckStatus.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PrecheckStatus v : PrecheckStatus.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + PrecheckStatus(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PrecheckStatus create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'PrecheckStatus', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RelatedResourceType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RelatedResourceType.java new file mode 100644 index 00000000000..c9357aaa47d --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RelatedResourceType.java @@ -0,0 +1,54 @@ +/** + * 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.goldengate.model; + +/** Type of resource related to corresponding check. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public enum RelatedResourceType implements com.oracle.bmc.http.internal.BmcEnum { + Goldengatedeployment("GOLDENGATEDEPLOYMENT"), + Goldengateconnection("GOLDENGATECONNECTION"), + Vaultsecret("VAULTSECRET"), + + /** + * 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(RelatedResourceType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (RelatedResourceType v : RelatedResourceType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + RelatedResourceType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static RelatedResourceType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'RelatedResourceType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SupportedCapabilities.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SupportedCapabilities.java index 25da4863eb7..beb84dc1c53 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SupportedCapabilities.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SupportedCapabilities.java @@ -15,6 +15,13 @@ public enum SupportedCapabilities implements com.oracle.bmc.http.internal.BmcEnu DisasterRecovery("DISASTER_RECOVERY"), ScheduleManualBackup("SCHEDULE_MANUAL_BACKUP"), Multicloud("MULTICLOUD"), + TrailFiles("TRAIL_FILES"), + MasterKeyOperations("MASTER_KEY_OPERATIONS"), + TruststoreCertificates("TRUSTSTORE_CERTIFICATES"), + DeploymentDiagnostics("DEPLOYMENT_DIAGNOSTICS"), + Credentials("CREDENTIALS"), + ConsoleAccess("CONSOLE_ACCESS"), + NetworkConfiguration("NETWORK_CONFIGURATION"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SwitchoverDeploymentPeerDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SwitchoverDeploymentPeerDetails.java index 20503fbc4e0..a507c92c589 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SwitchoverDeploymentPeerDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/SwitchoverDeploymentPeerDetails.java @@ -23,11 +23,13 @@ public final class SwitchoverDeploymentPeerDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"availabilityDomain", "faultDomain"}) - public SwitchoverDeploymentPeerDetails(String availabilityDomain, String faultDomain) { + @java.beans.ConstructorProperties({"availabilityDomain", "faultDomain", "mode"}) + public SwitchoverDeploymentPeerDetails( + String availabilityDomain, String faultDomain, Mode mode) { super(); this.availabilityDomain = availabilityDomain; this.faultDomain = faultDomain; + this.mode = mode; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -62,13 +64,33 @@ public Builder faultDomain(String faultDomain) { this.__explicitlySet__.add("faultDomain"); return this; } + /** + * Specifies the switchover mode. SWITCHOVER performs a planned role transition to the + * standby; FAILOVER performs a forced promotion when the primary is not available. + */ + @com.fasterxml.jackson.annotation.JsonProperty("mode") + private Mode mode; + + /** + * Specifies the switchover mode. SWITCHOVER performs a planned role transition to the + * standby; FAILOVER performs a forced promotion when the primary is not available. + * + * @param mode the value to set + * @return this builder + */ + public Builder mode(Mode mode) { + this.mode = mode; + this.__explicitlySet__.add("mode"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public SwitchoverDeploymentPeerDetails build() { SwitchoverDeploymentPeerDetails model = - new SwitchoverDeploymentPeerDetails(this.availabilityDomain, this.faultDomain); + new SwitchoverDeploymentPeerDetails( + this.availabilityDomain, this.faultDomain, this.mode); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -83,6 +105,9 @@ public Builder copy(SwitchoverDeploymentPeerDetails model) { if (model.wasPropertyExplicitlySet("faultDomain")) { this.faultDomain(model.getFaultDomain()); } + if (model.wasPropertyExplicitlySet("mode")) { + this.mode(model.getMode()); + } return this; } } @@ -122,6 +147,59 @@ public String getFaultDomain() { return faultDomain; } + /** + * Specifies the switchover mode. SWITCHOVER performs a planned role transition to the standby; + * FAILOVER performs a forced promotion when the primary is not available. + */ + public enum Mode implements com.oracle.bmc.http.internal.BmcEnum { + Switchover("SWITCHOVER"), + Failover("FAILOVER"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Mode v : Mode.values()) { + map.put(v.getValue(), v); + } + } + + Mode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Mode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Mode: " + key); + } + }; + /** + * Specifies the switchover mode. SWITCHOVER performs a planned role transition to the standby; + * FAILOVER performs a forced promotion when the primary is not available. + */ + @com.fasterxml.jackson.annotation.JsonProperty("mode") + private final Mode mode; + + /** + * Specifies the switchover mode. SWITCHOVER performs a planned role transition to the standby; + * FAILOVER performs a forced promotion when the primary is not available. + * + * @return the value + */ + public Mode getMode() { + return mode; + } + @Override public String toString() { return this.toString(true); @@ -139,6 +217,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("availabilityDomain=").append(String.valueOf(this.availabilityDomain)); sb.append(", faultDomain=").append(String.valueOf(this.faultDomain)); + sb.append(", mode=").append(String.valueOf(this.mode)); sb.append(")"); return sb.toString(); } @@ -155,6 +234,7 @@ public boolean equals(Object o) { SwitchoverDeploymentPeerDetails other = (SwitchoverDeploymentPeerDetails) o; return java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) && java.util.Objects.equals(this.faultDomain, other.faultDomain) + && java.util.Objects.equals(this.mode, other.mode) && super.equals(other); } @@ -168,6 +248,7 @@ public int hashCode() { ? 43 : this.availabilityDomain.hashCode()); result = (result * PRIME) + (this.faultDomain == null ? 43 : this.faultDomain.hashCode()); + result = (result * PRIME) + (this.mode == null ? 43 : this.mode.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOggDeploymentDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOggDeploymentDetails.java index 9dbee3b0f63..1aac8b62432 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOggDeploymentDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateOggDeploymentDetails.java @@ -31,6 +31,7 @@ public UpdateOggDeploymentDetails( String adminPassword, String certificate, String key, + String keySecretId, UpdateGroupToRolesMappingDetails groupToRolesMapping) { super(); this.credentialStore = credentialStore; @@ -40,6 +41,7 @@ public UpdateOggDeploymentDetails( this.adminPassword = adminPassword != null ? adminPassword.toCharArray() : null; this.certificate = certificate; this.key = key; + this.keySecretId = keySecretId; this.groupToRolesMapping = groupToRolesMapping; } @@ -53,6 +55,7 @@ public UpdateOggDeploymentDetails( "adminPassword", "certificate", "key", + "keySecretId", "groupToRolesMapping" }) public UpdateOggDeploymentDetails( @@ -63,6 +66,7 @@ public UpdateOggDeploymentDetails( char[] adminPassword, String certificate, String key, + String keySecretId, UpdateGroupToRolesMappingDetails groupToRolesMapping) { super(); this.credentialStore = credentialStore; @@ -72,6 +76,7 @@ public UpdateOggDeploymentDetails( this.adminPassword = adminPassword; this.certificate = certificate; this.key = key; + this.keySecretId = keySecretId; this.groupToRolesMapping = groupToRolesMapping; } @@ -204,6 +209,25 @@ public Builder key(String key) { this.__explicitlySet__.add("key"); return this; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + */ + @com.fasterxml.jackson.annotation.JsonProperty("keySecretId") + private String keySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + * + * @param keySecretId the value to set + * @return this builder + */ + public Builder keySecretId(String keySecretId) { + this.keySecretId = keySecretId; + this.__explicitlySet__.add("keySecretId"); + return this; + } @com.fasterxml.jackson.annotation.JsonProperty("groupToRolesMapping") private UpdateGroupToRolesMappingDetails groupToRolesMapping; @@ -227,6 +251,7 @@ public UpdateOggDeploymentDetails build() { this.adminPassword, this.certificate, this.key, + this.keySecretId, this.groupToRolesMapping); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -257,6 +282,9 @@ public Builder copy(UpdateOggDeploymentDetails model) { if (model.wasPropertyExplicitlySet("key")) { this.key(model.getKey()); } + if (model.wasPropertyExplicitlySet("keySecretId")) { + this.keySecretId(model.getKeySecretId()); + } if (model.wasPropertyExplicitlySet("groupToRolesMapping")) { this.groupToRolesMapping(model.getGroupToRolesMapping()); } @@ -396,6 +424,23 @@ public String getKey() { return key; } + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + */ + @com.fasterxml.jackson.annotation.JsonProperty("keySecretId") + private final String keySecretId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Secret where the deployment ssl private key is stored in PEM format. + * + * @return the value + */ + public String getKeySecretId() { + return keySecretId; + } + @com.fasterxml.jackson.annotation.JsonProperty("groupToRolesMapping") private final UpdateGroupToRolesMappingDetails groupToRolesMapping; @@ -425,6 +470,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", adminPassword=").append(""); sb.append(", certificate=").append(String.valueOf(this.certificate)); sb.append(", key=").append(String.valueOf(this.key)); + sb.append(", keySecretId=").append(String.valueOf(this.keySecretId)); sb.append(", groupToRolesMapping=").append(String.valueOf(this.groupToRolesMapping)); sb.append(")"); return sb.toString(); @@ -447,6 +493,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.adminPassword, other.adminPassword) && java.util.Objects.equals(this.certificate, other.certificate) && java.util.Objects.equals(this.key, other.key) + && java.util.Objects.equals(this.keySecretId, other.keySecretId) && java.util.Objects.equals(this.groupToRolesMapping, other.groupToRolesMapping) && super.equals(other); } @@ -472,6 +519,7 @@ public int hashCode() { + (this.adminPassword == null ? 43 : this.adminPassword.hashCode()); result = (result * PRIME) + (this.certificate == null ? 43 : this.certificate.hashCode()); result = (result * PRIME) + (this.key == null ? 43 : this.key.hashCode()); + result = (result * PRIME) + (this.keySecretId == null ? 43 : this.keySecretId.hashCode()); result = (result * PRIME) + (this.groupToRolesMapping == null diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdatePipelineDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdatePipelineDetails.java index 52668a5acbb..38267af2720 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdatePipelineDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdatePipelineDetails.java @@ -37,7 +37,9 @@ public class UpdatePipelineDetails "licenseModel", "freeformTags", "definedTags", - "subnetId" + "subnetId", + "cpuCoreCount", + "isAutoScalingEnabled" }) protected UpdatePipelineDetails( String displayName, @@ -45,7 +47,9 @@ protected UpdatePipelineDetails( LicenseModel licenseModel, java.util.Map freeformTags, java.util.Map> definedTags, - String subnetId) { + String subnetId, + Integer cpuCoreCount, + Boolean isAutoScalingEnabled) { super(); this.displayName = displayName; this.description = description; @@ -53,6 +57,8 @@ protected UpdatePipelineDetails( this.freeformTags = freeformTags; this.definedTags = definedTags; this.subnetId = subnetId; + this.cpuCoreCount = cpuCoreCount; + this.isAutoScalingEnabled = isAutoScalingEnabled; } /** An object's Display Name. */ @@ -151,6 +157,32 @@ public String getSubnetId() { return subnetId; } + /** The Minimum number of OCPUs to be made available for this Deployment. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") + private final Integer cpuCoreCount; + + /** + * The Minimum number of OCPUs to be made available for this Deployment. + * + * @return the value + */ + public Integer getCpuCoreCount() { + return cpuCoreCount; + } + + /** Indicates if auto scaling is enabled for the Deployment's CPU core count. */ + @com.fasterxml.jackson.annotation.JsonProperty("isAutoScalingEnabled") + private final Boolean isAutoScalingEnabled; + + /** + * Indicates if auto scaling is enabled for the Deployment's CPU core count. + * + * @return the value + */ + public Boolean getIsAutoScalingEnabled() { + return isAutoScalingEnabled; + } + @Override public String toString() { return this.toString(true); @@ -172,6 +204,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); + sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); + sb.append(", isAutoScalingEnabled=").append(String.valueOf(this.isAutoScalingEnabled)); sb.append(")"); return sb.toString(); } @@ -192,6 +226,8 @@ 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.subnetId, other.subnetId) + && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) + && java.util.Objects.equals(this.isAutoScalingEnabled, other.isAutoScalingEnabled) && super.equals(other); } @@ -205,6 +241,12 @@ 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.subnetId == null ? 43 : this.subnetId.hashCode()); + result = (result * PRIME) + (this.cpuCoreCount == null ? 43 : this.cpuCoreCount.hashCode()); + result = + (result * PRIME) + + (this.isAutoScalingEnabled == null + ? 43 + : this.isAutoScalingEnabled.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZeroEtlPipelineDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZeroEtlPipelineDetails.java index 1fb9e39225d..e049d598ef0 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZeroEtlPipelineDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateZeroEtlPipelineDetails.java @@ -82,6 +82,24 @@ public Builder subnetId(String subnetId) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("cpuCoreCount") + private Integer cpuCoreCount; + + public Builder cpuCoreCount(Integer cpuCoreCount) { + this.cpuCoreCount = cpuCoreCount; + this.__explicitlySet__.add("cpuCoreCount"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("isAutoScalingEnabled") + private Boolean isAutoScalingEnabled; + + public Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled) { + this.isAutoScalingEnabled = isAutoScalingEnabled; + this.__explicitlySet__.add("isAutoScalingEnabled"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("processOptions") private ProcessOptions processOptions; @@ -118,6 +136,8 @@ public UpdateZeroEtlPipelineDetails build() { this.freeformTags, this.definedTags, this.subnetId, + this.cpuCoreCount, + this.isAutoScalingEnabled, this.processOptions, this.mappingRules); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -146,6 +166,12 @@ public Builder copy(UpdateZeroEtlPipelineDetails model) { if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } + if (model.wasPropertyExplicitlySet("cpuCoreCount")) { + this.cpuCoreCount(model.getCpuCoreCount()); + } + if (model.wasPropertyExplicitlySet("isAutoScalingEnabled")) { + this.isAutoScalingEnabled(model.getIsAutoScalingEnabled()); + } if (model.wasPropertyExplicitlySet("processOptions")) { this.processOptions(model.getProcessOptions()); } @@ -173,9 +199,19 @@ public UpdateZeroEtlPipelineDetails( java.util.Map freeformTags, java.util.Map> definedTags, String subnetId, + Integer cpuCoreCount, + Boolean isAutoScalingEnabled, ProcessOptions processOptions, java.util.List mappingRules) { - super(displayName, description, licenseModel, freeformTags, definedTags, subnetId); + super( + displayName, + description, + licenseModel, + freeformTags, + definedTags, + subnetId, + cpuCoreCount, + isAutoScalingEnabled); this.processOptions = processOptions; this.mappingRules = mappingRules; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/ClonePipelineRequest.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/ClonePipelineRequest.java new file mode 100644 index 00000000000..8537bf91ba6 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/ClonePipelineRequest.java @@ -0,0 +1,348 @@ +/** + * 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.goldengate.requests; + +import com.oracle.bmc.goldengate.model.*; +/** + * Example: Click here to see how to use ClonePipelineRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class ClonePipelineRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.goldengate.model.ClonePipelineDetails> { + + /** Details to clone the pipeline. */ + private com.oracle.bmc.goldengate.model.ClonePipelineDetails clonePipelineDetails; + + /** Details to clone the pipeline. */ + public com.oracle.bmc.goldengate.model.ClonePipelineDetails getClonePipelineDetails() { + return clonePipelineDetails; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + /** The client request ID for tracing. */ + private String opcRequestId; + + /** The client request ID for tracing. */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire after + * 24 hours but can be invalidated before then due to conflicting operations. For example, if a + * resource was deleted and purged from the system, then a retry of the original creation + * request is rejected. + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire after + * 24 hours but can be invalidated before then due to conflicting operations. For example, if a + * resource was deleted and purged from the system, then a retry of the original creation + * request is rejected. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** Whether to override locks (if any exist). */ + private Boolean isLockOverride; + + /** Whether to override locks (if any exist). */ + public Boolean getIsLockOverride() { + return isLockOverride; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.goldengate.model.ClonePipelineDetails getBody$() { + return clonePipelineDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ClonePipelineRequest, com.oracle.bmc.goldengate.model.ClonePipelineDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Details to clone the pipeline. */ + private com.oracle.bmc.goldengate.model.ClonePipelineDetails clonePipelineDetails = null; + + /** + * Details to clone the pipeline. + * + * @param clonePipelineDetails the value to set + * @return this builder instance + */ + public Builder clonePipelineDetails( + com.oracle.bmc.goldengate.model.ClonePipelineDetails clonePipelineDetails) { + this.clonePipelineDetails = clonePipelineDetails; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** The client request ID for tracing. */ + private String opcRequestId = null; + + /** + * The client request ID for tracing. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire + * after 24 hours but can be invalidated before then due to conflicting operations. For + * example, if a resource was deleted and purged from the system, then a retry of the + * original creation request is rejected. + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire + * after 24 hours but can be invalidated before then due to conflicting operations. For + * example, if a resource was deleted and purged from the system, then a retry of the + * original creation request is rejected. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** Whether to override locks (if any exist). */ + private Boolean isLockOverride = null; + + /** + * Whether to override locks (if any exist). + * + * @param isLockOverride the value to set + * @return this builder instance + */ + public Builder isLockOverride(Boolean isLockOverride) { + this.isLockOverride = isLockOverride; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ClonePipelineRequest o) { + clonePipelineDetails(o.getClonePipelineDetails()); + ifMatch(o.getIfMatch()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + isLockOverride(o.getIsLockOverride()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ClonePipelineRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ClonePipelineRequest + */ + public ClonePipelineRequest build() { + ClonePipelineRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.goldengate.model.ClonePipelineDetails body) { + clonePipelineDetails(body); + return this; + } + + /** + * Build the instance of ClonePipelineRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ClonePipelineRequest + */ + public ClonePipelineRequest buildWithoutInvocationCallback() { + ClonePipelineRequest request = new ClonePipelineRequest(); + request.clonePipelineDetails = clonePipelineDetails; + request.ifMatch = ifMatch; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + request.isLockOverride = isLockOverride; + return request; + // new ClonePipelineRequest(clonePipelineDetails, ifMatch, opcRequestId, opcRetryToken, + // isLockOverride); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .clonePipelineDetails(clonePipelineDetails) + .ifMatch(ifMatch) + .opcRequestId(opcRequestId) + .opcRetryToken(opcRetryToken) + .isLockOverride(isLockOverride); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",clonePipelineDetails=").append(String.valueOf(this.clonePipelineDetails)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",isLockOverride=").append(String.valueOf(this.isLockOverride)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ClonePipelineRequest)) { + return false; + } + + ClonePipelineRequest other = (ClonePipelineRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.clonePipelineDetails, other.clonePipelineDetails) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.isLockOverride, other.isLockOverride); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.clonePipelineDetails == null + ? 43 + : this.clonePipelineDetails.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = + (result * PRIME) + + (this.isLockOverride == null ? 43 : this.isLockOverride.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/GenerateDisasterRecoveryPrecheckReportRequest.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/GenerateDisasterRecoveryPrecheckReportRequest.java new file mode 100644 index 00000000000..33412aabcf4 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/GenerateDisasterRecoveryPrecheckReportRequest.java @@ -0,0 +1,367 @@ +/** + * 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.goldengate.requests; + +import com.oracle.bmc.goldengate.model.*; +/** + * Example: Click here to see how to use + * GenerateDisasterRecoveryPrecheckReportRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class GenerateDisasterRecoveryPrecheckReportRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails> { + + /** A unique Deployment identifier. */ + private String deploymentId; + + /** A unique Deployment identifier. */ + public String getDeploymentId() { + return deploymentId; + } + /** Parameters for the DR precheck report generation request. */ + private com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails + generateDisasterRecoveryPrecheckReportDetails; + + /** Parameters for the DR precheck report generation request. */ + public com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails + getGenerateDisasterRecoveryPrecheckReportDetails() { + return generateDisasterRecoveryPrecheckReportDetails; + } + /** The client request ID for tracing. */ + private String opcRequestId; + + /** The client request ID for tracing. */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire after + * 24 hours but can be invalidated before then due to conflicting operations. For example, if a + * resource was deleted and purged from the system, then a retry of the original creation + * request is rejected. + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire after + * 24 hours but can be invalidated before then due to conflicting operations. For example, if a + * resource was deleted and purged from the system, then a retry of the original creation + * request is rejected. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails + getBody$() { + return generateDisasterRecoveryPrecheckReportDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GenerateDisasterRecoveryPrecheckReportRequest, + com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** A unique Deployment identifier. */ + private String deploymentId = null; + + /** + * A unique Deployment identifier. + * + * @param deploymentId the value to set + * @return this builder instance + */ + public Builder deploymentId(String deploymentId) { + this.deploymentId = deploymentId; + return this; + } + + /** Parameters for the DR precheck report generation request. */ + private com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails + generateDisasterRecoveryPrecheckReportDetails = null; + + /** + * Parameters for the DR precheck report generation request. + * + * @param generateDisasterRecoveryPrecheckReportDetails the value to set + * @return this builder instance + */ + public Builder generateDisasterRecoveryPrecheckReportDetails( + com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails + generateDisasterRecoveryPrecheckReportDetails) { + this.generateDisasterRecoveryPrecheckReportDetails = + generateDisasterRecoveryPrecheckReportDetails; + return this; + } + + /** The client request ID for tracing. */ + private String opcRequestId = null; + + /** + * The client request ID for tracing. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire + * after 24 hours but can be invalidated before then due to conflicting operations. For + * example, if a resource was deleted and purged from the system, then a retry of the + * original creation request is rejected. + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire + * after 24 hours but can be invalidated before then due to conflicting operations. For + * example, if a resource was deleted and purged from the system, then a retry of the + * original creation request is rejected. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GenerateDisasterRecoveryPrecheckReportRequest o) { + deploymentId(o.getDeploymentId()); + generateDisasterRecoveryPrecheckReportDetails( + o.getGenerateDisasterRecoveryPrecheckReportDetails()); + opcRequestId(o.getOpcRequestId()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GenerateDisasterRecoveryPrecheckReportRequest as configured by this + * builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GenerateDisasterRecoveryPrecheckReportRequest + */ + public GenerateDisasterRecoveryPrecheckReportRequest build() { + GenerateDisasterRecoveryPrecheckReportRequest request = + buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails + body) { + generateDisasterRecoveryPrecheckReportDetails(body); + return this; + } + + /** + * Build the instance of GenerateDisasterRecoveryPrecheckReportRequest as configured by this + * builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GenerateDisasterRecoveryPrecheckReportRequest + */ + public GenerateDisasterRecoveryPrecheckReportRequest buildWithoutInvocationCallback() { + GenerateDisasterRecoveryPrecheckReportRequest request = + new GenerateDisasterRecoveryPrecheckReportRequest(); + request.deploymentId = deploymentId; + request.generateDisasterRecoveryPrecheckReportDetails = + generateDisasterRecoveryPrecheckReportDetails; + request.opcRequestId = opcRequestId; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new GenerateDisasterRecoveryPrecheckReportRequest(deploymentId, + // generateDisasterRecoveryPrecheckReportDetails, opcRequestId, ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .deploymentId(deploymentId) + .generateDisasterRecoveryPrecheckReportDetails( + generateDisasterRecoveryPrecheckReportDetails) + .opcRequestId(opcRequestId) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",deploymentId=").append(String.valueOf(this.deploymentId)); + sb.append(",generateDisasterRecoveryPrecheckReportDetails=") + .append(String.valueOf(this.generateDisasterRecoveryPrecheckReportDetails)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GenerateDisasterRecoveryPrecheckReportRequest)) { + return false; + } + + GenerateDisasterRecoveryPrecheckReportRequest other = + (GenerateDisasterRecoveryPrecheckReportRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.deploymentId, other.deploymentId) + && java.util.Objects.equals( + this.generateDisasterRecoveryPrecheckReportDetails, + other.generateDisasterRecoveryPrecheckReportDetails) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.deploymentId == null ? 43 : this.deploymentId.hashCode()); + result = + (result * PRIME) + + (this.generateDisasterRecoveryPrecheckReportDetails == null + ? 43 + : this.generateDisasterRecoveryPrecheckReportDetails.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/GetDisasterRecoveryPrecheckReportRequest.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/GetDisasterRecoveryPrecheckReportRequest.java new file mode 100644 index 00000000000..d682b82ef07 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/GetDisasterRecoveryPrecheckReportRequest.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.goldengate.requests; + +import com.oracle.bmc.goldengate.model.*; +/** + * Example: Click here to see how to use + * GetDisasterRecoveryPrecheckReportRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class GetDisasterRecoveryPrecheckReportRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** A unique Deployment identifier. */ + private String deploymentId; + + /** A unique Deployment identifier. */ + public String getDeploymentId() { + return deploymentId; + } + /** The availability domain of the placement to evaluate DR pre-checks for. */ + private String availabilityDomain; + + /** The availability domain of the placement to evaluate DR pre-checks for. */ + public String getAvailabilityDomain() { + return availabilityDomain; + } + /** The fault domain of the placement to evaluate DR pre-checks for. */ + private String faultDomain; + + /** The fault domain of the placement to evaluate DR pre-checks for. */ + public String getFaultDomain() { + return faultDomain; + } + /** The client request ID for tracing. */ + private String opcRequestId; + + /** The client request ID for tracing. */ + public String getOpcRequestId() { + return opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetDisasterRecoveryPrecheckReportRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** A unique Deployment identifier. */ + private String deploymentId = null; + + /** + * A unique Deployment identifier. + * + * @param deploymentId the value to set + * @return this builder instance + */ + public Builder deploymentId(String deploymentId) { + this.deploymentId = deploymentId; + return this; + } + + /** The availability domain of the placement to evaluate DR pre-checks for. */ + private String availabilityDomain = null; + + /** + * The availability domain of the placement to evaluate DR pre-checks for. + * + * @param availabilityDomain the value to set + * @return this builder instance + */ + public Builder availabilityDomain(String availabilityDomain) { + this.availabilityDomain = availabilityDomain; + return this; + } + + /** The fault domain of the placement to evaluate DR pre-checks for. */ + private String faultDomain = null; + + /** + * The fault domain of the placement to evaluate DR pre-checks for. + * + * @param faultDomain the value to set + * @return this builder instance + */ + public Builder faultDomain(String faultDomain) { + this.faultDomain = faultDomain; + return this; + } + + /** The client request ID for tracing. */ + private String opcRequestId = null; + + /** + * The client request ID for tracing. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetDisasterRecoveryPrecheckReportRequest o) { + deploymentId(o.getDeploymentId()); + availabilityDomain(o.getAvailabilityDomain()); + faultDomain(o.getFaultDomain()); + opcRequestId(o.getOpcRequestId()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetDisasterRecoveryPrecheckReportRequest as configured by this + * builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetDisasterRecoveryPrecheckReportRequest + */ + public GetDisasterRecoveryPrecheckReportRequest build() { + GetDisasterRecoveryPrecheckReportRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetDisasterRecoveryPrecheckReportRequest as configured by this + * builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetDisasterRecoveryPrecheckReportRequest + */ + public GetDisasterRecoveryPrecheckReportRequest buildWithoutInvocationCallback() { + GetDisasterRecoveryPrecheckReportRequest request = + new GetDisasterRecoveryPrecheckReportRequest(); + request.deploymentId = deploymentId; + request.availabilityDomain = availabilityDomain; + request.faultDomain = faultDomain; + request.opcRequestId = opcRequestId; + return request; + // new GetDisasterRecoveryPrecheckReportRequest(deploymentId, availabilityDomain, + // faultDomain, opcRequestId); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .deploymentId(deploymentId) + .availabilityDomain(availabilityDomain) + .faultDomain(faultDomain) + .opcRequestId(opcRequestId); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",deploymentId=").append(String.valueOf(this.deploymentId)); + sb.append(",availabilityDomain=").append(String.valueOf(this.availabilityDomain)); + sb.append(",faultDomain=").append(String.valueOf(this.faultDomain)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetDisasterRecoveryPrecheckReportRequest)) { + return false; + } + + GetDisasterRecoveryPrecheckReportRequest other = + (GetDisasterRecoveryPrecheckReportRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.deploymentId, other.deploymentId) + && java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) + && java.util.Objects.equals(this.faultDomain, other.faultDomain) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.deploymentId == null ? 43 : this.deploymentId.hashCode()); + result = + (result * PRIME) + + (this.availabilityDomain == null + ? 43 + : this.availabilityDomain.hashCode()); + result = (result * PRIME) + (this.faultDomain == null ? 43 : this.faultDomain.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/ClonePipelineResponse.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/ClonePipelineResponse.java new file mode 100644 index 00000000000..45a736d96a7 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/ClonePipelineResponse.java @@ -0,0 +1,251 @@ +/** + * 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.goldengate.responses; + +import com.oracle.bmc.goldengate.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class ClonePipelineResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to query + * status of the asynchronous operation. + */ + private String opcWorkRequestId; + + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to query + * status of the asynchronous operation. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned {@code Pipeline} instance. */ + private com.oracle.bmc.goldengate.model.Pipeline pipeline; + + /** + * The returned {@code Pipeline} instance. + * + * @return the value + */ + public com.oracle.bmc.goldengate.model.Pipeline getPipeline() { + return pipeline; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcWorkRequestId", + "opcRequestId", + "etag", + "pipeline" + }) + private ClonePipelineResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcWorkRequestId, + String opcRequestId, + String etag, + com.oracle.bmc.goldengate.model.Pipeline pipeline) { + super(__httpStatusCode__, headers); + this.opcWorkRequestId = opcWorkRequestId; + this.opcRequestId = opcRequestId; + this.etag = etag; + this.pipeline = pipeline; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to + * query status of the asynchronous operation. + */ + private String opcWorkRequestId; + + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to + * query status of the asynchronous operation. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned {@code Pipeline} instance. */ + private com.oracle.bmc.goldengate.model.Pipeline pipeline; + + /** + * The returned {@code Pipeline} instance. + * + * @param pipeline the value to set + * @return this builder + */ + public Builder pipeline(com.oracle.bmc.goldengate.model.Pipeline pipeline) { + this.pipeline = pipeline; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ClonePipelineResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + pipeline(o.getPipeline()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ClonePipelineResponse build() { + return new ClonePipelineResponse( + __httpStatusCode__, headers, opcWorkRequestId, opcRequestId, etag, pipeline); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",pipeline=").append(String.valueOf(pipeline)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ClonePipelineResponse)) { + return false; + } + + ClonePipelineResponse other = (ClonePipelineResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.pipeline, other.pipeline); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.pipeline == null ? 43 : this.pipeline.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/GenerateDisasterRecoveryPrecheckReportResponse.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/GenerateDisasterRecoveryPrecheckReportResponse.java new file mode 100644 index 00000000000..eec693e218b --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/GenerateDisasterRecoveryPrecheckReportResponse.java @@ -0,0 +1,188 @@ +/** + * 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.goldengate.responses; + +import com.oracle.bmc.goldengate.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class GenerateDisasterRecoveryPrecheckReportResponse + extends com.oracle.bmc.responses.BmcResponse { + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to query + * status of the asynchronous operation. + */ + private String opcWorkRequestId; + + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to query + * status of the asynchronous operation. + * + * @return the value + */ + public String getOpcWorkRequestId() { + return opcWorkRequestId; + } + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcWorkRequestId", + "opcRequestId" + }) + private GenerateDisasterRecoveryPrecheckReportResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcWorkRequestId, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcWorkRequestId = opcWorkRequestId; + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + GenerateDisasterRecoveryPrecheckReportResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to + * query status of the asynchronous operation. + */ + private String opcWorkRequestId; + + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to + * query status of the asynchronous operation. + * + * @param opcWorkRequestId the value to set + * @return this builder + */ + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; + return this; + } + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GenerateDisasterRecoveryPrecheckReportResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcWorkRequestId(o.getOpcWorkRequestId()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GenerateDisasterRecoveryPrecheckReportResponse build() { + return new GenerateDisasterRecoveryPrecheckReportResponse( + __httpStatusCode__, headers, opcWorkRequestId, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GenerateDisasterRecoveryPrecheckReportResponse)) { + return false; + } + + GenerateDisasterRecoveryPrecheckReportResponse other = + (GenerateDisasterRecoveryPrecheckReportResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/GetDisasterRecoveryPrecheckReportResponse.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/GetDisasterRecoveryPrecheckReportResponse.java new file mode 100644 index 00000000000..a5d7e5d48dd --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/GetDisasterRecoveryPrecheckReportResponse.java @@ -0,0 +1,190 @@ +/** + * 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.goldengate.responses; + +import com.oracle.bmc.goldengate.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class GetDisasterRecoveryPrecheckReportResponse + extends com.oracle.bmc.responses.BmcResponse { + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned {@code DisasterRecoveryPrecheckReport} instance. */ + private com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckReport + disasterRecoveryPrecheckReport; + + /** + * The returned {@code DisasterRecoveryPrecheckReport} instance. + * + * @return the value + */ + public com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckReport + getDisasterRecoveryPrecheckReport() { + return disasterRecoveryPrecheckReport; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "disasterRecoveryPrecheckReport" + }) + private GetDisasterRecoveryPrecheckReportResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckReport + disasterRecoveryPrecheckReport) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.disasterRecoveryPrecheckReport = disasterRecoveryPrecheckReport; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + GetDisasterRecoveryPrecheckReportResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned {@code DisasterRecoveryPrecheckReport} instance. */ + private com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckReport + disasterRecoveryPrecheckReport; + + /** + * The returned {@code DisasterRecoveryPrecheckReport} instance. + * + * @param disasterRecoveryPrecheckReport the value to set + * @return this builder + */ + public Builder disasterRecoveryPrecheckReport( + com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckReport + disasterRecoveryPrecheckReport) { + this.disasterRecoveryPrecheckReport = disasterRecoveryPrecheckReport; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetDisasterRecoveryPrecheckReportResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + disasterRecoveryPrecheckReport(o.getDisasterRecoveryPrecheckReport()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetDisasterRecoveryPrecheckReportResponse build() { + return new GetDisasterRecoveryPrecheckReportResponse( + __httpStatusCode__, headers, opcRequestId, disasterRecoveryPrecheckReport); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",disasterRecoveryPrecheckReport=") + .append(String.valueOf(disasterRecoveryPrecheckReport)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetDisasterRecoveryPrecheckReportResponse)) { + return false; + } + + GetDisasterRecoveryPrecheckReportResponse other = + (GetDisasterRecoveryPrecheckReportResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals( + this.disasterRecoveryPrecheckReport, other.disasterRecoveryPrecheckReport); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.disasterRecoveryPrecheckReport == null + ? 43 + : this.disasterRecoveryPrecheckReport.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-goldengate/reflect-config.json b/bmc-goldengate/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-goldengate/reflect-config.json index d0c49308dbc..3598141fc9b 100644 --- a/bmc-goldengate/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-goldengate/reflect-config.json +++ b/bmc-goldengate/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-goldengate/reflect-config.json @@ -496,6 +496,19 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ClonePipelineDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.ClonePipelineType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.CollectDeploymentDiagnosticDetails", @@ -1526,6 +1539,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DefaultClonePipelineDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DefaultClonePipelineDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.DefaultDeploymentWalletExistsDetails", @@ -2141,6 +2168,40 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckReport", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckReport$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckResult", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DisasterRecoveryPrecheckResult$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.DisasterRecoveryStatus", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.ElasticsearchConnection", @@ -2207,6 +2268,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.GenerateDisasterRecoveryPrecheckReportDetails$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.GenerateLibraryUrlDetails", @@ -2652,6 +2727,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.InitialDataLoad$InitialLoadType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.InitialLoadAction", @@ -3558,6 +3639,12 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.PrecheckStatus", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.ProcessOptions", @@ -3689,6 +3776,12 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.RelatedResourceType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.ReleaseType", @@ -4053,6 +4146,12 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.goldengate.model.SwitchoverDeploymentPeerDetails$Mode", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.goldengate.model.TargetPipelineConnectionDetails", diff --git a/bmc-governancerulescontrolplane/pom.xml b/bmc-governancerulescontrolplane/pom.xml index f6d3edeee89..d13cd0d9ea2 100644 --- a/bmc-governancerulescontrolplane/pom.xml +++ b/bmc-governancerulescontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-governancerulescontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-healthchecks/pom.xml b/bmc-healthchecks/pom.xml index 1c94b3c2d81..3a1cd5f23c4 100644 --- a/bmc-healthchecks/pom.xml +++ b/bmc-healthchecks/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-healthchecks @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml index 0870030f4da..b820e4b8be6 100644 --- a/bmc-identity/pom.xml +++ b/bmc-identity/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 diff --git a/bmc-identitydataplane/pom.xml b/bmc-identitydataplane/pom.xml index bab70967209..761a98ea373 100644 --- a/bmc-identitydataplane/pom.xml +++ b/bmc-identitydataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-identitydataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-identitydomains/pom.xml b/bmc-identitydomains/pom.xml index 89d112c4d68..34f4cc251cc 100644 --- a/bmc-identitydomains/pom.xml +++ b/bmc-identitydomains/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-identitydomains @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-integration/pom.xml b/bmc-integration/pom.xml index 6565f05aef1..3800242de23 100644 --- a/bmc-integration/pom.xml +++ b/bmc-integration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-integration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-iot/pom.xml b/bmc-iot/pom.xml index ec05d2928b4..4ccffe279d2 100644 --- a/bmc-iot/pom.xml +++ b/bmc-iot/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-iot @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-jms/pom.xml b/bmc-jms/pom.xml index c5db1301906..842a13b3728 100644 --- a/bmc-jms/pom.xml +++ b/bmc-jms/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-jms @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-jmsjavadownloads/pom.xml b/bmc-jmsjavadownloads/pom.xml index 52ba8a7b6b5..77c74ea78fd 100644 --- a/bmc-jmsjavadownloads/pom.xml +++ b/bmc-jmsjavadownloads/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-jmsjavadownloads @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-jmsutils/pom.xml b/bmc-jmsutils/pom.xml index 6de8e541e07..c379995e816 100644 --- a/bmc-jmsutils/pom.xml +++ b/bmc-jmsutils/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-jmsutils @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-keymanagement/pom.xml b/bmc-keymanagement/pom.xml index dd76e2f36bb..9c8137616cb 100644 --- a/bmc-keymanagement/pom.xml +++ b/bmc-keymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-keymanagement @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-licensemanager/pom.xml b/bmc-licensemanager/pom.xml index 39a3f6dcdf8..4f30b564962 100644 --- a/bmc-licensemanager/pom.xml +++ b/bmc-licensemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-licensemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-limits/pom.xml b/bmc-limits/pom.xml index 55ee2e00139..c3d9684a7b4 100644 --- a/bmc-limits/pom.xml +++ b/bmc-limits/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-limits @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-limitsincrease/pom.xml b/bmc-limitsincrease/pom.xml index 55830a5f9a5..27b58897b63 100644 --- a/bmc-limitsincrease/pom.xml +++ b/bmc-limitsincrease/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-limitsincrease @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml index 86d1dbba8e0..b9c78145ffa 100644 --- a/bmc-loadbalancer/pom.xml +++ b/bmc-loadbalancer/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 diff --git a/bmc-lockbox/pom.xml b/bmc-lockbox/pom.xml index f1c8aa9a9a9..304d89cda7a 100644 --- a/bmc-lockbox/pom.xml +++ b/bmc-lockbox/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-lockbox @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-loganalytics/pom.xml b/bmc-loganalytics/pom.xml index 6a72ee8cec1..875d8586fba 100644 --- a/bmc-loganalytics/pom.xml +++ b/bmc-loganalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-loganalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-logging/pom.xml b/bmc-logging/pom.xml index 76fe4a9b655..2c77dc6c83d 100644 --- a/bmc-logging/pom.xml +++ b/bmc-logging/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-logging @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-loggingingestion/pom.xml b/bmc-loggingingestion/pom.xml index b603491ac58..753631b1677 100644 --- a/bmc-loggingingestion/pom.xml +++ b/bmc-loggingingestion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-loggingingestion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-loggingsearch/pom.xml b/bmc-loggingsearch/pom.xml index 3027e0fd5ab..9ac9160c579 100644 --- a/bmc-loggingsearch/pom.xml +++ b/bmc-loggingsearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-loggingsearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-lustrefilestorage/pom.xml b/bmc-lustrefilestorage/pom.xml index e53ab3bfd85..9eb0959e33c 100644 --- a/bmc-lustrefilestorage/pom.xml +++ b/bmc-lustrefilestorage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-lustrefilestorage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-managedkafka/pom.xml b/bmc-managedkafka/pom.xml index ca3c822559f..6c0300558f3 100644 --- a/bmc-managedkafka/pom.xml +++ b/bmc-managedkafka/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-managedkafka @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-managementagent/pom.xml b/bmc-managementagent/pom.xml index 29ebdb2ce2a..14712959afc 100644 --- a/bmc-managementagent/pom.xml +++ b/bmc-managementagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-managementagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-managementdashboard/pom.xml b/bmc-managementdashboard/pom.xml index 001b9445f44..18bbad7633d 100644 --- a/bmc-managementdashboard/pom.xml +++ b/bmc-managementdashboard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-managementdashboard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-marketplace/pom.xml b/bmc-marketplace/pom.xml index 931e57b87a6..69767d6d298 100644 --- a/bmc-marketplace/pom.xml +++ b/bmc-marketplace/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-marketplace @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-marketplaceprivateoffer/pom.xml b/bmc-marketplaceprivateoffer/pom.xml index d6dffd8374e..d44ddb22fa1 100644 --- a/bmc-marketplaceprivateoffer/pom.xml +++ b/bmc-marketplaceprivateoffer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-marketplaceprivateoffer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-marketplacepublisher/pom.xml b/bmc-marketplacepublisher/pom.xml index 137f3fcb093..d478b0a83d9 100644 --- a/bmc-marketplacepublisher/pom.xml +++ b/bmc-marketplacepublisher/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-marketplacepublisher @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-mediaservices/pom.xml b/bmc-mediaservices/pom.xml index 8a5c1e82ddb..cebabea1c85 100644 --- a/bmc-mediaservices/pom.xml +++ b/bmc-mediaservices/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-mediaservices @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-mngdmac/pom.xml b/bmc-mngdmac/pom.xml index a150d0b352a..afd7815f355 100644 --- a/bmc-mngdmac/pom.xml +++ b/bmc-mngdmac/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-mngdmac @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-modeldeployment/pom.xml b/bmc-modeldeployment/pom.xml index cf1aca25e50..868f2af139c 100644 --- a/bmc-modeldeployment/pom.xml +++ b/bmc-modeldeployment/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-modeldeployment @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-monitoring/pom.xml b/bmc-monitoring/pom.xml index 80046fc7f1c..324bbb8625c 100644 --- a/bmc-monitoring/pom.xml +++ b/bmc-monitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-monitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-multicloud/pom.xml b/bmc-multicloud/pom.xml index ea72345dc19..d4d08e011a8 100644 --- a/bmc-multicloud/pom.xml +++ b/bmc-multicloud/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-multicloud @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-mysql/pom.xml b/bmc-mysql/pom.xml index 95ed26df51d..6528cd2a0c9 100644 --- a/bmc-mysql/pom.xml +++ b/bmc-mysql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-mysql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-networkfirewall/pom.xml b/bmc-networkfirewall/pom.xml index 691a543a47c..7be1a3edf5e 100644 --- a/bmc-networkfirewall/pom.xml +++ b/bmc-networkfirewall/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-networkfirewall @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewall.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewall.java index aa772c70bea..e3415453940 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewall.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewall.java @@ -9,9 +9,10 @@ /** * Use the Network Firewall API to create network firewalls and configure policies that regulates - * network traffic in and across VCNs. This service client uses - * CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit - * breaker configuration is defined by the user. + * network traffic in and across VCNs. For more information, see [Overview of Network + * Firewall](https://docs.oracle.com/iaas/Content/network-firewall/overview.htm). This service + * client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no + * circuit breaker configuration is defined by the user. */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230501") public interface NetworkFirewall extends AutoCloseable { @@ -1287,6 +1288,23 @@ DeleteTunnelInspectionRuleResponse deleteTunnelInspectionRule( */ GetNetworkFirewallResponse getNetworkFirewall(GetNetworkFirewallRequest request); + /** + * Get Overall health status of Network Firewall + * + * @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. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * GetNetworkFirewallHealthStatus API. + */ + GetNetworkFirewallHealthStatusResponse getNetworkFirewallHealthStatus( + GetNetworkFirewallHealthStatusRequest request); + /** * Gets a NetworkFirewallPolicy given the network firewall policy identifier. * diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallAsync.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallAsync.java index 6c549783c76..49d4e50acc3 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallAsync.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallAsync.java @@ -9,7 +9,8 @@ /** * Use the Network Firewall API to create network firewalls and configure policies that regulates - * network traffic in and across VCNs. + * network traffic in and across VCNs. For more information, see [Overview of Network + * Firewall](https://docs.oracle.com/iaas/Content/network-firewall/overview.htm). */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230501") public interface NetworkFirewallAsync extends AutoCloseable { @@ -918,6 +919,24 @@ java.util.concurrent.Future getNetworkFirewall( GetNetworkFirewallRequest, GetNetworkFirewallResponse> handler); + /** + * Get Overall health status of Network Firewall + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future + getNetworkFirewallHealthStatus( + GetNetworkFirewallHealthStatusRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetNetworkFirewallHealthStatusRequest, + GetNetworkFirewallHealthStatusResponse> + handler); + /** * Gets a NetworkFirewallPolicy given the network firewall policy identifier. * diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallAsyncClient.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallAsyncClient.java index ab7593ddb02..086a9ef2b9d 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallAsyncClient.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallAsyncClient.java @@ -2067,6 +2067,42 @@ public java.util.concurrent.Future getNetworkFirewal .callAsync(handler); } + @Override + public java.util.concurrent.Future + getNetworkFirewallHealthStatus( + GetNetworkFirewallHealthStatusRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetNetworkFirewallHealthStatusRequest, + GetNetworkFirewallHealthStatusResponse> + handler) { + + Validate.notBlank(request.getNetworkFirewallId(), "networkFirewallId must not be blank"); + + return clientCall(request, GetNetworkFirewallHealthStatusResponse::builder) + .logger(LOG, "getNetworkFirewallHealthStatus") + .serviceDetails( + "NetworkFirewall", + "GetNetworkFirewallHealthStatus", + "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/NetworkFirewallHealthStatus/GetNetworkFirewallHealthStatus") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetNetworkFirewallHealthStatusRequest::builder) + .basePath("/20230501") + .appendPathParam("networkFirewalls") + .appendPathParam(request.getNetworkFirewallId()) + .appendPathParam("healthStatus") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBody( + com.oracle.bmc.networkfirewall.model.NetworkFirewallHealthStatus.class, + GetNetworkFirewallHealthStatusResponse.Builder::networkFirewallHealthStatus) + .handleResponseHeaderString( + "etag", GetNetworkFirewallHealthStatusResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", + GetNetworkFirewallHealthStatusResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getNetworkFirewallPolicy( GetNetworkFirewallPolicyRequest request, diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallClient.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallClient.java index c962041c678..6340ded00a5 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallClient.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/NetworkFirewallClient.java @@ -1943,6 +1943,38 @@ public GetNetworkFirewallResponse getNetworkFirewall(GetNetworkFirewallRequest r .callSync(); } + @Override + public GetNetworkFirewallHealthStatusResponse getNetworkFirewallHealthStatus( + GetNetworkFirewallHealthStatusRequest request) { + + Validate.notBlank(request.getNetworkFirewallId(), "networkFirewallId must not be blank"); + + return clientCall(request, GetNetworkFirewallHealthStatusResponse::builder) + .logger(LOG, "getNetworkFirewallHealthStatus") + .serviceDetails( + "NetworkFirewall", + "GetNetworkFirewallHealthStatus", + "https://docs.oracle.com/iaas/api/#/en/network-firewall/20230501/NetworkFirewallHealthStatus/GetNetworkFirewallHealthStatus") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetNetworkFirewallHealthStatusRequest::builder) + .basePath("/20230501") + .appendPathParam("networkFirewalls") + .appendPathParam(request.getNetworkFirewallId()) + .appendPathParam("healthStatus") + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .operationUsesDefaultRetries() + .handleBody( + com.oracle.bmc.networkfirewall.model.NetworkFirewallHealthStatus.class, + GetNetworkFirewallHealthStatusResponse.Builder::networkFirewallHealthStatus) + .handleResponseHeaderString( + "etag", GetNetworkFirewallHealthStatusResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", + GetNetworkFirewallHealthStatusResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetNetworkFirewallPolicyResponse getNetworkFirewallPolicy( GetNetworkFirewallPolicyRequest request) { diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/AppType.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/AppType.java index b436493a7c2..18fc51849c0 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/AppType.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/AppType.java @@ -4,7 +4,10 @@ */ package com.oracle.bmc.networkfirewall.model; -/** Application Type: * ICMP - An ICMP application. * ICMPv6 - An ICMPv6 support application. */ +/** + * Application Type: * ICMP - A user-defined ICMP application. * ICMPv6 - A user-defined ICMPv6 + * support application. + */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230501") public enum AppType implements com.oracle.bmc.http.internal.BmcEnum { Icmp("ICMP"), diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/CreateDecryptionRuleDetails.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/CreateDecryptionRuleDetails.java index 671e4cad6b2..0f57209fc51 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/CreateDecryptionRuleDetails.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/CreateDecryptionRuleDetails.java @@ -31,6 +31,7 @@ public final class CreateDecryptionRuleDetails "action", "decryptionProfile", "secret", + "secrets", "position" }) public CreateDecryptionRuleDetails( @@ -40,6 +41,7 @@ public CreateDecryptionRuleDetails( DecryptionActionType action, String decryptionProfile, String secret, + java.util.List secrets, RulePosition position) { super(); this.name = name; @@ -48,6 +50,7 @@ public CreateDecryptionRuleDetails( this.action = action; this.decryptionProfile = decryptionProfile; this.secret = secret; + this.secrets = secrets; this.position = position; } @@ -153,6 +156,21 @@ public Builder secret(String secret) { this.__explicitlySet__.add("secret"); return this; } + /** An array of mapped secrets. */ + @com.fasterxml.jackson.annotation.JsonProperty("secrets") + private java.util.List secrets; + + /** + * An array of mapped secrets. + * + * @param secrets the value to set + * @return this builder + */ + public Builder secrets(java.util.List secrets) { + this.secrets = secrets; + this.__explicitlySet__.add("secrets"); + return this; + } @com.fasterxml.jackson.annotation.JsonProperty("position") private RulePosition position; @@ -175,6 +193,7 @@ public CreateDecryptionRuleDetails build() { this.action, this.decryptionProfile, this.secret, + this.secrets, this.position); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -202,6 +221,9 @@ public Builder copy(CreateDecryptionRuleDetails model) { if (model.wasPropertyExplicitlySet("secret")) { this.secret(model.getSecret()); } + if (model.wasPropertyExplicitlySet("secrets")) { + this.secrets(model.getSecrets()); + } if (model.wasPropertyExplicitlySet("position")) { this.position(model.getPosition()); } @@ -302,6 +324,19 @@ public String getSecret() { return secret; } + /** An array of mapped secrets. */ + @com.fasterxml.jackson.annotation.JsonProperty("secrets") + private final java.util.List secrets; + + /** + * An array of mapped secrets. + * + * @return the value + */ + public java.util.List getSecrets() { + return secrets; + } + @com.fasterxml.jackson.annotation.JsonProperty("position") private final RulePosition position; @@ -330,6 +365,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", action=").append(String.valueOf(this.action)); sb.append(", decryptionProfile=").append(String.valueOf(this.decryptionProfile)); sb.append(", secret=").append(String.valueOf(this.secret)); + sb.append(", secrets=").append(String.valueOf(this.secrets)); sb.append(", position=").append(String.valueOf(this.position)); sb.append(")"); return sb.toString(); @@ -351,6 +387,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.action, other.action) && java.util.Objects.equals(this.decryptionProfile, other.decryptionProfile) && java.util.Objects.equals(this.secret, other.secret) + && java.util.Objects.equals(this.secrets, other.secrets) && java.util.Objects.equals(this.position, other.position) && super.equals(other); } @@ -367,6 +404,7 @@ public int hashCode() { (result * PRIME) + (this.decryptionProfile == null ? 43 : this.decryptionProfile.hashCode()); result = (result * PRIME) + (this.secret == null ? 43 : this.secret.hashCode()); + result = (result * PRIME) + (this.secrets == null ? 43 : this.secrets.hashCode()); result = (result * PRIME) + (this.position == null ? 43 : this.position.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/CreateNetworkFirewallDetails.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/CreateNetworkFirewallDetails.java index cd869975761..b1a0da289bf 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/CreateNetworkFirewallDetails.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/CreateNetworkFirewallDetails.java @@ -35,7 +35,8 @@ public final class CreateNetworkFirewallDetails "natConfiguration", "shape", "freeformTags", - "definedTags" + "definedTags", + "securityAttributes" }) public CreateNetworkFirewallDetails( String displayName, @@ -49,7 +50,8 @@ public CreateNetworkFirewallDetails( NatConfigurationRequest natConfiguration, String shape, java.util.Map freeformTags, - java.util.Map> definedTags) { + java.util.Map> definedTags, + java.util.Map> securityAttributes) { super(); this.displayName = displayName; this.compartmentId = compartmentId; @@ -63,6 +65,7 @@ public CreateNetworkFirewallDetails( this.shape = shape; this.freeformTags = freeformTags; this.definedTags = definedTags; + this.securityAttributes = securityAttributes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -288,6 +291,32 @@ public Builder definedTags( this.__explicitlySet__.add("definedTags"); return this; } + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + * + * @param securityAttributes the value to set + * @return this builder + */ + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -306,7 +335,8 @@ public CreateNetworkFirewallDetails build() { this.natConfiguration, this.shape, this.freeformTags, - this.definedTags); + this.definedTags, + this.securityAttributes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -351,6 +381,9 @@ public Builder copy(CreateNetworkFirewallDetails model) { if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } return this; } } @@ -558,6 +591,29 @@ public java.util.Map> getDefinedTags() { return definedTags; } + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private final java.util.Map> securityAttributes; + + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + * + * @return the value + */ + public java.util.Map> getSecurityAttributes() { + return securityAttributes; + } + @Override public String toString() { return this.toString(true); @@ -587,6 +643,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", shape=").append(String.valueOf(this.shape)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); sb.append(")"); return sb.toString(); } @@ -615,6 +672,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.shape, other.shape) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) && super.equals(other); } @@ -650,6 +708,11 @@ public int hashCode() { result = (result * PRIME) + (this.shape == null ? 43 : this.shape.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.securityAttributes == null + ? 43 + : this.securityAttributes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/DecryptionRule.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/DecryptionRule.java index 250a598a3d6..5e6315d5458 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/DecryptionRule.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/DecryptionRule.java @@ -29,6 +29,7 @@ public final class DecryptionRule "action", "decryptionProfile", "secret", + "secrets", "position", "parentResourceId", "description" @@ -39,6 +40,7 @@ public DecryptionRule( DecryptionActionType action, String decryptionProfile, String secret, + java.util.List secrets, RulePosition position, String parentResourceId, String description) { @@ -48,6 +50,7 @@ public DecryptionRule( this.action = action; this.decryptionProfile = decryptionProfile; this.secret = secret; + this.secrets = secrets; this.position = position; this.parentResourceId = parentResourceId; this.description = description; @@ -138,6 +141,21 @@ public Builder secret(String secret) { this.__explicitlySet__.add("secret"); return this; } + /** An array of mapped secrets. */ + @com.fasterxml.jackson.annotation.JsonProperty("secrets") + private java.util.List secrets; + + /** + * An array of mapped secrets. + * + * @param secrets the value to set + * @return this builder + */ + public Builder secrets(java.util.List secrets) { + this.secrets = secrets; + this.__explicitlySet__.add("secrets"); + return this; + } @com.fasterxml.jackson.annotation.JsonProperty("position") private RulePosition position; @@ -191,6 +209,7 @@ public DecryptionRule build() { this.action, this.decryptionProfile, this.secret, + this.secrets, this.position, this.parentResourceId, this.description); @@ -217,6 +236,9 @@ public Builder copy(DecryptionRule model) { if (model.wasPropertyExplicitlySet("secret")) { this.secret(model.getSecret()); } + if (model.wasPropertyExplicitlySet("secrets")) { + this.secrets(model.getSecrets()); + } if (model.wasPropertyExplicitlySet("position")) { this.position(model.getPosition()); } @@ -310,6 +332,19 @@ public String getSecret() { return secret; } + /** An array of mapped secrets. */ + @com.fasterxml.jackson.annotation.JsonProperty("secrets") + private final java.util.List secrets; + + /** + * An array of mapped secrets. + * + * @return the value + */ + public java.util.List getSecrets() { + return secrets; + } + @com.fasterxml.jackson.annotation.JsonProperty("position") private final RulePosition position; @@ -363,6 +398,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", action=").append(String.valueOf(this.action)); sb.append(", decryptionProfile=").append(String.valueOf(this.decryptionProfile)); sb.append(", secret=").append(String.valueOf(this.secret)); + sb.append(", secrets=").append(String.valueOf(this.secrets)); sb.append(", position=").append(String.valueOf(this.position)); sb.append(", parentResourceId=").append(String.valueOf(this.parentResourceId)); sb.append(", description=").append(String.valueOf(this.description)); @@ -385,6 +421,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.action, other.action) && java.util.Objects.equals(this.decryptionProfile, other.decryptionProfile) && java.util.Objects.equals(this.secret, other.secret) + && java.util.Objects.equals(this.secrets, other.secrets) && java.util.Objects.equals(this.position, other.position) && java.util.Objects.equals(this.parentResourceId, other.parentResourceId) && java.util.Objects.equals(this.description, other.description) @@ -402,6 +439,7 @@ public int hashCode() { (result * PRIME) + (this.decryptionProfile == null ? 43 : this.decryptionProfile.hashCode()); result = (result * PRIME) + (this.secret == null ? 43 : this.secret.hashCode()); + result = (result * PRIME) + (this.secrets == null ? 43 : this.secrets.hashCode()); result = (result * PRIME) + (this.position == null ? 43 : this.position.hashCode()); result = (result * PRIME) diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/DecryptionRuleMatchCriteria.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/DecryptionRuleMatchCriteria.java index a62fe36bbd2..d6dcced1c93 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/DecryptionRuleMatchCriteria.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/DecryptionRuleMatchCriteria.java @@ -33,12 +33,12 @@ public DecryptionRuleMatchCriteria( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { - /** An array of IP address list names to be evaluated against the traffic source address. */ + /** An array of address list names to be evaluated against the traffic source address. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceAddress") private java.util.List sourceAddress; /** - * An array of IP address list names to be evaluated against the traffic source address. + * An array of address list names to be evaluated against the traffic source address. * * @param sourceAddress the value to set * @return this builder @@ -49,15 +49,13 @@ public Builder sourceAddress(java.util.List sourceAddress) { return this; } /** - * An array of IP address list names to be evaluated against the traffic destination - * address. + * An array of address list names to be evaluated against the traffic destination address. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationAddress") private java.util.List destinationAddress; /** - * An array of IP address list names to be evaluated against the traffic destination - * address. + * An array of address list names to be evaluated against the traffic destination address. * * @param destinationAddress the value to set * @return this builder @@ -101,12 +99,12 @@ public Builder toBuilder() { return new Builder().copy(this); } - /** An array of IP address list names to be evaluated against the traffic source address. */ + /** An array of address list names to be evaluated against the traffic source address. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceAddress") private final java.util.List sourceAddress; /** - * An array of IP address list names to be evaluated against the traffic source address. + * An array of address list names to be evaluated against the traffic source address. * * @return the value */ @@ -114,14 +112,12 @@ public java.util.List getSourceAddress() { return sourceAddress; } - /** - * An array of IP address list names to be evaluated against the traffic destination address. - */ + /** An array of address list names to be evaluated against the traffic destination address. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationAddress") private final java.util.List destinationAddress; /** - * An array of IP address list names to be evaluated against the traffic destination address. + * An array of address list names to be evaluated against the traffic destination address. * * @return the value */ diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/HealthStatus.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/HealthStatus.java new file mode 100644 index 00000000000..a6412fa5172 --- /dev/null +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/HealthStatus.java @@ -0,0 +1,55 @@ +/** + * 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.networkfirewall.model; + +/** Overall health status of Network firewall */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230501") +public enum HealthStatus implements com.oracle.bmc.http.internal.BmcEnum { + Critical("CRITICAL"), + Warning("WARNING"), + Ok("OK"), + Unknown("UNKNOWN"), + + /** + * 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(HealthStatus.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (HealthStatus v : HealthStatus.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + HealthStatus(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static HealthStatus create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'HealthStatus', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } +} diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NatRuleMatchCriteria.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NatRuleMatchCriteria.java index 964de963fd3..cad1f9b20cd 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NatRuleMatchCriteria.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NatRuleMatchCriteria.java @@ -36,12 +36,12 @@ public NatRuleMatchCriteria( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { - /** An array of IP address list names to be evaluated against the traffic source address. */ + /** An array of address list names to be evaluated against the traffic source address. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceAddress") private java.util.List sourceAddress; /** - * An array of IP address list names to be evaluated against the traffic source address. + * An array of address list names to be evaluated against the traffic source address. * * @param sourceAddress the value to set * @return this builder @@ -52,15 +52,13 @@ public Builder sourceAddress(java.util.List sourceAddress) { return this; } /** - * An array of IP address list names to be evaluated against the traffic destination - * address. + * An array of address list names to be evaluated against the traffic destination address. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationAddress") private java.util.List destinationAddress; /** - * An array of IP address list names to be evaluated against the traffic destination - * address. + * An array of address list names to be evaluated against the traffic destination address. * * @param destinationAddress the value to set * @return this builder @@ -127,12 +125,12 @@ public Builder toBuilder() { return new Builder().copy(this); } - /** An array of IP address list names to be evaluated against the traffic source address. */ + /** An array of address list names to be evaluated against the traffic source address. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceAddress") private final java.util.List sourceAddress; /** - * An array of IP address list names to be evaluated against the traffic source address. + * An array of address list names to be evaluated against the traffic source address. * * @return the value */ @@ -140,14 +138,12 @@ public java.util.List getSourceAddress() { return sourceAddress; } - /** - * An array of IP address list names to be evaluated against the traffic destination address. - */ + /** An array of address list names to be evaluated against the traffic destination address. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationAddress") private final java.util.List destinationAddress; /** - * An array of IP address list names to be evaluated against the traffic destination address. + * An array of address list names to be evaluated against the traffic destination address. * * @return the value */ diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewall.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewall.java index bc7ab19c83c..4f52a9859b9 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewall.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewall.java @@ -44,7 +44,8 @@ public final class NetworkFirewall "lifecycleDetails", "freeformTags", "definedTags", - "systemTags" + "systemTags", + "securityAttributes" }) public NetworkFirewall( String id, @@ -64,7 +65,8 @@ public NetworkFirewall( String lifecycleDetails, java.util.Map freeformTags, java.util.Map> definedTags, - java.util.Map> systemTags) { + java.util.Map> systemTags, + java.util.Map> securityAttributes) { super(); this.id = id; this.compartmentId = compartmentId; @@ -84,6 +86,7 @@ public NetworkFirewall( this.freeformTags = freeformTags; this.definedTags = definedTags; this.systemTags = systemTags; + this.securityAttributes = securityAttributes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -419,6 +422,32 @@ public Builder systemTags(java.util.Map> s this.__explicitlySet__.add("systemTags"); return this; } + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + * + * @param securityAttributes the value to set + * @return this builder + */ + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -443,7 +472,8 @@ public NetworkFirewall build() { this.lifecycleDetails, this.freeformTags, this.definedTags, - this.systemTags); + this.systemTags, + this.securityAttributes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -506,6 +536,9 @@ public Builder copy(NetworkFirewall model) { if (model.wasPropertyExplicitlySet("systemTags")) { this.systemTags(model.getSystemTags()); } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } return this; } } @@ -813,6 +846,29 @@ public java.util.Map> getSystemTags() { return systemTags; } + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private final java.util.Map> securityAttributes; + + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + * + * @return the value + */ + public java.util.Map> getSecurityAttributes() { + return securityAttributes; + } + @Override public String toString() { return this.toString(true); @@ -848,6 +904,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(", securityAttributes=").append(String.valueOf(this.securityAttributes)); sb.append(")"); return sb.toString(); } @@ -882,6 +939,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.securityAttributes, other.securityAttributes) && super.equals(other); } @@ -927,6 +985,11 @@ 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.securityAttributes == null + ? 43 + : this.securityAttributes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewallHealthStatus.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewallHealthStatus.java new file mode 100644 index 00000000000..8fc630245b7 --- /dev/null +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewallHealthStatus.java @@ -0,0 +1,133 @@ +/** + * 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.networkfirewall.model; + +/** + * Response for network firewall health status.
+ * 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 Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230501") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = NetworkFirewallHealthStatus.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class NetworkFirewallHealthStatus + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"status"}) + public NetworkFirewallHealthStatus(HealthStatus status) { + super(); + this.status = status; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Overall health status of Network firewall */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private HealthStatus status; + + /** + * Overall health status of Network firewall + * + * @param status the value to set + * @return this builder + */ + public Builder status(HealthStatus status) { + this.status = status; + this.__explicitlySet__.add("status"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public NetworkFirewallHealthStatus build() { + NetworkFirewallHealthStatus model = new NetworkFirewallHealthStatus(this.status); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(NetworkFirewallHealthStatus model) { + if (model.wasPropertyExplicitlySet("status")) { + this.status(model.getStatus()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Overall health status of Network firewall */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private final HealthStatus status; + + /** + * Overall health status of Network firewall + * + * @return the value + */ + public HealthStatus getStatus() { + return status; + } + + @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("NetworkFirewallHealthStatus("); + sb.append("super=").append(super.toString()); + sb.append("status=").append(String.valueOf(this.status)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof NetworkFirewallHealthStatus)) { + return false; + } + + NetworkFirewallHealthStatus other = (NetworkFirewallHealthStatus) o; + return java.util.Objects.equals(this.status, other.status) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.status == null ? 43 : this.status.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewallSummary.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewallSummary.java index 671ce5b5602..7bf6e3368b6 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewallSummary.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/NetworkFirewallSummary.java @@ -40,7 +40,8 @@ public final class NetworkFirewallSummary "lifecycleDetails", "freeformTags", "definedTags", - "systemTags" + "systemTags", + "securityAttributes" }) public NetworkFirewallSummary( String id, @@ -59,7 +60,8 @@ public NetworkFirewallSummary( String lifecycleDetails, java.util.Map freeformTags, java.util.Map> definedTags, - java.util.Map> systemTags) { + java.util.Map> systemTags, + java.util.Map> securityAttributes) { super(); this.id = id; this.compartmentId = compartmentId; @@ -78,6 +80,7 @@ public NetworkFirewallSummary( this.freeformTags = freeformTags; this.definedTags = definedTags; this.systemTags = systemTags; + this.securityAttributes = securityAttributes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -392,6 +395,32 @@ public Builder systemTags(java.util.Map> s this.__explicitlySet__.add("systemTags"); return this; } + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + * + * @param securityAttributes the value to set + * @return this builder + */ + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -415,7 +444,8 @@ public NetworkFirewallSummary build() { this.lifecycleDetails, this.freeformTags, this.definedTags, - this.systemTags); + this.systemTags, + this.securityAttributes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -475,6 +505,9 @@ public Builder copy(NetworkFirewallSummary model) { if (model.wasPropertyExplicitlySet("systemTags")) { this.systemTags(model.getSystemTags()); } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } return this; } } @@ -761,6 +794,29 @@ public java.util.Map> getSystemTags() { return systemTags; } + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private final java.util.Map> securityAttributes; + + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + * + * @return the value + */ + public java.util.Map> getSecurityAttributes() { + return securityAttributes; + } + @Override public String toString() { return this.toString(true); @@ -794,6 +850,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(", securityAttributes=").append(String.valueOf(this.securityAttributes)); sb.append(")"); return sb.toString(); } @@ -826,6 +883,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.securityAttributes, other.securityAttributes) && super.equals(other); } @@ -866,6 +924,11 @@ 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.securityAttributes == null + ? 43 + : this.securityAttributes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/SecurityRuleMatchCriteria.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/SecurityRuleMatchCriteria.java index f6d559fca92..c73eab94e69 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/SecurityRuleMatchCriteria.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/SecurityRuleMatchCriteria.java @@ -47,12 +47,12 @@ public SecurityRuleMatchCriteria( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { - /** An array of IP address list names to be evaluated against the traffic source address. */ + /** An array of address list names to be evaluated against the traffic source address. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceAddress") private java.util.List sourceAddress; /** - * An array of IP address list names to be evaluated against the traffic source address. + * An array of address list names to be evaluated against the traffic source address. * * @param sourceAddress the value to set * @return this builder @@ -63,15 +63,13 @@ public Builder sourceAddress(java.util.List sourceAddress) { return this; } /** - * An array of IP address list names to be evaluated against the traffic destination - * address. + * An array of address list names to be evaluated against the traffic destination address. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationAddress") private java.util.List destinationAddress; /** - * An array of IP address list names to be evaluated against the traffic destination - * address. + * An array of address list names to be evaluated against the traffic destination address. * * @param destinationAddress the value to set * @return this builder @@ -184,12 +182,12 @@ public Builder toBuilder() { return new Builder().copy(this); } - /** An array of IP address list names to be evaluated against the traffic source address. */ + /** An array of address list names to be evaluated against the traffic source address. */ @com.fasterxml.jackson.annotation.JsonProperty("sourceAddress") private final java.util.List sourceAddress; /** - * An array of IP address list names to be evaluated against the traffic source address. + * An array of address list names to be evaluated against the traffic source address. * * @return the value */ @@ -197,14 +195,12 @@ public java.util.List getSourceAddress() { return sourceAddress; } - /** - * An array of IP address list names to be evaluated against the traffic destination address. - */ + /** An array of address list names to be evaluated against the traffic destination address. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationAddress") private final java.util.List destinationAddress; /** - * An array of IP address list names to be evaluated against the traffic destination address. + * An array of address list names to be evaluated against the traffic destination address. * * @return the value */ diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/UpdateDecryptionRuleDetails.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/UpdateDecryptionRuleDetails.java index e0d34c586fd..c2c588cfd91 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/UpdateDecryptionRuleDetails.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/UpdateDecryptionRuleDetails.java @@ -30,6 +30,7 @@ public final class UpdateDecryptionRuleDetails "action", "decryptionProfile", "secret", + "secrets", "position" }) public UpdateDecryptionRuleDetails( @@ -38,6 +39,7 @@ public UpdateDecryptionRuleDetails( DecryptionActionType action, String decryptionProfile, String secret, + java.util.List secrets, RulePosition position) { super(); this.description = description; @@ -45,6 +47,7 @@ public UpdateDecryptionRuleDetails( this.action = action; this.decryptionProfile = decryptionProfile; this.secret = secret; + this.secrets = secrets; this.position = position; } @@ -135,6 +138,21 @@ public Builder secret(String secret) { this.__explicitlySet__.add("secret"); return this; } + /** An array of mapped secrets. */ + @com.fasterxml.jackson.annotation.JsonProperty("secrets") + private java.util.List secrets; + + /** + * An array of mapped secrets. + * + * @param secrets the value to set + * @return this builder + */ + public Builder secrets(java.util.List secrets) { + this.secrets = secrets; + this.__explicitlySet__.add("secrets"); + return this; + } @com.fasterxml.jackson.annotation.JsonProperty("position") private RulePosition position; @@ -156,6 +174,7 @@ public UpdateDecryptionRuleDetails build() { this.action, this.decryptionProfile, this.secret, + this.secrets, this.position); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -180,6 +199,9 @@ public Builder copy(UpdateDecryptionRuleDetails model) { if (model.wasPropertyExplicitlySet("secret")) { this.secret(model.getSecret()); } + if (model.wasPropertyExplicitlySet("secrets")) { + this.secrets(model.getSecrets()); + } if (model.wasPropertyExplicitlySet("position")) { this.position(model.getPosition()); } @@ -267,6 +289,19 @@ public String getSecret() { return secret; } + /** An array of mapped secrets. */ + @com.fasterxml.jackson.annotation.JsonProperty("secrets") + private final java.util.List secrets; + + /** + * An array of mapped secrets. + * + * @return the value + */ + public java.util.List getSecrets() { + return secrets; + } + @com.fasterxml.jackson.annotation.JsonProperty("position") private final RulePosition position; @@ -294,6 +329,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", action=").append(String.valueOf(this.action)); sb.append(", decryptionProfile=").append(String.valueOf(this.decryptionProfile)); sb.append(", secret=").append(String.valueOf(this.secret)); + sb.append(", secrets=").append(String.valueOf(this.secrets)); sb.append(", position=").append(String.valueOf(this.position)); sb.append(")"); return sb.toString(); @@ -314,6 +350,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.action, other.action) && java.util.Objects.equals(this.decryptionProfile, other.decryptionProfile) && java.util.Objects.equals(this.secret, other.secret) + && java.util.Objects.equals(this.secrets, other.secrets) && java.util.Objects.equals(this.position, other.position) && super.equals(other); } @@ -329,6 +366,7 @@ public int hashCode() { (result * PRIME) + (this.decryptionProfile == null ? 43 : this.decryptionProfile.hashCode()); result = (result * PRIME) + (this.secret == null ? 43 : this.secret.hashCode()); + result = (result * PRIME) + (this.secrets == null ? 43 : this.secrets.hashCode()); result = (result * PRIME) + (this.position == null ? 43 : this.position.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/UpdateNetworkFirewallDetails.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/UpdateNetworkFirewallDetails.java index 89df8ef6aad..09450defc9a 100644 --- a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/UpdateNetworkFirewallDetails.java +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/model/UpdateNetworkFirewallDetails.java @@ -30,7 +30,8 @@ public final class UpdateNetworkFirewallDetails "natConfiguration", "shape", "freeformTags", - "definedTags" + "definedTags", + "securityAttributes" }) public UpdateNetworkFirewallDetails( String displayName, @@ -39,7 +40,8 @@ public UpdateNetworkFirewallDetails( NatConfigurationRequest natConfiguration, String shape, java.util.Map freeformTags, - java.util.Map> definedTags) { + java.util.Map> definedTags, + java.util.Map> securityAttributes) { super(); this.displayName = displayName; this.networkFirewallPolicyId = networkFirewallPolicyId; @@ -48,6 +50,7 @@ public UpdateNetworkFirewallDetails( this.shape = shape; this.freeformTags = freeformTags; this.definedTags = definedTags; + this.securityAttributes = securityAttributes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -182,6 +185,32 @@ public Builder definedTags( this.__explicitlySet__.add("definedTags"); return this; } + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private java.util.Map> securityAttributes; + + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + * + * @param securityAttributes the value to set + * @return this builder + */ + public Builder securityAttributes( + java.util.Map> securityAttributes) { + this.securityAttributes = securityAttributes; + this.__explicitlySet__.add("securityAttributes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -195,7 +224,8 @@ public UpdateNetworkFirewallDetails build() { this.natConfiguration, this.shape, this.freeformTags, - this.definedTags); + this.definedTags, + this.securityAttributes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -225,6 +255,9 @@ public Builder copy(UpdateNetworkFirewallDetails model) { if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } + if (model.wasPropertyExplicitlySet("securityAttributes")) { + this.securityAttributes(model.getSecurityAttributes()); + } return this; } } @@ -353,6 +386,29 @@ public java.util.Map> getDefinedTags() { return definedTags; } + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityAttributes") + private final java.util.Map> securityAttributes; + + /** + * Security attributes 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). + * + *

Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}} + * + * @return the value + */ + public java.util.Map> getSecurityAttributes() { + return securityAttributes; + } + @Override public String toString() { return this.toString(true); @@ -377,6 +433,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", shape=").append(String.valueOf(this.shape)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", securityAttributes=").append(String.valueOf(this.securityAttributes)); sb.append(")"); return sb.toString(); } @@ -400,6 +457,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.shape, other.shape) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.securityAttributes, other.securityAttributes) && super.equals(other); } @@ -424,6 +482,11 @@ public int hashCode() { result = (result * PRIME) + (this.shape == null ? 43 : this.shape.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.securityAttributes == null + ? 43 + : this.securityAttributes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/requests/GetNetworkFirewallHealthStatusRequest.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/requests/GetNetworkFirewallHealthStatusRequest.java new file mode 100644 index 00000000000..a796ed0d391 --- /dev/null +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/requests/GetNetworkFirewallHealthStatusRequest.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.networkfirewall.requests; + +import com.oracle.bmc.networkfirewall.model.*; +/** + * Example: Click here to see how to use + * GetNetworkFirewallHealthStatusRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230501") +public class GetNetworkFirewallHealthStatusRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Network Firewall resource. + */ + private String networkFirewallId; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Network Firewall resource. + */ + public String getNetworkFirewallId() { + return networkFirewallId; + } + /** The client request ID for tracing. */ + private String opcRequestId; + + /** The client request ID for tracing. */ + public String getOpcRequestId() { + return opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetNetworkFirewallHealthStatusRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Network Firewall resource. + */ + private String networkFirewallId = null; + + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * Network Firewall resource. + * + * @param networkFirewallId the value to set + * @return this builder instance + */ + public Builder networkFirewallId(String networkFirewallId) { + this.networkFirewallId = networkFirewallId; + return this; + } + + /** The client request ID for tracing. */ + private String opcRequestId = null; + + /** + * The client request ID for tracing. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetNetworkFirewallHealthStatusRequest o) { + networkFirewallId(o.getNetworkFirewallId()); + opcRequestId(o.getOpcRequestId()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetNetworkFirewallHealthStatusRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetNetworkFirewallHealthStatusRequest + */ + public GetNetworkFirewallHealthStatusRequest build() { + GetNetworkFirewallHealthStatusRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetNetworkFirewallHealthStatusRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetNetworkFirewallHealthStatusRequest + */ + public GetNetworkFirewallHealthStatusRequest buildWithoutInvocationCallback() { + GetNetworkFirewallHealthStatusRequest request = + new GetNetworkFirewallHealthStatusRequest(); + request.networkFirewallId = networkFirewallId; + request.opcRequestId = opcRequestId; + return request; + // new GetNetworkFirewallHealthStatusRequest(networkFirewallId, opcRequestId); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder().networkFirewallId(networkFirewallId).opcRequestId(opcRequestId); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",networkFirewallId=").append(String.valueOf(this.networkFirewallId)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetNetworkFirewallHealthStatusRequest)) { + return false; + } + + GetNetworkFirewallHealthStatusRequest other = (GetNetworkFirewallHealthStatusRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.networkFirewallId, other.networkFirewallId) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.networkFirewallId == null ? 43 : this.networkFirewallId.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/responses/GetNetworkFirewallHealthStatusResponse.java b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/responses/GetNetworkFirewallHealthStatusResponse.java new file mode 100644 index 00000000000..cc0d86c666d --- /dev/null +++ b/bmc-networkfirewall/src/main/java/com/oracle/bmc/networkfirewall/responses/GetNetworkFirewallHealthStatusResponse.java @@ -0,0 +1,221 @@ +/** + * 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.networkfirewall.responses; + +import com.oracle.bmc.networkfirewall.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230501") +public class GetNetworkFirewallHealthStatusResponse extends com.oracle.bmc.responses.BmcResponse { + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned {@code NetworkFirewallHealthStatus} instance. */ + private com.oracle.bmc.networkfirewall.model.NetworkFirewallHealthStatus + networkFirewallHealthStatus; + + /** + * The returned {@code NetworkFirewallHealthStatus} instance. + * + * @return the value + */ + public com.oracle.bmc.networkfirewall.model.NetworkFirewallHealthStatus + getNetworkFirewallHealthStatus() { + return networkFirewallHealthStatus; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "etag", + "opcRequestId", + "networkFirewallHealthStatus" + }) + private GetNetworkFirewallHealthStatusResponse( + int __httpStatusCode__, + java.util.Map> headers, + String etag, + String opcRequestId, + com.oracle.bmc.networkfirewall.model.NetworkFirewallHealthStatus + networkFirewallHealthStatus) { + super(__httpStatusCode__, headers); + this.etag = etag; + this.opcRequestId = opcRequestId; + this.networkFirewallHealthStatus = networkFirewallHealthStatus; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + GetNetworkFirewallHealthStatusResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned {@code NetworkFirewallHealthStatus} instance. */ + private com.oracle.bmc.networkfirewall.model.NetworkFirewallHealthStatus + networkFirewallHealthStatus; + + /** + * The returned {@code NetworkFirewallHealthStatus} instance. + * + * @param networkFirewallHealthStatus the value to set + * @return this builder + */ + public Builder networkFirewallHealthStatus( + com.oracle.bmc.networkfirewall.model.NetworkFirewallHealthStatus + networkFirewallHealthStatus) { + this.networkFirewallHealthStatus = networkFirewallHealthStatus; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetNetworkFirewallHealthStatusResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + etag(o.getEtag()); + opcRequestId(o.getOpcRequestId()); + networkFirewallHealthStatus(o.getNetworkFirewallHealthStatus()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetNetworkFirewallHealthStatusResponse build() { + return new GetNetworkFirewallHealthStatusResponse( + __httpStatusCode__, headers, etag, opcRequestId, networkFirewallHealthStatus); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",networkFirewallHealthStatus=") + .append(String.valueOf(networkFirewallHealthStatus)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetNetworkFirewallHealthStatusResponse)) { + return false; + } + + GetNetworkFirewallHealthStatusResponse other = (GetNetworkFirewallHealthStatusResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals( + this.networkFirewallHealthStatus, other.networkFirewallHealthStatus); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.networkFirewallHealthStatus == null + ? 43 + : this.networkFirewallHealthStatus.hashCode()); + return result; + } +} diff --git a/bmc-networkfirewall/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-networkfirewall/reflect-config.json b/bmc-networkfirewall/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-networkfirewall/reflect-config.json index 4b06e30fc14..26a53e34652 100644 --- a/bmc-networkfirewall/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-networkfirewall/reflect-config.json +++ b/bmc-networkfirewall/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-networkfirewall/reflect-config.json @@ -562,6 +562,12 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.networkfirewall.model.HealthStatus", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.networkfirewall.model.Icmp6Application", @@ -815,6 +821,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.networkfirewall.model.NetworkFirewallHealthStatus", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.networkfirewall.model.NetworkFirewallHealthStatus$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.networkfirewall.model.NetworkFirewallPolicy", diff --git a/bmc-networkloadbalancer/pom.xml b/bmc-networkloadbalancer/pom.xml index a25110cd672..5c6c7f01538 100644 --- a/bmc-networkloadbalancer/pom.xml +++ b/bmc-networkloadbalancer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-networkloadbalancer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-nosql/pom.xml b/bmc-nosql/pom.xml index 746d7b9d5f2..899009121fa 100644 --- a/bmc-nosql/pom.xml +++ b/bmc-nosql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-nosql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-objectstorage/bmc-objectstorage-combined/pom.xml b/bmc-objectstorage/bmc-objectstorage-combined/pom.xml index 53601f4ba04..ba3a43e4f7c 100644 --- a/bmc-objectstorage/bmc-objectstorage-combined/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-combined/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.87.0 + 3.88.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.87.0 + 3.88.0 diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml index dda6e1dfd80..5ada5edc547 100644 --- a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.87.0 + 3.88.0 ../pom.xml @@ -25,17 +25,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.87.0 + 3.88.0 org.slf4j diff --git a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml index fc8a645069c..235f25c059c 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.87.0 + 3.88.0 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 diff --git a/bmc-objectstorage/pom.xml b/bmc-objectstorage/pom.xml index 73c6fbc76d1..38bb22d638a 100644 --- a/bmc-objectstorage/pom.xml +++ b/bmc-objectstorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml diff --git a/bmc-oce/pom.xml b/bmc-oce/pom.xml index d42c063932c..4ce46962bd3 100644 --- a/bmc-oce/pom.xml +++ b/bmc-oce/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-oce @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-ocicontrolcenter/pom.xml b/bmc-ocicontrolcenter/pom.xml index b5015977c90..baf7bade25a 100644 --- a/bmc-ocicontrolcenter/pom.xml +++ b/bmc-ocicontrolcenter/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-ocicontrolcenter @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-ocvp/pom.xml b/bmc-ocvp/pom.xml index fcf3edf3010..d31e4aa4810 100644 --- a/bmc-ocvp/pom.xml +++ b/bmc-ocvp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-ocvp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-oda/pom.xml b/bmc-oda/pom.xml index 11676674571..41d883f52fb 100644 --- a/bmc-oda/pom.xml +++ b/bmc-oda/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-oda @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-onesubscription/pom.xml b/bmc-onesubscription/pom.xml index c28621954a8..058bb6d94e9 100644 --- a/bmc-onesubscription/pom.xml +++ b/bmc-onesubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-onesubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-ons/pom.xml b/bmc-ons/pom.xml index 762b0156ea5..82a2838c171 100644 --- a/bmc-ons/pom.xml +++ b/bmc-ons/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-ons @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-opa/pom.xml b/bmc-opa/pom.xml index fb8fdad1fb6..0eed52c7db3 100644 --- a/bmc-opa/pom.xml +++ b/bmc-opa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-opa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-opensearch/pom.xml b/bmc-opensearch/pom.xml index c5d975a5776..24175510e36 100644 --- a/bmc-opensearch/pom.xml +++ b/bmc-opensearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-opensearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-operatoraccesscontrol/pom.xml b/bmc-operatoraccesscontrol/pom.xml index 2f89bf2c078..5a63e1ecb74 100644 --- a/bmc-operatoraccesscontrol/pom.xml +++ b/bmc-operatoraccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-operatoraccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-opsi/pom.xml b/bmc-opsi/pom.xml index ff33c900315..d7dd2b7b06d 100644 --- a/bmc-opsi/pom.xml +++ b/bmc-opsi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-opsi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-optimizer/pom.xml b/bmc-optimizer/pom.xml index ec80c46c170..350aab95f7e 100644 --- a/bmc-optimizer/pom.xml +++ b/bmc-optimizer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-optimizer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-osmanagementhub/pom.xml b/bmc-osmanagementhub/pom.xml index b371828b8d1..895e88ce17f 100644 --- a/bmc-osmanagementhub/pom.xml +++ b/bmc-osmanagementhub/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-osmanagementhub @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-ospgateway/pom.xml b/bmc-ospgateway/pom.xml index 8dfb4053f83..c54aee11ec9 100644 --- a/bmc-ospgateway/pom.xml +++ b/bmc-ospgateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-ospgateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-osubbillingschedule/pom.xml b/bmc-osubbillingschedule/pom.xml index 5686284fcaf..14f08791fb2 100644 --- a/bmc-osubbillingschedule/pom.xml +++ b/bmc-osubbillingschedule/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-osubbillingschedule @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-osuborganizationsubscription/pom.xml b/bmc-osuborganizationsubscription/pom.xml index 8bb8fbd3ff4..823cb67de3d 100644 --- a/bmc-osuborganizationsubscription/pom.xml +++ b/bmc-osuborganizationsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-osuborganizationsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-osubsubscription/pom.xml b/bmc-osubsubscription/pom.xml index 6e2ef752428..cbd2ec1edd3 100644 --- a/bmc-osubsubscription/pom.xml +++ b/bmc-osubsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-osubsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-osubusage/pom.xml b/bmc-osubusage/pom.xml index a9ee80d8f1a..d4ab1351b27 100644 --- a/bmc-osubusage/pom.xml +++ b/bmc-osubusage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-osubusage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-other-examples/bmc-jersey-examples/pom.xml b/bmc-other-examples/bmc-jersey-examples/pom.xml index e2bedde674c..12f790fc0bb 100644 --- a/bmc-other-examples/bmc-jersey-examples/pom.xml +++ b/bmc-other-examples/bmc-jersey-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-jersey-examples - 3.87.0 + 3.88.0 Oracle Cloud Infrastructure SDK - Examples using Jersey 2 HTTP client This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 2 HTTP client https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm @@ -58,7 +58,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.87.0 + 3.88.0 false @@ -95,14 +95,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.87.0 + 3.88.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.87.0 + 3.88.0 pom import diff --git a/bmc-other-examples/bmc-jersey3-examples/pom.xml b/bmc-other-examples/bmc-jersey3-examples/pom.xml index 15832481641..b5fab96caac 100644 --- a/bmc-other-examples/bmc-jersey3-examples/pom.xml +++ b/bmc-other-examples/bmc-jersey3-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-jersey3-examples - 3.87.0 + 3.88.0 Oracle Cloud Infrastructure SDK - Examples using Jersey 3 HTTP client This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 3 HTTP client https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm @@ -58,7 +58,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.87.0 + 3.88.0 false @@ -95,14 +95,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.87.0 + 3.88.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.87.0 + 3.88.0 pom import diff --git a/bmc-other-examples/native-maven-example/pom.xml b/bmc-other-examples/native-maven-example/pom.xml index 799a537a989..81484844eea 100644 --- a/bmc-other-examples/native-maven-example/pom.xml +++ b/bmc-other-examples/native-maven-example/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-examples-native - 3.87.0 + 3.88.0 Oracle Cloud Infrastructure SDK - Native Example This project contains an example on how to use the SDK used for Oracle Cloud Infrastructure in a native executable https://docs.oracle.com/iaas/Content/API/SDKDocs/javasdk.htm @@ -98,14 +98,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.87.0 + 3.88.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.87.0 + 3.88.0 pom import diff --git a/bmc-other-examples/pom.xml b/bmc-other-examples/pom.xml index 707fe5aed6d..cb691f1161f 100644 --- a/bmc-other-examples/pom.xml +++ b/bmc-other-examples/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml diff --git a/bmc-psa/pom.xml b/bmc-psa/pom.xml index 8102ac1522e..b20e03fd884 100644 --- a/bmc-psa/pom.xml +++ b/bmc-psa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-psa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-psql/pom.xml b/bmc-psql/pom.xml index 278d9d915fc..89e5e1980a3 100644 --- a/bmc-psql/pom.xml +++ b/bmc-psql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-psql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-queue/pom.xml b/bmc-queue/pom.xml index 7f749a98f27..5b98de014a1 100644 --- a/bmc-queue/pom.xml +++ b/bmc-queue/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-queue @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-recovery/pom.xml b/bmc-recovery/pom.xml index 8342bc8dd7a..e34b54871b2 100644 --- a/bmc-recovery/pom.xml +++ b/bmc-recovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-recovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-redis/pom.xml b/bmc-redis/pom.xml index 077e23a06a8..6fecaea2772 100644 --- a/bmc-redis/pom.xml +++ b/bmc-redis/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-redis @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-resourceanalytics/pom.xml b/bmc-resourceanalytics/pom.xml index 57edb79792c..dcb4e6a9dbe 100644 --- a/bmc-resourceanalytics/pom.xml +++ b/bmc-resourceanalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-resourceanalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-resourcemanager/pom.xml b/bmc-resourcemanager/pom.xml index 6664f8e02ff..f21bfd84235 100644 --- a/bmc-resourcemanager/pom.xml +++ b/bmc-resourcemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-resourcemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-resourcescheduler/pom.xml b/bmc-resourcescheduler/pom.xml index f81384b54ca..4c0df4d72ed 100644 --- a/bmc-resourcescheduler/pom.xml +++ b/bmc-resourcescheduler/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-resourcescheduler @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-resourcesearch/pom.xml b/bmc-resourcesearch/pom.xml index 6ed888ede9f..b56cb648951 100644 --- a/bmc-resourcesearch/pom.xml +++ b/bmc-resourcesearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-resourcesearch @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-rover/pom.xml b/bmc-rover/pom.xml index 0eaf03d24e3..d7451d49d13 100644 --- a/bmc-rover/pom.xml +++ b/bmc-rover/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-rover @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-sch/pom.xml b/bmc-sch/pom.xml index 6d0c2722bfd..984010742c6 100644 --- a/bmc-sch/pom.xml +++ b/bmc-sch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-sch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-secrets/pom.xml b/bmc-secrets/pom.xml index 5e74de4f8da..a10e80bb48b 100644 --- a/bmc-secrets/pom.xml +++ b/bmc-secrets/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-secrets @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-securityattribute/pom.xml b/bmc-securityattribute/pom.xml index 66c7ff35158..2a6b44c1bcb 100644 --- a/bmc-securityattribute/pom.xml +++ b/bmc-securityattribute/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-securityattribute @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-self/pom.xml b/bmc-self/pom.xml index 1843ec30741..204d89eacda 100644 --- a/bmc-self/pom.xml +++ b/bmc-self/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-self @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-servicecatalog/pom.xml b/bmc-servicecatalog/pom.xml index d1dc043330f..62978a470c0 100644 --- a/bmc-servicecatalog/pom.xml +++ b/bmc-servicecatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-servicecatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-servicemanagerproxy/pom.xml b/bmc-servicemanagerproxy/pom.xml index c68dd22efc8..543e58a0abc 100644 --- a/bmc-servicemanagerproxy/pom.xml +++ b/bmc-servicemanagerproxy/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-servicemanagerproxy @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-shaded/bmc-shaded-full/pom.xml b/bmc-shaded/bmc-shaded-full/pom.xml index e6d59f92772..21753776e6e 100644 --- a/bmc-shaded/bmc-shaded-full/pom.xml +++ b/bmc-shaded/bmc-shaded-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-shaded - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-shaded-full diff --git a/bmc-shaded/pom.xml b/bmc-shaded/pom.xml index d0ceb7cb53c..14cddcd9190 100644 --- a/bmc-shaded/pom.xml +++ b/bmc-shaded/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml diff --git a/bmc-stackmonitoring/pom.xml b/bmc-stackmonitoring/pom.xml index 04286b03032..3e28f84cdb1 100644 --- a/bmc-stackmonitoring/pom.xml +++ b/bmc-stackmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-stackmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-streaming/pom.xml b/bmc-streaming/pom.xml index 39e03d0f197..bc3ad2a931a 100644 --- a/bmc-streaming/pom.xml +++ b/bmc-streaming/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-streaming @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-tenantmanagercontrolplane/pom.xml b/bmc-tenantmanagercontrolplane/pom.xml index 0311f8a69c1..a70d13d7920 100644 --- a/bmc-tenantmanagercontrolplane/pom.xml +++ b/bmc-tenantmanagercontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-tenantmanagercontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-threatintelligence/pom.xml b/bmc-threatintelligence/pom.xml index 56075bbc312..3a2b409d274 100644 --- a/bmc-threatintelligence/pom.xml +++ b/bmc-threatintelligence/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-threatintelligence @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-usage/pom.xml b/bmc-usage/pom.xml index e9542e21e22..bf1154b4084 100644 --- a/bmc-usage/pom.xml +++ b/bmc-usage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-usage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-usageapi/pom.xml b/bmc-usageapi/pom.xml index efbf2602a4d..848b8f244f3 100644 --- a/bmc-usageapi/pom.xml +++ b/bmc-usageapi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-usageapi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-vault/pom.xml b/bmc-vault/pom.xml index e56526647c8..5cde3ba2a83 100644 --- a/bmc-vault/pom.xml +++ b/bmc-vault/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-vault @@ -15,12 +15,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-vbsinst/pom.xml b/bmc-vbsinst/pom.xml index f630090aff1..ea46dd78814 100644 --- a/bmc-vbsinst/pom.xml +++ b/bmc-vbsinst/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-vbsinst @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-visualbuilder/pom.xml b/bmc-visualbuilder/pom.xml index ae47c840e38..a5e147368b8 100644 --- a/bmc-visualbuilder/pom.xml +++ b/bmc-visualbuilder/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-visualbuilder @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-vnmonitoring/pom.xml b/bmc-vnmonitoring/pom.xml index faa8841b23a..09b1cc7bd50 100644 --- a/bmc-vnmonitoring/pom.xml +++ b/bmc-vnmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-vnmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-vulnerabilityscanning/pom.xml b/bmc-vulnerabilityscanning/pom.xml index 5b486aeb9c9..c6a2a6a3189 100644 --- a/bmc-vulnerabilityscanning/pom.xml +++ b/bmc-vulnerabilityscanning/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-vulnerabilityscanning @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-waa/pom.xml b/bmc-waa/pom.xml index d9a6bebdef1..83423f61998 100644 --- a/bmc-waa/pom.xml +++ b/bmc-waa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-waa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-waas/pom.xml b/bmc-waas/pom.xml index 409dc3b385f..402c2cf1cc1 100644 --- a/bmc-waas/pom.xml +++ b/bmc-waas/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-waas @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-waf/pom.xml b/bmc-waf/pom.xml index 1363d87e8d5..90ddc98b269 100644 --- a/bmc-waf/pom.xml +++ b/bmc-waf/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-waf @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-wlms/pom.xml b/bmc-wlms/pom.xml index 2eae0016952..5fc22300b0d 100644 --- a/bmc-wlms/pom.xml +++ b/bmc-wlms/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-wlms @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-workrequests/pom.xml b/bmc-workrequests/pom.xml index 8057b558f6f..9edbc42715e 100644 --- a/bmc-workrequests/pom.xml +++ b/bmc-workrequests/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-workrequests @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/bmc-zpr/pom.xml b/bmc-zpr/pom.xml index ade401c43a8..3c52504d7ce 100644 --- a/bmc-zpr/pom.xml +++ b/bmc-zpr/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 ../pom.xml oci-java-sdk-zpr @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.87.0 + 3.88.0 \ No newline at end of file diff --git a/pom.xml b/pom.xml index f07df9b4eb0..dffd56ea8ab 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk - 3.87.0 + 3.88.0 pom Oracle Cloud Infrastructure SDK This project contains the SDK used for Oracle Cloud Infrastructure