diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2e7730a6e7e..e13b752a564 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/).
+## 1.30.0 - 2021-01-19
+### Added
+- Support for Logging Analytics as a target in the Service Connector Hub service
+- Support for lookups, agent collection warnings, task commands, and data archive/recall in the Logging Analytics service
+
+### Fixed
+- Fixed a bug in the endpoint used for the Management Dashboard service
+
+### Breaking Changes
+- Parameter `sortBy` in requests `ListMetaSourceTypesRequest`, `ListParserFunctionsRequest`, `ListParserMetaPluginsRequest`, `ListSourceLabelOperatorsRequest`, `ListSourceMetaFunctionsRequest` has changed its datatype from `String` to `SortBy` enum in the Logging Analytics service
+- Parameter `lifecycleState` in `LogAnalyticsObjectCollectionRule` has changed its datatype from `LogAnalyticsObjectCollectionRule.LifecycleState` to `ObjectCollectionRuleLifecycleStates` in the Logging Analytics Service
+- Methods `builder()`, `toBuilder()`, and `get__explicitlySet__()` has been removed from `UpdateScheduledTaskDetails` in the Logging Analytics Service
+- Methods `builder()`, `toBuilder()`, and `get__explicitlySet__()` has been removed from `ScheduledTask` in the Logging Analytics Service
+
## 1.29.0 - 2021-01-12
### Added
- Support for auto-scaling in the Big Data service
diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml
index b28f9ce84c2..d5e0dda39a2 100644
--- a/bmc-addons/bmc-apache-connector-provider/pom.xml
+++ b/bmc-addons/bmc-apache-connector-provider/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk-addons
- 1.29.0
+ 1.30.0
../pom.xml
@@ -42,7 +42,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
com.oracle.oci.sdk
oci-java-sdk-audit
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-containerengine
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-core
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-database
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-dns
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-email
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-filestorage
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-identity
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-loadbalancer
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-objectstorage
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-addons-resteasy-client-configurator
- 1.29.0
+ 1.30.0
com.oracle.oci.sdk
oci-java-sdk-addons-sasl
- 1.29.0
+ 1.30.0
com.oracle.oci.sdk
oci-java-sdk-resourcesearch
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-addons-apache
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-keymanagement
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-announcementsservice
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-healthchecks
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-waas
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-streaming
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-resourcemanager
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-monitoring
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-ons
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-autoscaling
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-budget
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-limits
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-functions
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-events
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-dts
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-oce
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-oda
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-analytics
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-integration
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-osmanagement
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-marketplace
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-apigateway
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-applicationmigration
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-datacatalog
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-dataflow
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-datascience
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-nosql
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-secrets
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-vault
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-bds
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-encryption
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-cims
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-datasafe
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-mysql
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-dataintegration
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-ocvp
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-usageapi
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-blockchain
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-loggingingestion
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-logging
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-loganalytics
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-managementdashboard
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-sch
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-loggingsearch
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-managementagent
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-cloudguard
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-opsi
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-computeinstanceagent
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-optimizer
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-tenantmanagercontrolplane
- 1.29.0
+ 1.30.0
false
com.oracle.oci.sdk
oci-java-sdk-rover
- 1.29.0
+ 1.30.0
false
diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml
index c6603ec9644..16f2445500b 100644
--- a/bmc-budget/pom.xml
+++ b/bmc-budget/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-budget
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml
index cc211b2ea70..6496f9b65b9 100644
--- a/bmc-cims/pom.xml
+++ b/bmc-cims/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-cims
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml
index 6c35f43ebab..3f5b85adf59 100644
--- a/bmc-circuitbreaker/pom.xml
+++ b/bmc-circuitbreaker/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-circuitbreaker
diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml
index e8db04a67b2..bfae0ff3889 100644
--- a/bmc-cloudguard/pom.xml
+++ b/bmc-cloudguard/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-cloudguard
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml
index 84bcc21109b..de293ca0b96 100644
--- a/bmc-common/pom.xml
+++ b/bmc-common/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -94,7 +94,7 @@
com.oracle.oci.sdk
oci-java-sdk-circuitbreaker
- 1.29.0
+ 1.30.0
diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml
index 127c106af95..46b57f0f02f 100644
--- a/bmc-computeinstanceagent/pom.xml
+++ b/bmc-computeinstanceagent/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-computeinstanceagent
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml
index 52b2e9e2a74..427d5bdf945 100644
--- a/bmc-containerengine/pom.xml
+++ b/bmc-containerengine/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml
index 241ece26d75..023a9b65c89 100644
--- a/bmc-core/pom.xml
+++ b/bmc-core/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -19,12 +19,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 1.29.0
+ 1.30.0
diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml
index a9f7a600b6d..ddb6b40aca7 100644
--- a/bmc-database/pom.xml
+++ b/bmc-database/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -19,12 +19,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 1.29.0
+ 1.30.0
diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml
index 6921a6934ac..0664e903f7e 100644
--- a/bmc-datacatalog/pom.xml
+++ b/bmc-datacatalog/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-datacatalog
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml
index 56ed7c6a3e0..7567e63f703 100644
--- a/bmc-dataflow/pom.xml
+++ b/bmc-dataflow/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-dataflow
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml
index 4c28ac22013..465ee6a4f9c 100644
--- a/bmc-dataintegration/pom.xml
+++ b/bmc-dataintegration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-dataintegration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml
index 5f300e4319b..db4cf25d4f2 100644
--- a/bmc-datasafe/pom.xml
+++ b/bmc-datasafe/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-datasafe
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml
index 3ec8e5ef6a3..846b687c362 100644
--- a/bmc-datascience/pom.xml
+++ b/bmc-datascience/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-datascience
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml
index 69f27d64743..c85d0403881 100644
--- a/bmc-dns/pom.xml
+++ b/bmc-dns/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
diff --git a/bmc-dts/pom.xml b/bmc-dts/pom.xml
index a35ec9b425b..bdee13fea21 100644
--- a/bmc-dts/pom.xml
+++ b/bmc-dts/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-dts
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml
index a8b793ebd05..43b01919c62 100644
--- a/bmc-email/pom.xml
+++ b/bmc-email/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml
index 066ae95b33a..45720ea53fe 100644
--- a/bmc-encryption/pom.xml
+++ b/bmc-encryption/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -25,17 +25,17 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
com.oracle.oci.sdk
oci-java-sdk-circuitbreaker
- 1.29.0
+ 1.30.0
com.oracle.oci.sdk
oci-java-sdk-keymanagement
- 1.29.0
+ 1.30.0
com.fasterxml.jackson.datatype
diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml
index 98122297ed1..0ba0bc26be7 100644
--- a/bmc-events/pom.xml
+++ b/bmc-events/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-events
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml
index 26fc1b4c360..5c8010b950e 100644
--- a/bmc-examples/pom.xml
+++ b/bmc-examples/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -31,7 +31,7 @@
com.oracle.oci.sdk
oci-java-sdk-bom
- 1.29.0
+ 1.30.0
pom
import
diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml
index 408d7702acc..4aa92631cbf 100644
--- a/bmc-filestorage/pom.xml
+++ b/bmc-filestorage/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
diff --git a/bmc-full/pom.xml b/bmc-full/pom.xml
index 866fbca66f8..3d9ca6d94da 100644
--- a/bmc-full/pom.xml
+++ b/bmc-full/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-full
@@ -16,7 +16,7 @@
com.oracle.oci.sdk
oci-java-sdk-bom
- 1.29.0
+ 1.30.0
pom
import
diff --git a/bmc-functions/pom.xml b/bmc-functions/pom.xml
index 260b65add39..e52bafa86ed 100644
--- a/bmc-functions/pom.xml
+++ b/bmc-functions/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-functions
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-healthchecks/pom.xml b/bmc-healthchecks/pom.xml
index aab1c2b09b6..5cb6a386771 100644
--- a/bmc-healthchecks/pom.xml
+++ b/bmc-healthchecks/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-healthchecks
@@ -17,7 +17,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml
index c5fa4a0b1ec..38ff1af777c 100644
--- a/bmc-identity/pom.xml
+++ b/bmc-identity/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
diff --git a/bmc-integration/pom.xml b/bmc-integration/pom.xml
index 8dd32a7997d..18cb587491f 100644
--- a/bmc-integration/pom.xml
+++ b/bmc-integration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-integration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-keymanagement/pom.xml b/bmc-keymanagement/pom.xml
index ea979fe51b2..8b01fd958be 100644
--- a/bmc-keymanagement/pom.xml
+++ b/bmc-keymanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-keymanagement
@@ -17,7 +17,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
diff --git a/bmc-limits/pom.xml b/bmc-limits/pom.xml
index 832774058d5..d22e670a2b9 100644
--- a/bmc-limits/pom.xml
+++ b/bmc-limits/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-limits
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml
index 5850c08ed6b..b3eee0f42c3 100644
--- a/bmc-loadbalancer/pom.xml
+++ b/bmc-loadbalancer/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
diff --git a/bmc-loganalytics/pom.xml b/bmc-loganalytics/pom.xml
index cedcff26810..36e9ca900cf 100644
--- a/bmc-loganalytics/pom.xml
+++ b/bmc-loganalytics/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.29.0
+ 1.30.0
../pom.xml
oci-java-sdk-loganalytics
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.29.0
+ 1.30.0
\ No newline at end of file
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalytics.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalytics.java
index a905fc38646..9a7659c7e02 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalytics.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalytics.java
@@ -47,7 +47,7 @@ public interface LogAnalytics extends AutoCloseable {
void setRegion(String regionId);
/**
- * Adds association between input source log analytics entity and destination entities.
+ * Adds association between input source log analytics entity and one or more existing destination entities.
* @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.
@@ -56,6 +56,45 @@ public interface LogAnalytics extends AutoCloseable {
*/
AddEntityAssociationResponse addEntityAssociation(AddEntityAssociationRequest request);
+ /**
+ * Append data to a lookup. The file containing the information to append
+ * must be provided.
+ *
+ *
+ * Note: This operation consumes a stream.
+ *
+ * If the stream supports {@link java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}, when a retry is
+ * necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this
+ * operation is called}.
+ *
+ * Note this means that if the caller has used {@link java.io.InputStream#mark(int)} before, then the mark
+ * will not be the same anymore after this operation, and a subsequent call to {@link java.io.InputStream#reset()} by
+ * the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation
+ * was called.
+ *
+ * If the stream is a {@link java.io.FileInputStream}, and the stream's {@link java.nio.channels.FileChannel} position
+ * can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide
+ * support for {@link java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}. Then the same procedure as
+ * above is followed. If the stream's {@link java.nio.channels.FileChannel} position cannot be changed (like for a
+ * named pipe), then the stream's contents will be buffered in memory, as described below.
+ *
+ * If the stream does not support {@link java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}, then
+ * the stream is wrapped in a {@link java.io.BufferedInputStream}, which means the entire contents may
+ * be buffered in memory. Then the same procedure as above is followed.
+ *
+ * The contents of the stream, except when the stream is a {@link java.io.FileInputStream} whose
+ * {@link java.nio.channels.FileChannel} position can be changed, should be less than 2 GiB in size if retries are used.
+ * This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream
+ * is larger, do not use built-in retries and manage retries yourself.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use AppendLookupData API.
+ */
+ AppendLookupDataResponse appendLookupData(AppendLookupDataRequest request);
+
/**
* get basic information about a specified set of labels
* @param request The request object containing the details to send
@@ -99,7 +138,7 @@ ChangeLogAnalyticsLogGroupCompartmentResponse changeLogAnalyticsLogGroupCompartm
ChangeLogAnalyticsLogGroupCompartmentRequest request);
/**
- * Move the rule from it's current compartment to given compartment.
+ * Move the rule from it's current compartment to the given compartment.
* @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.
@@ -168,7 +207,7 @@ CreateLogAnalyticsLogGroupResponse createLogAnalyticsLogGroup(
CreateLogAnalyticsLogGroupRequest request);
/**
- * Create a configuration to collect logs from object storage bucket.
+ * Creates a rule to collect logs from an object storage bucket.
* @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.
@@ -230,7 +269,7 @@ DeleteLogAnalyticsEntityResponse deleteLogAnalyticsEntity(
DeleteLogAnalyticsEntityRequest request);
/**
- * Delete the log analytics entity type with the given name.
+ * Delete log analytics entity type with the given name.
* @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.
@@ -252,8 +291,8 @@ DeleteLogAnalyticsLogGroupResponse deleteLogAnalyticsLogGroup(
DeleteLogAnalyticsLogGroupRequest request);
/**
- * Deletes a configured object storage bucket based collection rule to stop the log collection of the configured bucket .
- * It will not delete the already collected log data from the configured bucket.
+ * Deletes the configured object storage bucket based collection rule and stop the log collection.
+ * It will not delete the existing processed data associated with this bucket from logging analytics storage.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
@@ -264,6 +303,17 @@ DeleteLogAnalyticsLogGroupResponse deleteLogAnalyticsLogGroup(
DeleteLogAnalyticsObjectCollectionRuleResponse deleteLogAnalyticsObjectCollectionRule(
DeleteLogAnalyticsObjectCollectionRuleRequest request);
+ /**
+ * Delete the specified lookup.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use DeleteLookup API.
+ */
+ DeleteLookupResponse deleteLookup(DeleteLookupRequest request);
+
/**
* delete parser with specified name
* @param request The request object containing the details to send
@@ -307,8 +357,8 @@ DeleteLogAnalyticsObjectCollectionRuleResponse deleteLogAnalyticsObjectCollectio
DeleteUploadResponse deleteUpload(DeleteUploadRequest request);
/**
- * Deletes a specific log file inside an upload by providing upload file reference.
- * It deletes all the logs in storage asscoiated with the upload file and the corresponding upload metadata.
+ * Deletes a specific log file inside an upload by upload file reference.
+ * It deletes all the logs from storage associated with the file and the corresponding metadata.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
@@ -362,6 +412,28 @@ DeleteLogAnalyticsObjectCollectionRuleResponse deleteLogAnalyticsObjectCollectio
*/
EstimatePurgeDataSizeResponse estimatePurgeDataSize(EstimatePurgeDataSizeRequest request);
+ /**
+ * This API gives an active storage usage estimate for archived data to be recalled and the time range of such data.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use EstimateRecallDataSize API.
+ */
+ EstimateRecallDataSizeResponse estimateRecallDataSize(EstimateRecallDataSizeRequest request);
+
+ /**
+ * This API gives an active storage usage estimate for recalled data to be released and the time range of such data.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use EstimateReleaseDataSize API.
+ */
+ EstimateReleaseDataSizeResponse estimateReleaseDataSize(EstimateReleaseDataSizeRequest request);
+
/**
* export
* @param request The request object containing the details to send
@@ -485,7 +557,7 @@ ExtractStructuredLogHeaderPathsResponse extractStructuredLogHeaderPaths(
GetLabelSummaryResponse getLabelSummary(GetLabelSummaryRequest request);
/**
- * Returns log analytics entities count summary.
+ * Returns log analytics entities count summary report.
* @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.
@@ -548,6 +620,17 @@ GetLogAnalyticsLogGroupsSummaryResponse getLogAnalyticsLogGroupsSummary(
GetLogAnalyticsObjectCollectionRuleResponse getLogAnalyticsObjectCollectionRule(
GetLogAnalyticsObjectCollectionRuleRequest request);
+ /**
+ * Obtains the lookup with the specified reference.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use GetLookup API.
+ */
+ GetLookupResponse getLookup(GetLookupRequest request);
+
/**
* This API gets the namespace details of a tenancy already onboarded in Logging Analytics Application
*
@@ -667,7 +750,7 @@ GetLogAnalyticsObjectCollectionRuleResponse getLogAnalyticsObjectCollectionRule(
GetStorageWorkRequestResponse getStorageWorkRequest(GetStorageWorkRequestRequest request);
/**
- * Gets an On-Demand Upload info by reference
+ * Gets an On-Demand Upload info by reference.
* @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.
@@ -838,7 +921,7 @@ ListLogAnalyticsLogGroupsResponse listLogAnalyticsLogGroups(
ListLogAnalyticsLogGroupsRequest request);
/**
- * Gets list of configuration details of Object Storage based collection rules.
+ * Gets list of collection rules.
* @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.
@@ -848,6 +931,18 @@ ListLogAnalyticsLogGroupsResponse listLogAnalyticsLogGroups(
ListLogAnalyticsObjectCollectionRulesResponse listLogAnalyticsObjectCollectionRules(
ListLogAnalyticsObjectCollectionRulesRequest request);
+ /**
+ * Obtains a list of lookups. The list is filtered according to the filter criteria
+ * specified by the user, and sorted according to the ordering criteria specified.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use ListLookups API.
+ */
+ ListLookupsResponse listLookups(ListLookupsRequest request);
+
/**
* get all meta source types
* @param request The request object containing the details to send
@@ -910,6 +1005,17 @@ ListLogAnalyticsObjectCollectionRulesResponse listLogAnalyticsObjectCollectionRu
*/
ListQueryWorkRequestsResponse listQueryWorkRequests(ListQueryWorkRequestsRequest request);
+ /**
+ * This API returns the list of recalled data of a tenancy.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use ListRecalledData API.
+ */
+ ListRecalledDataResponse listRecalledData(ListRecalledDataRequest request);
+
/**
* Lists scheduled tasks.
* @param request The request object containing the details to send
@@ -1005,7 +1111,7 @@ ListStorageWorkRequestErrorsResponse listStorageWorkRequestErrors(
ListStorageWorkRequestsResponse listStorageWorkRequests(ListStorageWorkRequestsRequest request);
/**
- * Gets the list of character encodings supported for log files.
+ * Gets list of character encodings which are supported by on-demand upload.
* @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.
@@ -1016,7 +1122,7 @@ ListSupportedCharEncodingsResponse listSupportedCharEncodings(
ListSupportedCharEncodingsRequest request);
/**
- * Gets timezones that are supported when performing uploads.
+ * Gets list of timezones which are supported by on-demand upload.
* @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.
@@ -1026,7 +1132,7 @@ ListSupportedCharEncodingsResponse listSupportedCharEncodings(
ListSupportedTimezonesResponse listSupportedTimezones(ListSupportedTimezonesRequest request);
/**
- * Gets list of files in an upload.
+ * Gets list of files in an upload along with its processing state.
* @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.
@@ -1036,7 +1142,7 @@ ListSupportedCharEncodingsResponse listSupportedCharEncodings(
ListUploadFilesResponse listUploadFiles(ListUploadFilesRequest request);
/**
- * Gets list of warnings in an upload explaining the failures due to incorrect configuration.
+ * Gets list of warnings in an upload caused by incorrect configuration.
* @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.
@@ -1057,6 +1163,18 @@ ListSupportedCharEncodingsResponse listSupportedCharEncodings(
*/
ListUploadsResponse listUploads(ListUploadsRequest request);
+ /**
+ * Obtains a list of warnings. The list is filtered according to the filter criteria
+ * specified by the user, and sorted according to the ordering criteria specified.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use ListWarnings API.
+ */
+ ListWarningsResponse listWarnings(ListWarningsRequest request);
+
/**
* Return a (paginated) list of errors for a given work request.
*
@@ -1121,6 +1239,17 @@ ListSupportedCharEncodingsResponse listSupportedCharEncodings(
*/
ParseQueryResponse parseQuery(ParseQueryRequest request);
+ /**
+ * Pause the scheduled task specified by {scheduledTaskId}.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use PauseScheduledTask API.
+ */
+ PauseScheduledTaskResponse pauseScheduledTask(PauseScheduledTaskRequest request);
+
/**
* This API submits a work request to purge data. Only data from log groups that the user has permission to delete
* will be purged. To purge all data, the user must have permission to all log groups.
@@ -1225,6 +1354,17 @@ PutQueryWorkRequestBackgroundResponse putQueryWorkRequestBackground(
RemoveEntityAssociationsResponse removeEntityAssociations(
RemoveEntityAssociationsRequest request);
+ /**
+ * Resume the scheduled task specified by {scheduledTaskId}.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use ResumeScheduledTask API.
+ */
+ ResumeScheduledTaskResponse resumeScheduledTask(ResumeScheduledTaskRequest request);
+
/**
* Execute the saved search acceleration task in the foreground.
* The ScheduledTask taskType must be ACCELERATION.
@@ -1248,6 +1388,19 @@ RemoveEntityAssociationsResponse removeEntityAssociations(
*/
SuggestResponse suggest(SuggestRequest request);
+ /**
+ * Accepts a list of warnings. Any unsuppressed warnings in the input list will
+ * be suppressed. Warnings in the input list which are already suppressed will
+ * not be modified.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use SuppressWarning API.
+ */
+ SuppressWarningResponse suppressWarning(SuppressWarningRequest request);
+
/**
* test parser
* @param request The request object containing the details to send
@@ -1258,6 +1411,19 @@ RemoveEntityAssociationsResponse removeEntityAssociations(
*/
TestParserResponse testParser(TestParserRequest request);
+ /**
+ * Accepts a list of warnings. Any suppressed warnings in the input list will
+ * be unsuppressed. Warnings in the input list which are unsuppressed will
+ * not be modified.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use UnsuppressWarning API.
+ */
+ UnsuppressWarningResponse unsuppressWarning(UnsuppressWarningRequest request);
+
/**
* Update the log analytics entity with the given id.
* @param request The request object containing the details to send
@@ -1292,7 +1458,7 @@ UpdateLogAnalyticsLogGroupResponse updateLogAnalyticsLogGroup(
UpdateLogAnalyticsLogGroupRequest request);
/**
- * Update the rule with the given id.
+ * Updates configuration of the object collection rule for the given id.
* @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.
@@ -1302,6 +1468,56 @@ UpdateLogAnalyticsLogGroupResponse updateLogAnalyticsLogGroup(
UpdateLogAnalyticsObjectCollectionRuleResponse updateLogAnalyticsObjectCollectionRule(
UpdateLogAnalyticsObjectCollectionRuleRequest request);
+ /**
+ * Updates the metadata of the specified lookup, such as the lookup description.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use UpdateLookup API.
+ */
+ UpdateLookupResponse updateLookup(UpdateLookupRequest request);
+
+ /**
+ * Updates the specified lookup with the details provided. This API will not update
+ * lookup metadata (such as lookup description).
+ *
+ *
+ * Note: This operation consumes a stream.
+ *
+ * If the stream supports {@link java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}, when a retry is
+ * necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this
+ * operation is called}.
+ *
+ * Note this means that if the caller has used {@link java.io.InputStream#mark(int)} before, then the mark
+ * will not be the same anymore after this operation, and a subsequent call to {@link java.io.InputStream#reset()} by
+ * the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation
+ * was called.
+ *
+ * If the stream is a {@link java.io.FileInputStream}, and the stream's {@link java.nio.channels.FileChannel} position
+ * can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide
+ * support for {@link java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}. Then the same procedure as
+ * above is followed. If the stream's {@link java.nio.channels.FileChannel} position cannot be changed (like for a
+ * named pipe), then the stream's contents will be buffered in memory, as described below.
+ *
+ * If the stream does not support {@link java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}, then
+ * the stream is wrapped in a {@link java.io.BufferedInputStream}, which means the entire contents may
+ * be buffered in memory. Then the same procedure as above is followed.
+ *
+ * The contents of the stream, except when the stream is a {@link java.io.FileInputStream} whose
+ * {@link java.nio.channels.FileChannel} position can be changed, should be less than 2 GiB in size if retries are used.
+ * This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream
+ * is larger, do not use built-in retries and manage retries yourself.
+ *
+ * @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.
+ *
+ * Example: Click here to see how to use UpdateLookupData API.
+ */
+ UpdateLookupDataResponse updateLookupData(UpdateLookupDataRequest request);
+
/**
* Update the scheduled task. Schedules may be updated only for taskType SAVED_SEARCH and PURGE.
* @param request The request object containing the details to send
@@ -1423,7 +1639,7 @@ ValidateAssociationParametersResponse validateAssociationParameters(
ValidateAssociationParametersRequest request);
/**
- * Validates a log file to check whether it is eligible to upload or not.
+ * Validates a log file to check whether it is eligible to be uploaded or not.
* @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.
@@ -1454,7 +1670,7 @@ ValidateSourceExtendedFieldDetailsResponse validateSourceExtendedFieldDetails(
ValidateSourceExtendedFieldDetailsRequest request);
/**
- * Validates the source mapping for given file and provides match status and parsed representation of log data.
+ * Validates the source mapping for a given file and provides match status and the parsed representation of log data.
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs.
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsAsync.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsAsync.java
index e165531555d..70d515a47f7 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsAsync.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsAsync.java
@@ -47,7 +47,7 @@ public interface LogAnalyticsAsync extends AutoCloseable {
void setRegion(String regionId);
/**
- * Adds association between input source log analytics entity and destination entities.
+ * Adds association between input source log analytics entity and one or more existing destination entities.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -62,6 +62,23 @@ java.util.concurrent.Future addEntityAssociation(
AddEntityAssociationRequest, AddEntityAssociationResponse>
handler);
+ /**
+ * Append data to a lookup. The file containing the information to append
+ * must be provided.
+ *
+ *
+ * @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 appendLookupData(
+ AppendLookupDataRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* get basic information about a specified set of labels
*
@@ -131,7 +148,7 @@ java.util.concurrent.Future cancelQueryWorkReque
handler);
/**
- * Move the rule from it's current compartment to given compartment.
+ * Move the rule from it's current compartment to the given compartment.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -233,7 +250,7 @@ java.util.concurrent.Future createLogAnalyti
handler);
/**
- * Create a configuration to collect logs from object storage bucket.
+ * Creates a rule to collect logs from an object storage bucket.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -327,7 +344,7 @@ java.util.concurrent.Future deleteLogAnalytics
handler);
/**
- * Delete the log analytics entity type with the given name.
+ * Delete log analytics entity type with the given name.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -360,8 +377,8 @@ java.util.concurrent.Future deleteLogAnalyti
handler);
/**
- * Deletes a configured object storage bucket based collection rule to stop the log collection of the configured bucket .
- * It will not delete the already collected log data from the configured bucket.
+ * Deletes the configured object storage bucket based collection rule and stop the log collection.
+ * It will not delete the existing processed data associated with this bucket from logging analytics storage.
*
*
* @param request The request object containing the details to send
@@ -379,6 +396,22 @@ java.util.concurrent.Future deleteLogAnalyti
DeleteLogAnalyticsObjectCollectionRuleResponse>
handler);
+ /**
+ * Delete the specified lookup.
+ *
+ *
+ * @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 deleteLookup(
+ DeleteLookupRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* delete parser with specified name
*
@@ -443,8 +476,8 @@ java.util.concurrent.Future deleteUpload(
handler);
/**
- * Deletes a specific log file inside an upload by providing upload file reference.
- * It deletes all the logs in storage asscoiated with the upload file and the corresponding upload metadata.
+ * Deletes a specific log file inside an upload by upload file reference.
+ * It deletes all the logs from storage associated with the file and the corresponding metadata.
*
*
* @param request The request object containing the details to send
@@ -525,6 +558,40 @@ java.util.concurrent.Future estimatePurgeDataSize
EstimatePurgeDataSizeRequest, EstimatePurgeDataSizeResponse>
handler);
+ /**
+ * This API gives an active storage usage estimate for archived data to be recalled and the time range of such data.
+ *
+ *
+ * @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 estimateRecallDataSize(
+ EstimateRecallDataSizeRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ EstimateRecallDataSizeRequest, EstimateRecallDataSizeResponse>
+ handler);
+
+ /**
+ * This API gives an active storage usage estimate for recalled data to be released and the time range of such data.
+ *
+ *
+ * @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 estimateReleaseDataSize(
+ EstimateReleaseDataSizeRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ EstimateReleaseDataSizeRequest, EstimateReleaseDataSizeResponse>
+ handler);
+
/**
* export
*
@@ -713,7 +780,7 @@ java.util.concurrent.Future getLabelSummary(
handler);
/**
- * Returns log analytics entities count summary.
+ * Returns log analytics entities count summary report.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -814,6 +881,21 @@ java.util.concurrent.Future getLogAnalyticsLogG
GetLogAnalyticsObjectCollectionRuleResponse>
handler);
+ /**
+ * Obtains the lookup with the specified reference.
+ *
+ *
+ * @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 getLookup(
+ GetLookupRequest request,
+ com.oracle.bmc.responses.AsyncHandler handler);
+
/**
* This API gets the namespace details of a tenancy already onboarded in Logging Analytics Application
*
@@ -987,7 +1069,7 @@ java.util.concurrent.Future getStorageWorkRequest
handler);
/**
- * Gets an On-Demand Upload info by reference
+ * Gets an On-Demand Upload info by reference.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -1205,7 +1287,7 @@ java.util.concurrent.Future listLogAnalyticsL
handler);
/**
- * Gets list of configuration details of Object Storage based collection rules.
+ * Gets list of collection rules.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -1222,6 +1304,22 @@ java.util.concurrent.Future listLogAnalyticsL
ListLogAnalyticsObjectCollectionRulesResponse>
handler);
+ /**
+ * Obtains a list of lookups. The list is filtered according to the filter criteria
+ * specified by the user, and sorted according to the ordering criteria specified.
+ *
+ *
+ * @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 listLookups(
+ ListLookupsRequest request,
+ com.oracle.bmc.responses.AsyncHandler handler);
+
/**
* get all meta source types
*
@@ -1317,6 +1415,22 @@ java.util.concurrent.Future listQueryWorkRequests
ListQueryWorkRequestsRequest, ListQueryWorkRequestsResponse>
handler);
+ /**
+ * This API returns the list of recalled data of a tenancy.
+ *
+ *
+ * @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 listRecalledData(
+ ListRecalledDataRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* Lists scheduled tasks.
*
@@ -1464,7 +1578,7 @@ java.util.concurrent.Future listStorageWorkRequ
handler);
/**
- * Gets the list of character encodings supported for log files.
+ * Gets list of character encodings which are supported by on-demand upload.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -1480,7 +1594,7 @@ java.util.concurrent.Future listSupportedCha
handler);
/**
- * Gets timezones that are supported when performing uploads.
+ * Gets list of timezones which are supported by on-demand upload.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -1496,7 +1610,7 @@ java.util.concurrent.Future listSupportedTimezon
handler);
/**
- * Gets list of files in an upload.
+ * Gets list of files in an upload along with its processing state.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -1511,7 +1625,7 @@ java.util.concurrent.Future listUploadFiles(
handler);
/**
- * Gets list of warnings in an upload explaining the failures due to incorrect configuration.
+ * Gets list of warnings in an upload caused by incorrect configuration.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -1542,6 +1656,23 @@ java.util.concurrent.Future listUploads(
ListUploadsRequest request,
com.oracle.bmc.responses.AsyncHandler handler);
+ /**
+ * Obtains a list of warnings. The list is filtered according to the filter criteria
+ * specified by the user, and sorted according to the ordering criteria specified.
+ *
+ *
+ * @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 listWarnings(
+ ListWarningsRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* Return a (paginated) list of errors for a given work request.
*
@@ -1638,6 +1769,23 @@ java.util.concurrent.Future parseQuery(
ParseQueryRequest request,
com.oracle.bmc.responses.AsyncHandler handler);
+ /**
+ * Pause the scheduled task specified by {scheduledTaskId}.
+ *
+ *
+ * @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 pauseScheduledTask(
+ PauseScheduledTaskRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ PauseScheduledTaskRequest, PauseScheduledTaskResponse>
+ handler);
+
/**
* This API submits a work request to purge data. Only data from log groups that the user has permission to delete
* will be purged. To purge all data, the user must have permission to all log groups.
@@ -1753,6 +1901,23 @@ java.util.concurrent.Future removeEntityAssoci
RemoveEntityAssociationsRequest, RemoveEntityAssociationsResponse>
handler);
+ /**
+ * Resume the scheduled task specified by {scheduledTaskId}.
+ *
+ *
+ * @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 resumeScheduledTask(
+ ResumeScheduledTaskRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ResumeScheduledTaskRequest, ResumeScheduledTaskResponse>
+ handler);
+
/**
* Execute the saved search acceleration task in the foreground.
* The ScheduledTask taskType must be ACCELERATION.
@@ -1784,6 +1949,24 @@ java.util.concurrent.Future suggest(
SuggestRequest request,
com.oracle.bmc.responses.AsyncHandler handler);
+ /**
+ * Accepts a list of warnings. Any unsuppressed warnings in the input list will
+ * be suppressed. Warnings in the input list which are already suppressed will
+ * not be modified.
+ *
+ *
+ * @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 suppressWarning(
+ SuppressWarningRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* test parser
*
@@ -1798,6 +1981,25 @@ java.util.concurrent.Future testParser(
TestParserRequest request,
com.oracle.bmc.responses.AsyncHandler handler);
+ /**
+ * Accepts a list of warnings. Any suppressed warnings in the input list will
+ * be unsuppressed. Warnings in the input list which are unsuppressed will
+ * not be modified.
+ *
+ *
+ * @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 unsuppressWarning(
+ UnsuppressWarningRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ UnsuppressWarningRequest, UnsuppressWarningResponse>
+ handler);
+
/**
* Update the log analytics entity with the given id.
*
@@ -1848,7 +2050,7 @@ java.util.concurrent.Future updateLogAnalyti
handler);
/**
- * Update the rule with the given id.
+ * Updates configuration of the object collection rule for the given id.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -1865,6 +2067,39 @@ java.util.concurrent.Future updateLogAnalyti
UpdateLogAnalyticsObjectCollectionRuleResponse>
handler);
+ /**
+ * Updates the metadata of the specified lookup, such as the lookup description.
+ *
+ *
+ * @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 updateLookup(
+ UpdateLookupRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Updates the specified lookup with the details provided. This API will not update
+ * lookup metadata (such as lookup description).
+ *
+ *
+ * @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 updateLookupData(
+ UpdateLookupDataRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* Update the scheduled task. Schedules may be updated only for taskType SAVED_SEARCH and PURGE.
*
@@ -2006,7 +2241,7 @@ java.util.concurrent.Future upsertSource(
handler);
/**
- * Validates a log file to check whether it is eligible to upload or not.
+ * Validates a log file to check whether it is eligible to be uploaded or not.
*
* @param request The request object containing the details to send
* @param handler The request handler to invoke upon completion, may be null.
@@ -2054,7 +2289,7 @@ java.util.concurrent.Future validateSource(
handler);
/**
- * Validates the source mapping for given file and provides match status and parsed representation of log data.
+ * Validates the source mapping for a given file and provides match status and the parsed representation of log data.
*
* @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-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsAsyncClient.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsAsyncClient.java
index 4091f700d05..dc159293eba 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsAsyncClient.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsAsyncClient.java
@@ -367,6 +367,58 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future appendLookupData(
+ AppendLookupDataRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ AppendLookupDataRequest, AppendLookupDataResponse>
+ handler) {
+ LOG.trace("Called async appendLookupData");
+ if (request.getRetryConfiguration() != null
+ || authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ request =
+ com.oracle.bmc.retrier.Retriers.wrapBodyInputStreamIfNecessary(
+ request, AppendLookupDataRequest.builder());
+ }
+ final AppendLookupDataRequest interceptedRequest =
+ AppendLookupDataConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ AppendLookupDataConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = AppendLookupDataConverter.fromResponse();
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse =
+ new com.oracle.bmc.responses.internal.StreamClosingAsyncHandler<>(handler);
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ AppendLookupDataRequest, AppendLookupDataResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ AppendLookupDataRequest, AppendLookupDataResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {
+ LOG.debug("Resetting stream");
+ com.oracle.bmc.retrier.Retriers.tryResetStreamForRetry(
+ interceptedRequest.getAppendLookupFileBody(), true);
+ }
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future batchGetBasicInfo(
BatchGetBasicInfoRequest request,
@@ -1190,6 +1242,45 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future deleteLookup(
+ DeleteLookupRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+ LOG.trace("Called async deleteLookup");
+ final DeleteLookupRequest interceptedRequest =
+ DeleteLookupConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeleteLookupConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = DeleteLookupConverter.fromResponse();
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ DeleteLookupRequest, DeleteLookupResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ DeleteLookupRequest, DeleteLookupResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future deleteParser(
DeleteParserRequest request,
@@ -1547,6 +1638,88 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future estimateRecallDataSize(
+ EstimateRecallDataSizeRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ EstimateRecallDataSizeRequest, EstimateRecallDataSizeResponse>
+ handler) {
+ LOG.trace("Called async estimateRecallDataSize");
+ final EstimateRecallDataSizeRequest interceptedRequest =
+ EstimateRecallDataSizeConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ EstimateRecallDataSizeConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response, EstimateRecallDataSizeResponse>
+ transformer = EstimateRecallDataSizeConverter.fromResponse();
+
+ com.oracle.bmc.responses.AsyncHandler<
+ EstimateRecallDataSizeRequest, EstimateRecallDataSizeResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ EstimateRecallDataSizeRequest, EstimateRecallDataSizeResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ EstimateRecallDataSizeRequest, EstimateRecallDataSizeResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future estimateReleaseDataSize(
+ EstimateReleaseDataSizeRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ EstimateReleaseDataSizeRequest, EstimateReleaseDataSizeResponse>
+ handler) {
+ LOG.trace("Called async estimateReleaseDataSize");
+ final EstimateReleaseDataSizeRequest interceptedRequest =
+ EstimateReleaseDataSizeConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ EstimateReleaseDataSizeConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response, EstimateReleaseDataSizeResponse>
+ transformer = EstimateReleaseDataSizeConverter.fromResponse();
+
+ com.oracle.bmc.responses.AsyncHandler<
+ EstimateReleaseDataSizeRequest, EstimateReleaseDataSizeResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ EstimateReleaseDataSizeRequest, EstimateReleaseDataSizeResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ EstimateReleaseDataSizeRequest, EstimateReleaseDataSizeResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future exportCustomContent(
ExportCustomContentRequest request,
@@ -2289,6 +2462,42 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future getLookup(
+ GetLookupRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+ LOG.trace("Called async getLookup");
+ final GetLookupRequest interceptedRequest = GetLookupConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetLookupConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = GetLookupConverter.fromResponse();
+
+ com.oracle.bmc.responses.AsyncHandler handlerToUse =
+ handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler,
+ java.util.concurrent.Future>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ GetLookupRequest, GetLookupResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future getNamespace(
GetNamespaceRequest request,
@@ -3339,6 +3548,44 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future listLookups(
+ ListLookupsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+ LOG.trace("Called async listLookups");
+ final ListLookupsRequest interceptedRequest =
+ ListLookupsConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListLookupsConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = ListLookupsConverter.fromResponse();
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListLookupsRequest, ListLookupsResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ListLookupsRequest, ListLookupsResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future listMetaSourceTypes(
ListMetaSourceTypesRequest request,
@@ -3580,6 +3827,45 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future listRecalledData(
+ ListRecalledDataRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListRecalledDataRequest, ListRecalledDataResponse>
+ handler) {
+ LOG.trace("Called async listRecalledData");
+ final ListRecalledDataRequest interceptedRequest =
+ ListRecalledDataConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListRecalledDataConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = ListRecalledDataConverter.fromResponse();
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListRecalledDataRequest, ListRecalledDataResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ListRecalledDataRequest, ListRecalledDataResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future listScheduledTasks(
ListScheduledTasksRequest request,
@@ -4151,6 +4437,44 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future listWarnings(
+ ListWarningsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+ LOG.trace("Called async listWarnings");
+ final ListWarningsRequest interceptedRequest =
+ ListWarningsConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListWarningsConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = ListWarningsConverter.fromResponse();
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ListWarningsRequest, ListWarningsResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ListWarningsRequest, ListWarningsResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future listWorkRequestErrors(
ListWorkRequestErrorsRequest request,
@@ -4389,6 +4713,45 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future pauseScheduledTask(
+ PauseScheduledTaskRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ PauseScheduledTaskRequest, PauseScheduledTaskResponse>
+ handler) {
+ LOG.trace("Called async pauseScheduledTask");
+ final PauseScheduledTaskRequest interceptedRequest =
+ PauseScheduledTaskConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ PauseScheduledTaskConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = PauseScheduledTaskConverter.fromResponse();
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ PauseScheduledTaskRequest, PauseScheduledTaskResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ PauseScheduledTaskRequest, PauseScheduledTaskResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future purgeStorageData(
PurgeStorageDataRequest request,
@@ -4683,6 +5046,47 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future resumeScheduledTask(
+ ResumeScheduledTaskRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ResumeScheduledTaskRequest, ResumeScheduledTaskResponse>
+ handler) {
+ LOG.trace("Called async resumeScheduledTask");
+ final ResumeScheduledTaskRequest interceptedRequest =
+ ResumeScheduledTaskConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ResumeScheduledTaskConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response, ResumeScheduledTaskResponse>
+ transformer = ResumeScheduledTaskConverter.fromResponse();
+
+ com.oracle.bmc.responses.AsyncHandler<
+ ResumeScheduledTaskRequest, ResumeScheduledTaskResponse>
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ ResumeScheduledTaskRequest, ResumeScheduledTaskResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ ResumeScheduledTaskRequest, ResumeScheduledTaskResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future run(
RunRequest request,
@@ -4753,6 +5157,46 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future suppressWarning(
+ SuppressWarningRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ SuppressWarningRequest, SuppressWarningResponse>
+ handler) {
+ LOG.trace("Called async suppressWarning");
+ final SuppressWarningRequest interceptedRequest =
+ SuppressWarningConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ SuppressWarningConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = SuppressWarningConverter.fromResponse();
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ SuppressWarningRequest, SuppressWarningResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ SuppressWarningRequest, SuppressWarningResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future testParser(
TestParserRequest request,
@@ -4791,6 +5235,46 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future unsuppressWarning(
+ UnsuppressWarningRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UnsuppressWarningRequest, UnsuppressWarningResponse>
+ handler) {
+ LOG.trace("Called async unsuppressWarning");
+ final UnsuppressWarningRequest interceptedRequest =
+ UnsuppressWarningConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UnsuppressWarningConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = UnsuppressWarningConverter.fromResponse();
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ UnsuppressWarningRequest, UnsuppressWarningResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ UnsuppressWarningRequest, UnsuppressWarningResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future updateLogAnalyticsEntity(
UpdateLogAnalyticsEntityRequest request,
@@ -4967,6 +5451,97 @@ protected void beforeRetryAction() {}
}
}
+ @Override
+ public java.util.concurrent.Future updateLookup(
+ UpdateLookupRequest request,
+ final com.oracle.bmc.responses.AsyncHandler
+ handler) {
+ LOG.trace("Called async updateLookup");
+ final UpdateLookupRequest interceptedRequest =
+ UpdateLookupConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateLookupConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = UpdateLookupConverter.fromResponse();
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse = handler;
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateLookupRequest, UpdateLookupResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ UpdateLookupRequest, UpdateLookupResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {}
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
+ @Override
+ public java.util.concurrent.Future updateLookupData(
+ UpdateLookupDataRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ UpdateLookupDataRequest, UpdateLookupDataResponse>
+ handler) {
+ LOG.trace("Called async updateLookupData");
+ if (request.getRetryConfiguration() != null
+ || authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ request =
+ com.oracle.bmc.retrier.Retriers.wrapBodyInputStreamIfNecessary(
+ request, UpdateLookupDataRequest.builder());
+ }
+ final UpdateLookupDataRequest interceptedRequest =
+ UpdateLookupDataConverter.interceptRequest(request);
+ final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateLookupDataConverter.fromRequest(client, interceptedRequest);
+ final com.google.common.base.Function
+ transformer = UpdateLookupDataConverter.fromResponse();
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+
+ com.oracle.bmc.responses.AsyncHandler
+ handlerToUse =
+ new com.oracle.bmc.responses.internal.StreamClosingAsyncHandler<>(handler);
+
+ java.util.function.Function<
+ com.oracle.bmc.responses.AsyncHandler<
+ UpdateLookupDataRequest, UpdateLookupDataResponse>,
+ java.util.concurrent.Future>
+ futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer);
+
+ if (this.authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper<
+ UpdateLookupDataRequest, UpdateLookupDataResponse>(
+ (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider)
+ this.authenticationDetailsProvider,
+ handlerToUse,
+ futureSupplier) {
+ @Override
+ protected void beforeRetryAction() {
+ LOG.debug("Resetting stream");
+ com.oracle.bmc.retrier.Retriers.tryResetStreamForRetry(
+ interceptedRequest.getUpdateLookupFileBody(), true);
+ }
+ };
+ } else {
+ return futureSupplier.apply(handlerToUse);
+ }
+ }
+
@Override
public java.util.concurrent.Future updateScheduledTask(
UpdateScheduledTaskRequest request,
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsClient.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsClient.java
index 17c5fec7286..1ba36df4383 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsClient.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsClient.java
@@ -474,6 +474,69 @@ public AddEntityAssociationResponse addEntityAssociation(AddEntityAssociationReq
});
}
+ @Override
+ public AppendLookupDataResponse appendLookupData(AppendLookupDataRequest request) {
+ LOG.trace("Called appendLookupData");
+ try {
+ if (request.getRetryConfiguration() != null
+ || retryConfiguration != null
+ || authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ request =
+ com.oracle.bmc.retrier.Retriers.wrapBodyInputStreamIfNecessary(
+ request, AppendLookupDataRequest.builder());
+ }
+ final AppendLookupDataRequest interceptedRequest =
+ AppendLookupDataConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ AppendLookupDataConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = AppendLookupDataConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ try {
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib,
+ retriedRequest.getAppendLookupFileBody(),
+ retriedRequest);
+ return transformer.apply(response);
+ } catch (RuntimeException e) {
+ if (interceptedRequest.getRetryConfiguration() != null
+ || retryConfiguration != null
+ || (e instanceof com.oracle.bmc.model.BmcException
+ && tokenRefreshRetrier
+ .getRetryCondition()
+ .shouldBeRetried(
+ (com.oracle.bmc.model
+ .BmcException)
+ e))) {
+ com.oracle.bmc.retrier.Retriers.tryResetStreamForRetry(
+ interceptedRequest.getAppendLookupFileBody(),
+ true);
+ }
+ throw e; // rethrow
+ }
+ });
+ });
+ } finally {
+ com.oracle.bmc.io.internal.KeepOpenInputStream.closeStream(
+ request.getAppendLookupFileBody());
+ }
+ }
+
@Override
public BatchGetBasicInfoResponse batchGetBasicInfo(BatchGetBasicInfoRequest request) {
LOG.trace("Called batchGetBasicInfo");
@@ -1108,6 +1171,36 @@ public DeleteLogAnalyticsObjectCollectionRuleResponse deleteLogAnalyticsObjectCo
});
}
+ @Override
+ public DeleteLookupResponse deleteLookup(DeleteLookupRequest request) {
+ LOG.trace("Called deleteLookup");
+ final DeleteLookupRequest interceptedRequest =
+ DeleteLookupConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ DeleteLookupConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = DeleteLookupConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.delete(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public DeleteParserResponse deleteParser(DeleteParserRequest request) {
LOG.trace("Called deleteParser");
@@ -1376,6 +1469,72 @@ public EstimatePurgeDataSizeResponse estimatePurgeDataSize(
});
}
+ @Override
+ public EstimateRecallDataSizeResponse estimateRecallDataSize(
+ EstimateRecallDataSizeRequest request) {
+ LOG.trace("Called estimateRecallDataSize");
+ final EstimateRecallDataSizeRequest interceptedRequest =
+ EstimateRecallDataSizeConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ EstimateRecallDataSizeConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = EstimateRecallDataSizeConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib,
+ retriedRequest.getEstimateRecallDataSizeDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public EstimateReleaseDataSizeResponse estimateReleaseDataSize(
+ EstimateReleaseDataSizeRequest request) {
+ LOG.trace("Called estimateReleaseDataSize");
+ final EstimateReleaseDataSizeRequest interceptedRequest =
+ EstimateReleaseDataSizeConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ EstimateReleaseDataSizeConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = EstimateReleaseDataSizeConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib,
+ retriedRequest.getEstimateReleaseDataSizeDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public ExportCustomContentResponse exportCustomContent(ExportCustomContentRequest request) {
LOG.trace("Called exportCustomContent");
@@ -1917,6 +2076,33 @@ public GetLogAnalyticsObjectCollectionRuleResponse getLogAnalyticsObjectCollecti
});
}
+ @Override
+ public GetLookupResponse getLookup(GetLookupRequest request) {
+ LOG.trace("Called getLookup");
+ final GetLookupRequest interceptedRequest = GetLookupConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetLookupConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function transformer =
+ GetLookupConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public GetNamespaceResponse getNamespace(GetNamespaceRequest request) {
LOG.trace("Called getNamespace");
@@ -2691,6 +2877,34 @@ public ListLogAnalyticsObjectCollectionRulesResponse listLogAnalyticsObjectColle
});
}
+ @Override
+ public ListLookupsResponse listLookups(ListLookupsRequest request) {
+ LOG.trace("Called listLookups");
+ final ListLookupsRequest interceptedRequest =
+ ListLookupsConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListLookupsConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = ListLookupsConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public ListMetaSourceTypesResponse listMetaSourceTypes(ListMetaSourceTypesRequest request) {
LOG.trace("Called listMetaSourceTypes");
@@ -2861,6 +3075,34 @@ public ListQueryWorkRequestsResponse listQueryWorkRequests(
});
}
+ @Override
+ public ListRecalledDataResponse listRecalledData(ListRecalledDataRequest request) {
+ LOG.trace("Called listRecalledData");
+ final ListRecalledDataRequest interceptedRequest =
+ ListRecalledDataConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListRecalledDataConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = ListRecalledDataConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public ListScheduledTasksResponse listScheduledTasks(ListScheduledTasksRequest request) {
LOG.trace("Called listScheduledTasks");
@@ -3264,6 +3506,34 @@ public ListUploadsResponse listUploads(ListUploadsRequest request) {
});
}
+ @Override
+ public ListWarningsResponse listWarnings(ListWarningsRequest request) {
+ LOG.trace("Called listWarnings");
+ final ListWarningsRequest interceptedRequest =
+ ListWarningsConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListWarningsConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = ListWarningsConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response = client.get(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public ListWorkRequestErrorsResponse listWorkRequestErrors(
ListWorkRequestErrorsRequest request) {
@@ -3440,6 +3710,35 @@ public ParseQueryResponse parseQuery(ParseQueryRequest request) {
});
}
+ @Override
+ public PauseScheduledTaskResponse pauseScheduledTask(PauseScheduledTaskRequest request) {
+ LOG.trace("Called pauseScheduledTask");
+ final PauseScheduledTaskRequest interceptedRequest =
+ PauseScheduledTaskConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ PauseScheduledTaskConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = PauseScheduledTaskConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public PurgeStorageDataResponse purgeStorageData(PurgeStorageDataRequest request) {
LOG.trace("Called purgeStorageData");
@@ -3699,6 +3998,35 @@ public RemoveEntityAssociationsResponse removeEntityAssociations(
});
}
+ @Override
+ public ResumeScheduledTaskResponse resumeScheduledTask(ResumeScheduledTaskRequest request) {
+ LOG.trace("Called resumeScheduledTask");
+ final ResumeScheduledTaskRequest interceptedRequest =
+ ResumeScheduledTaskConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ResumeScheduledTaskConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = ResumeScheduledTaskConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(ib, retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public RunResponse run(RunRequest request) {
LOG.trace("Called run");
@@ -3759,6 +4087,39 @@ public SuggestResponse suggest(SuggestRequest request) {
});
}
+ @Override
+ public SuppressWarningResponse suppressWarning(SuppressWarningRequest request) {
+ LOG.trace("Called suppressWarning");
+ final SuppressWarningRequest interceptedRequest =
+ SuppressWarningConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ SuppressWarningConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = SuppressWarningConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib,
+ retriedRequest.getWarningReferenceDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public TestParserResponse testParser(TestParserRequest request) {
LOG.trace("Called testParser");
@@ -3791,6 +4152,39 @@ public TestParserResponse testParser(TestParserRequest request) {
});
}
+ @Override
+ public UnsuppressWarningResponse unsuppressWarning(UnsuppressWarningRequest request) {
+ LOG.trace("Called unsuppressWarning");
+ final UnsuppressWarningRequest interceptedRequest =
+ UnsuppressWarningConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UnsuppressWarningConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = UnsuppressWarningConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib,
+ retriedRequest.getWarningReferenceDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
@Override
public UpdateLogAnalyticsEntityResponse updateLogAnalyticsEntity(
UpdateLogAnalyticsEntityRequest request) {
@@ -3930,6 +4324,102 @@ public UpdateLogAnalyticsObjectCollectionRuleResponse updateLogAnalyticsObjectCo
});
}
+ @Override
+ public UpdateLookupResponse updateLookup(UpdateLookupRequest request) {
+ LOG.trace("Called updateLookup");
+ final UpdateLookupRequest interceptedRequest =
+ UpdateLookupConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateLookupConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = UpdateLookupConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ javax.ws.rs.core.Response response =
+ client.put(
+ ib,
+ retriedRequest.getUpdateLookupMetadataDetails(),
+ retriedRequest);
+ return transformer.apply(response);
+ });
+ });
+ }
+
+ @Override
+ public UpdateLookupDataResponse updateLookupData(UpdateLookupDataRequest request) {
+ LOG.trace("Called updateLookupData");
+ try {
+ if (request.getRetryConfiguration() != null
+ || retryConfiguration != null
+ || authenticationDetailsProvider
+ instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) {
+ request =
+ com.oracle.bmc.retrier.Retriers.wrapBodyInputStreamIfNecessary(
+ request, UpdateLookupDataRequest.builder());
+ }
+ final UpdateLookupDataRequest interceptedRequest =
+ UpdateLookupDataConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ UpdateLookupDataConverter.fromRequest(client, interceptedRequest);
+ com.google.common.base.Function
+ transformer = UpdateLookupDataConverter.fromResponse();
+
+ final com.oracle.bmc.retrier.BmcGenericRetrier retrier =
+ com.oracle.bmc.retrier.Retriers.createPreferredRetrier(
+ interceptedRequest.getRetryConfiguration(), retryConfiguration);
+ com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib);
+ return retrier.execute(
+ interceptedRequest,
+ retryRequest -> {
+ final com.oracle.bmc.retrier.TokenRefreshRetrier tokenRefreshRetrier =
+ new com.oracle.bmc.retrier.TokenRefreshRetrier(
+ authenticationDetailsProvider);
+ return tokenRefreshRetrier.execute(
+ retryRequest,
+ retriedRequest -> {
+ try {
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib,
+ retriedRequest.getUpdateLookupFileBody(),
+ retriedRequest);
+ return transformer.apply(response);
+ } catch (RuntimeException e) {
+ if (interceptedRequest.getRetryConfiguration() != null
+ || retryConfiguration != null
+ || (e instanceof com.oracle.bmc.model.BmcException
+ && tokenRefreshRetrier
+ .getRetryCondition()
+ .shouldBeRetried(
+ (com.oracle.bmc.model
+ .BmcException)
+ e))) {
+ com.oracle.bmc.retrier.Retriers.tryResetStreamForRetry(
+ interceptedRequest.getUpdateLookupFileBody(),
+ true);
+ }
+ throw e; // rethrow
+ }
+ });
+ });
+ } finally {
+ com.oracle.bmc.io.internal.KeepOpenInputStream.closeStream(
+ request.getUpdateLookupFileBody());
+ }
+ }
+
@Override
public UpdateScheduledTaskResponse updateScheduledTask(UpdateScheduledTaskRequest request) {
LOG.trace("Called updateScheduledTask");
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsPaginators.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsPaginators.java
index bd9dab136f0..e97b728dc1c 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsPaginators.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsPaginators.java
@@ -1450,6 +1450,116 @@ public ListLogAnalyticsObjectCollectionRulesResponse apply(
});
}
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listLookups 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 listLookupsResponseIterator(
+ final ListLookupsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListLookupsRequest.Builder, ListLookupsRequest, ListLookupsResponse>(
+ new com.google.common.base.Supplier() {
+ @Override
+ public ListLookupsRequest.Builder get() {
+ return ListLookupsRequest.builder().copy(request);
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public String apply(ListLookupsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new com.google.common.base.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListLookupsRequest.Builder>,
+ ListLookupsRequest>() {
+ @Override
+ public ListLookupsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListLookupsRequest.Builder>
+ input) {
+ if (input.getToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getToken().orNull())
+ .build();
+ }
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public ListLookupsResponse apply(ListLookupsRequest request) {
+ return client.listLookups(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.loganalytics.model.LogAnalyticsLookup} objects
+ * contained in responses from the listLookups 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.loganalytics.model.LogAnalyticsLookup} objects
+ * contained in responses received from the service.
+ */
+ public Iterable listLookupsRecordIterator(
+ final ListLookupsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListLookupsRequest.Builder, ListLookupsRequest, ListLookupsResponse,
+ com.oracle.bmc.loganalytics.model.LogAnalyticsLookup>(
+ new com.google.common.base.Supplier() {
+ @Override
+ public ListLookupsRequest.Builder get() {
+ return ListLookupsRequest.builder().copy(request);
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public String apply(ListLookupsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new com.google.common.base.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListLookupsRequest.Builder>,
+ ListLookupsRequest>() {
+ @Override
+ public ListLookupsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListLookupsRequest.Builder>
+ input) {
+ if (input.getToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getToken().orNull())
+ .build();
+ }
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public ListLookupsResponse apply(ListLookupsRequest request) {
+ return client.listLookups(request);
+ }
+ },
+ new com.google.common.base.Function<
+ ListLookupsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List
+ apply(ListLookupsResponse response) {
+ return response.getLogAnalyticsLookupCollection().getItems();
+ }
+ });
+ }
+
/**
* Creates a new iterable which will iterate over the responses received from the listMetaSourceTypes operation. This iterable
* will fetch more data from the server as needed.
@@ -2029,6 +2139,118 @@ public ListQueryWorkRequestsResponse apply(
});
}
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listRecalledData 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 listRecalledDataResponseIterator(
+ final ListRecalledDataRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListRecalledDataRequest.Builder, ListRecalledDataRequest, ListRecalledDataResponse>(
+ new com.google.common.base.Supplier() {
+ @Override
+ public ListRecalledDataRequest.Builder get() {
+ return ListRecalledDataRequest.builder().copy(request);
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public String apply(ListRecalledDataResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new com.google.common.base.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListRecalledDataRequest.Builder>,
+ ListRecalledDataRequest>() {
+ @Override
+ public ListRecalledDataRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListRecalledDataRequest.Builder>
+ input) {
+ if (input.getToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getToken().orNull())
+ .build();
+ }
+ }
+ },
+ new com.google.common.base.Function<
+ ListRecalledDataRequest, ListRecalledDataResponse>() {
+ @Override
+ public ListRecalledDataResponse apply(ListRecalledDataRequest request) {
+ return client.listRecalledData(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.loganalytics.model.RecalledData} objects
+ * contained in responses from the listRecalledData 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.loganalytics.model.RecalledData} objects
+ * contained in responses received from the service.
+ */
+ public Iterable listRecalledDataRecordIterator(
+ final ListRecalledDataRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListRecalledDataRequest.Builder, ListRecalledDataRequest, ListRecalledDataResponse,
+ com.oracle.bmc.loganalytics.model.RecalledData>(
+ new com.google.common.base.Supplier() {
+ @Override
+ public ListRecalledDataRequest.Builder get() {
+ return ListRecalledDataRequest.builder().copy(request);
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public String apply(ListRecalledDataResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new com.google.common.base.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListRecalledDataRequest.Builder>,
+ ListRecalledDataRequest>() {
+ @Override
+ public ListRecalledDataRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListRecalledDataRequest.Builder>
+ input) {
+ if (input.getToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getToken().orNull())
+ .build();
+ }
+ }
+ },
+ new com.google.common.base.Function<
+ ListRecalledDataRequest, ListRecalledDataResponse>() {
+ @Override
+ public ListRecalledDataResponse apply(ListRecalledDataRequest request) {
+ return client.listRecalledData(request);
+ }
+ },
+ new com.google.common.base.Function<
+ ListRecalledDataResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List apply(
+ ListRecalledDataResponse response) {
+ return response.getRecalledDataCollection().getItems();
+ }
+ });
+ }
+
/**
* Creates a new iterable which will iterate over the responses received from the listScheduledTasks operation. This iterable
* will fetch more data from the server as needed.
@@ -3429,6 +3651,116 @@ public java.util.List apply(
});
}
+ /**
+ * Creates a new iterable which will iterate over the responses received from the listWarnings 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 listWarningsResponseIterator(
+ final ListWarningsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListWarningsRequest.Builder, ListWarningsRequest, ListWarningsResponse>(
+ new com.google.common.base.Supplier() {
+ @Override
+ public ListWarningsRequest.Builder get() {
+ return ListWarningsRequest.builder().copy(request);
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public String apply(ListWarningsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new com.google.common.base.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWarningsRequest.Builder>,
+ ListWarningsRequest>() {
+ @Override
+ public ListWarningsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWarningsRequest.Builder>
+ input) {
+ if (input.getToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getToken().orNull())
+ .build();
+ }
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public ListWarningsResponse apply(ListWarningsRequest request) {
+ return client.listWarnings(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link com.oracle.bmc.loganalytics.model.LogAnalyticsWarning} objects
+ * contained in responses from the listWarnings 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.loganalytics.model.LogAnalyticsWarning} objects
+ * contained in responses received from the service.
+ */
+ public Iterable
+ listWarningsRecordIterator(final ListWarningsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListWarningsRequest.Builder, ListWarningsRequest, ListWarningsResponse,
+ com.oracle.bmc.loganalytics.model.LogAnalyticsWarning>(
+ new com.google.common.base.Supplier() {
+ @Override
+ public ListWarningsRequest.Builder get() {
+ return ListWarningsRequest.builder().copy(request);
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public String apply(ListWarningsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new com.google.common.base.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWarningsRequest.Builder>,
+ ListWarningsRequest>() {
+ @Override
+ public ListWarningsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWarningsRequest.Builder>
+ input) {
+ if (input.getToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getToken().orNull())
+ .build();
+ }
+ }
+ },
+ new com.google.common.base.Function() {
+ @Override
+ public ListWarningsResponse apply(ListWarningsRequest request) {
+ return client.listWarnings(request);
+ }
+ },
+ new com.google.common.base.Function<
+ ListWarningsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List
+ apply(ListWarningsResponse response) {
+ return response.getLogAnalyticsWarningCollection().getItems();
+ }
+ });
+ }
+
/**
* Creates a new iterable which will iterate over the responses received from the listWorkRequestErrors operation. This iterable
* will fetch more data from the server as needed.
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsWaiters.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsWaiters.java
index f38291a88ab..52139139bee 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsWaiters.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/LogAnalyticsWaiters.java
@@ -233,16 +233,15 @@ public boolean apply(GetLogAnalyticsEntityTypeResponse response) {
* Creates a new {@link com.oracle.bmc.waiter.Waiter} using the default configuration.
*
* @param request the request to send
- * @param targetStates 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 Waiter} instance
+ * @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<
GetLogAnalyticsObjectCollectionRuleRequest,
GetLogAnalyticsObjectCollectionRuleResponse>
forLogAnalyticsObjectCollectionRule(
GetLogAnalyticsObjectCollectionRuleRequest request,
- com.oracle.bmc.loganalytics.model.LogAnalyticsObjectCollectionRule
- .LifecycleState...
+ com.oracle.bmc.loganalytics.model.ObjectCollectionRuleLifecycleStates...
targetStates) {
org.apache.commons.lang3.Validate.notEmpty(
targetStates, "At least one targetState must be provided");
@@ -267,8 +266,7 @@ public boolean apply(GetLogAnalyticsEntityTypeResponse response) {
GetLogAnalyticsObjectCollectionRuleResponse>
forLogAnalyticsObjectCollectionRule(
GetLogAnalyticsObjectCollectionRuleRequest request,
- com.oracle.bmc.loganalytics.model.LogAnalyticsObjectCollectionRule
- .LifecycleState
+ com.oracle.bmc.loganalytics.model.ObjectCollectionRuleLifecycleStates
targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
@@ -287,7 +285,7 @@ public boolean apply(GetLogAnalyticsEntityTypeResponse response) {
* @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 com.oracle.bmc.waiter.Waiter} instance
+ * @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<
GetLogAnalyticsObjectCollectionRuleRequest,
@@ -296,13 +294,12 @@ public boolean apply(GetLogAnalyticsEntityTypeResponse response) {
GetLogAnalyticsObjectCollectionRuleRequest request,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy,
- com.oracle.bmc.loganalytics.model.LogAnalyticsObjectCollectionRule
- .LifecycleState...
+ com.oracle.bmc.loganalytics.model.ObjectCollectionRuleLifecycleStates...
targetStates) {
org.apache.commons.lang3.Validate.notEmpty(
- targetStates, "At least one target state must be provided");
+ targetStates, "At least one targetState must be provided");
org.apache.commons.lang3.Validate.noNullElements(
- targetStates, "Null target states are not permitted");
+ targetStates, "Null targetState values are not permitted");
return forLogAnalyticsObjectCollectionRule(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
@@ -317,12 +314,9 @@ public boolean apply(GetLogAnalyticsEntityTypeResponse response) {
forLogAnalyticsObjectCollectionRule(
com.oracle.bmc.waiter.BmcGenericWaiter waiter,
final GetLogAnalyticsObjectCollectionRuleRequest request,
- final com.oracle.bmc.loganalytics.model.LogAnalyticsObjectCollectionRule
- .LifecycleState...
+ final com.oracle.bmc.loganalytics.model.ObjectCollectionRuleLifecycleStates...
targetStates) {
- final java.util.Set<
- com.oracle.bmc.loganalytics.model.LogAnalyticsObjectCollectionRule
- .LifecycleState>
+ final java.util.Set
targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates));
return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
@@ -349,8 +343,8 @@ public boolean apply(
}
},
targetStatesSet.contains(
- com.oracle.bmc.loganalytics.model.LogAnalyticsObjectCollectionRule
- .LifecycleState.Deleted)),
+ com.oracle.bmc.loganalytics.model
+ .ObjectCollectionRuleLifecycleStates.Deleted)),
request);
}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/AppendLookupDataConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/AppendLookupDataConverter.java
new file mode 100644
index 00000000000..ab4b0404cae
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/AppendLookupDataConverter.java
@@ -0,0 +1,148 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class AppendLookupDataConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.AppendLookupDataRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.AppendLookupDataRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.AppendLookupDataRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notBlank(request.getLookupName(), "lookupName must not be blank");
+ Validate.notNull(request.getAppendLookupFileBody(), "appendLookupFileBody is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("lookups")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getLookupName()))
+ .path("actions")
+ .path("appendData");
+
+ if (request.getIsForce() != null) {
+ target =
+ target.queryParam(
+ "isForce",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getIsForce()));
+ }
+
+ if (request.getCharEncoding() != null) {
+ target =
+ target.queryParam(
+ "charEncoding",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCharEncoding()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.AppendLookupDataResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.AppendLookupDataResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.AppendLookupDataResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.AppendLookupDataResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.AppendLookupDataResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.AppendLookupDataResponse
+ .Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .AppendLookupDataResponse.builder();
+
+ com.google.common.base.Optional>
+ opcWorkRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-work-request-id");
+ if (opcWorkRequestIdHeader.isPresent()) {
+ builder.opcWorkRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-work-request-id",
+ opcWorkRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.AppendLookupDataResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/DeleteLookupConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/DeleteLookupConverter.java
new file mode 100644
index 00000000000..c451935c050
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/DeleteLookupConverter.java
@@ -0,0 +1,136 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class DeleteLookupConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.DeleteLookupRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.DeleteLookupRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.DeleteLookupRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notBlank(request.getLookupName(), "lookupName must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("lookups")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getLookupName()));
+
+ if (request.getIsForce() != null) {
+ target =
+ target.queryParam(
+ "isForce",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getIsForce()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.DeleteLookupResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.DeleteLookupResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.DeleteLookupResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.DeleteLookupResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.DeleteLookupResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.DeleteLookupResponse.Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .DeleteLookupResponse.builder();
+
+ com.google.common.base.Optional>
+ opcWorkRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-work-request-id");
+ if (opcWorkRequestIdHeader.isPresent()) {
+ builder.opcWorkRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-work-request-id",
+ opcWorkRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.DeleteLookupResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/EstimateRecallDataSizeConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/EstimateRecallDataSizeConverter.java
new file mode 100644
index 00000000000..411b32d4906
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/EstimateRecallDataSizeConverter.java
@@ -0,0 +1,119 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class EstimateRecallDataSizeConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.EstimateRecallDataSizeRequest
+ interceptRequest(
+ com.oracle.bmc.loganalytics.requests.EstimateRecallDataSizeRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.EstimateRecallDataSizeRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notNull(
+ request.getEstimateRecallDataSizeDetails(),
+ "estimateRecallDataSizeDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("storage")
+ .path("actions")
+ .path("estimateRecallDataSize");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.EstimateRecallDataSizeResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.EstimateRecallDataSizeResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses
+ .EstimateRecallDataSizeResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses
+ .EstimateRecallDataSizeResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.EstimateRecallDataSizeResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ EstimateRecallDataSizeResult>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ EstimateRecallDataSizeResult.class);
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ EstimateRecallDataSizeResult>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.EstimateRecallDataSizeResponse
+ .Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .EstimateRecallDataSizeResponse.builder();
+
+ builder.estimateRecallDataSizeResult(response.getItem());
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.EstimateRecallDataSizeResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/EstimateReleaseDataSizeConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/EstimateReleaseDataSizeConverter.java
new file mode 100644
index 00000000000..79eb47d9621
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/EstimateReleaseDataSizeConverter.java
@@ -0,0 +1,120 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class EstimateReleaseDataSizeConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.EstimateReleaseDataSizeRequest
+ interceptRequest(
+ com.oracle.bmc.loganalytics.requests.EstimateReleaseDataSizeRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.EstimateReleaseDataSizeRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notNull(
+ request.getEstimateReleaseDataSizeDetails(),
+ "estimateReleaseDataSizeDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("storage")
+ .path("actions")
+ .path("estimateReleaseDataSize");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.EstimateReleaseDataSizeResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.EstimateReleaseDataSizeResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses
+ .EstimateReleaseDataSizeResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses
+ .EstimateReleaseDataSizeResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.EstimateReleaseDataSizeResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ EstimateReleaseDataSizeResult>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ EstimateReleaseDataSizeResult.class);
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ EstimateReleaseDataSizeResult>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses
+ .EstimateReleaseDataSizeResponse.Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .EstimateReleaseDataSizeResponse.builder();
+
+ builder.estimateReleaseDataSizeResult(response.getItem());
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses
+ .EstimateReleaseDataSizeResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/GetLookupConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/GetLookupConverter.java
new file mode 100644
index 00000000000..a801ecf939c
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/GetLookupConverter.java
@@ -0,0 +1,122 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class GetLookupConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.GetLookupRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.GetLookupRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.GetLookupRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notBlank(request.getLookupName(), "lookupName must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("lookups")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getLookupName()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.GetLookupResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.GetLookupResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.GetLookupResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.GetLookupResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.GetLookupResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ LogAnalyticsLookup>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ LogAnalyticsLookup.class);
+
+ com.oracle.bmc.http.internal.WithHeaders
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.GetLookupResponse.Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .GetLookupResponse.builder();
+
+ builder.logAnalyticsLookup(response.getItem());
+
+ com.google.common.base.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.GetLookupResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListLookupsConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListLookupsConverter.java
new file mode 100644
index 00000000000..055feeb636d
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListLookupsConverter.java
@@ -0,0 +1,205 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class ListLookupsConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.ListLookupsRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.ListLookupsRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.ListLookupsRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notNull(request.getType(), "type is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("lookups");
+
+ if (request.getLookupDisplayText() != null) {
+ target =
+ target.queryParam(
+ "lookupDisplayText",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLookupDisplayText()));
+ }
+
+ target =
+ target.queryParam(
+ "type",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getType().getValue()));
+
+ if (request.getIsSystem() != null) {
+ target =
+ target.queryParam(
+ "isSystem",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getIsSystem().getValue()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getStatus() != null) {
+ target =
+ target.queryParam(
+ "status",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getStatus().getValue()));
+ }
+
+ if (request.getIsHideSpecial() != null) {
+ target =
+ target.queryParam(
+ "isHideSpecial",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getIsHideSpecial()));
+ }
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ListLookupsResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ListLookupsResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ListLookupsResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.ListLookupsResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.ListLookupsResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ LogAnalyticsLookupCollection>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ LogAnalyticsLookupCollection.class);
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ LogAnalyticsLookupCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.ListLookupsResponse.Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .ListLookupsResponse.builder();
+
+ builder.logAnalyticsLookupCollection(response.getItem());
+
+ com.google.common.base.Optional>
+ opcPrevPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-prev-page");
+ if (opcPrevPageHeader.isPresent()) {
+ builder.opcPrevPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-prev-page",
+ opcPrevPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcNextPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-next-page");
+ if (opcNextPageHeader.isPresent()) {
+ builder.opcNextPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-next-page",
+ opcNextPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.ListLookupsResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListMetaSourceTypesConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListMetaSourceTypesConverter.java
index 10680ffbf83..c94a2e68bd9 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListMetaSourceTypesConverter.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListMetaSourceTypesConverter.java
@@ -59,7 +59,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"sortBy",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getSortBy()));
+ request.getSortBy().getValue()));
}
if (request.getSortOrder() != null) {
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListParserFunctionsConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListParserFunctionsConverter.java
index 1a511656791..26caf512329 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListParserFunctionsConverter.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListParserFunctionsConverter.java
@@ -67,7 +67,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"sortBy",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getSortBy()));
+ request.getSortBy().getValue()));
}
if (request.getSortOrder() != null) {
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListParserMetaPluginsConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListParserMetaPluginsConverter.java
index 0704c423539..6501f1374ac 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListParserMetaPluginsConverter.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListParserMetaPluginsConverter.java
@@ -60,7 +60,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"sortBy",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getSortBy()));
+ request.getSortBy().getValue()));
}
if (request.getSortOrder() != null) {
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListRecalledDataConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListRecalledDataConverter.java
new file mode 100644
index 00000000000..6126229b0f5
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListRecalledDataConverter.java
@@ -0,0 +1,183 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class ListRecalledDataConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.ListRecalledDataRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.ListRecalledDataRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.ListRecalledDataRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("storage")
+ .path("recalledData");
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getTimeDataStartedGreaterThanOrEqual() != null) {
+ target =
+ target.queryParam(
+ "timeDataStartedGreaterThanOrEqual",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getTimeDataStartedGreaterThanOrEqual()));
+ }
+
+ if (request.getTimeDataEndedLessThan() != null) {
+ target =
+ target.queryParam(
+ "timeDataEndedLessThan",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getTimeDataEndedLessThan()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ListRecalledDataResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ListRecalledDataResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ListRecalledDataResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.ListRecalledDataResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.ListRecalledDataResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ RecalledDataCollection>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ RecalledDataCollection.class);
+
+ com.oracle.bmc.http.internal.WithHeaders
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.ListRecalledDataResponse
+ .Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .ListRecalledDataResponse.builder();
+
+ builder.recalledDataCollection(response.getItem());
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcNextPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-next-page");
+ if (opcNextPageHeader.isPresent()) {
+ builder.opcNextPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-next-page",
+ opcNextPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcPrevPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-prev-page");
+ if (opcPrevPageHeader.isPresent()) {
+ builder.opcPrevPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-prev-page",
+ opcPrevPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.ListRecalledDataResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListSourceLabelOperatorsConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListSourceLabelOperatorsConverter.java
index c1b60c78813..dbb4eedc9d0 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListSourceLabelOperatorsConverter.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListSourceLabelOperatorsConverter.java
@@ -60,7 +60,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"sortBy",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getSortBy()));
+ request.getSortBy().getValue()));
}
if (request.getSortOrder() != null) {
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListSourceMetaFunctionsConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListSourceMetaFunctionsConverter.java
index 078f67904ff..7cf24a8c51f 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListSourceMetaFunctionsConverter.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListSourceMetaFunctionsConverter.java
@@ -60,7 +60,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"sortBy",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getSortBy()));
+ request.getSortBy().getValue()));
}
if (request.getSortOrder() != null) {
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListWarningsConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListWarningsConverter.java
new file mode 100644
index 00000000000..3c7516a4cc3
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ListWarningsConverter.java
@@ -0,0 +1,253 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class ListWarningsConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.ListWarningsRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.ListWarningsRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.ListWarningsRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notNull(request.getCompartmentId(), "compartmentId is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("warnings");
+
+ if (request.getWarningState() != null) {
+ target =
+ target.queryParam(
+ "warningState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getWarningState().getValue()));
+ }
+
+ if (request.getSourceName() != null) {
+ target =
+ target.queryParam(
+ "sourceName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSourceName()));
+ }
+
+ if (request.getSourcePattern() != null) {
+ target =
+ target.queryParam(
+ "sourcePattern",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSourcePattern()));
+ }
+
+ if (request.getWarningMessage() != null) {
+ target =
+ target.queryParam(
+ "warningMessage",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getWarningMessage()));
+ }
+
+ if (request.getEntityName() != null) {
+ target =
+ target.queryParam(
+ "entityName",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getEntityName()));
+ }
+
+ if (request.getEntityType() != null) {
+ target =
+ target.queryParam(
+ "entityType",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getEntityType()));
+ }
+
+ if (request.getWarningType() != null) {
+ target =
+ target.queryParam(
+ "warningType",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getWarningType()));
+ }
+
+ if (request.getIsNoSource() != null) {
+ target =
+ target.queryParam(
+ "isNoSource",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getIsNoSource()));
+ }
+
+ if (request.getStartTime() != null) {
+ target =
+ target.queryParam(
+ "startTime",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getStartTime()));
+ }
+
+ if (request.getEndTime() != null) {
+ target =
+ target.queryParam(
+ "endTime",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getEndTime()));
+ }
+
+ target =
+ target.queryParam(
+ "compartmentId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCompartmentId()));
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ if (request.getSortOrder() != null) {
+ target =
+ target.queryParam(
+ "sortOrder",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortOrder().getValue()));
+ }
+
+ if (request.getSortBy() != null) {
+ target =
+ target.queryParam(
+ "sortBy",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getSortBy().getValue()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ListWarningsResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ListWarningsResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ListWarningsResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.ListWarningsResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.ListWarningsResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ LogAnalyticsWarningCollection>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ LogAnalyticsWarningCollection.class);
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ LogAnalyticsWarningCollection>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.ListWarningsResponse.Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .ListWarningsResponse.builder();
+
+ builder.logAnalyticsWarningCollection(response.getItem());
+
+ com.google.common.base.Optional>
+ opcPrevPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-prev-page");
+ if (opcPrevPageHeader.isPresent()) {
+ builder.opcPrevPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-prev-page",
+ opcPrevPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcNextPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-next-page");
+ if (opcNextPageHeader.isPresent()) {
+ builder.opcNextPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-next-page",
+ opcNextPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.ListWarningsResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/PauseScheduledTaskConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/PauseScheduledTaskConverter.java
new file mode 100644
index 00000000000..eb67f332df4
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/PauseScheduledTaskConverter.java
@@ -0,0 +1,135 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class PauseScheduledTaskConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.PauseScheduledTaskRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.PauseScheduledTaskRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.PauseScheduledTaskRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notBlank(request.getScheduledTaskId(), "scheduledTaskId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("scheduledTasks")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getScheduledTaskId()))
+ .path("actions")
+ .path("pause");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.PauseScheduledTaskResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.PauseScheduledTaskResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses
+ .PauseScheduledTaskResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.PauseScheduledTaskResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.PauseScheduledTaskResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ ScheduledTask>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ ScheduledTask.class);
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.PauseScheduledTaskResponse
+ .Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .PauseScheduledTaskResponse.builder();
+
+ if (response.getStatusCode() != 304) {
+ builder.scheduledTask(response.getItem());
+ builder.isNotModified(false);
+ } else {
+ builder.isNotModified(true);
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.PauseScheduledTaskResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ResumeScheduledTaskConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ResumeScheduledTaskConverter.java
new file mode 100644
index 00000000000..11a26db966d
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/ResumeScheduledTaskConverter.java
@@ -0,0 +1,135 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class ResumeScheduledTaskConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.ResumeScheduledTaskRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.ResumeScheduledTaskRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.ResumeScheduledTaskRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notBlank(request.getScheduledTaskId(), "scheduledTaskId must not be blank");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("scheduledTasks")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getScheduledTaskId()))
+ .path("actions")
+ .path("resume");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ResumeScheduledTaskResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.ResumeScheduledTaskResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses
+ .ResumeScheduledTaskResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.ResumeScheduledTaskResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.ResumeScheduledTaskResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ ScheduledTask>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ ScheduledTask.class);
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.ResumeScheduledTaskResponse
+ .Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .ResumeScheduledTaskResponse.builder();
+
+ if (response.getStatusCode() != 304) {
+ builder.scheduledTask(response.getItem());
+ builder.isNotModified(false);
+ } else {
+ builder.isNotModified(true);
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.ResumeScheduledTaskResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/SuppressWarningConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/SuppressWarningConverter.java
new file mode 100644
index 00000000000..22f6b729750
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/SuppressWarningConverter.java
@@ -0,0 +1,120 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class SuppressWarningConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.SuppressWarningRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.SuppressWarningRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.SuppressWarningRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notNull(
+ request.getWarningReferenceDetails(), "warningReferenceDetails is required");
+ Validate.notNull(request.getCompartmentId(), "compartmentId is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("warnings")
+ .path("actions")
+ .path("suppress");
+
+ target =
+ target.queryParam(
+ "compartmentId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCompartmentId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.SuppressWarningResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.SuppressWarningResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.SuppressWarningResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.SuppressWarningResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.SuppressWarningResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.SuppressWarningResponse
+ .Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .SuppressWarningResponse.builder();
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.SuppressWarningResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/UnsuppressWarningConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/UnsuppressWarningConverter.java
new file mode 100644
index 00000000000..bfc0ce49a0e
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/UnsuppressWarningConverter.java
@@ -0,0 +1,120 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class UnsuppressWarningConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.UnsuppressWarningRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.UnsuppressWarningRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.UnsuppressWarningRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notNull(
+ request.getWarningReferenceDetails(), "warningReferenceDetails is required");
+ Validate.notNull(request.getCompartmentId(), "compartmentId is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("warnings")
+ .path("actions")
+ .path("unsuppress");
+
+ target =
+ target.queryParam(
+ "compartmentId",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCompartmentId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.UnsuppressWarningResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.UnsuppressWarningResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.UnsuppressWarningResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.UnsuppressWarningResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.UnsuppressWarningResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.UnsuppressWarningResponse
+ .Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .UnsuppressWarningResponse.builder();
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.UnsuppressWarningResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/UpdateLookupConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/UpdateLookupConverter.java
new file mode 100644
index 00000000000..dbc3ff60f53
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/UpdateLookupConverter.java
@@ -0,0 +1,133 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class UpdateLookupConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.UpdateLookupRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.UpdateLookupRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.UpdateLookupRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notBlank(request.getLookupName(), "lookupName must not be blank");
+ Validate.notNull(
+ request.getUpdateLookupMetadataDetails(),
+ "updateLookupMetadataDetails is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("lookups")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getLookupName()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.UpdateLookupResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.UpdateLookupResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.UpdateLookupResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.UpdateLookupResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.UpdateLookupResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ LogAnalyticsLookup>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ LogAnalyticsLookup.class);
+
+ com.oracle.bmc.http.internal.WithHeaders
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.UpdateLookupResponse.Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .UpdateLookupResponse.builder();
+
+ builder.logAnalyticsLookup(response.getItem());
+
+ com.google.common.base.Optional> etagHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "etag");
+ if (etagHeader.isPresent()) {
+ builder.etag(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "etag", etagHeader.get().get(0), String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.UpdateLookupResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/UpdateLookupDataConverter.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/UpdateLookupDataConverter.java
new file mode 100644
index 00000000000..5d373a6ce9a
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/internal/http/UpdateLookupDataConverter.java
@@ -0,0 +1,148 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.internal.http;
+
+import com.oracle.bmc.http.internal.ResponseHelper;
+import com.oracle.bmc.loganalytics.model.*;
+import com.oracle.bmc.loganalytics.requests.*;
+import com.oracle.bmc.loganalytics.responses.*;
+import org.apache.commons.lang3.Validate;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.extern.slf4j.Slf4j
+public class UpdateLookupDataConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static com.oracle.bmc.loganalytics.requests.UpdateLookupDataRequest interceptRequest(
+ com.oracle.bmc.loganalytics.requests.UpdateLookupDataRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ com.oracle.bmc.loganalytics.requests.UpdateLookupDataRequest request) {
+ Validate.notNull(request, "request instance is required");
+ Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
+ Validate.notBlank(request.getLookupName(), "lookupName must not be blank");
+ Validate.notNull(request.getUpdateLookupFileBody(), "updateLookupFileBody is required");
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20200601")
+ .path("namespaces")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getNamespaceName()))
+ .path("lookups")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getLookupName()))
+ .path("actions")
+ .path("updateData");
+
+ if (request.getIsForce() != null) {
+ target =
+ target.queryParam(
+ "isForce",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getIsForce()));
+ }
+
+ if (request.getCharEncoding() != null) {
+ target =
+ target.queryParam(
+ "charEncoding",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getCharEncoding()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ if (request.getOpcRetryToken() != null) {
+ ib.header("opc-retry-token", request.getOpcRetryToken());
+ }
+
+ if (request.getOpcRequestId() != null) {
+ ib.header("opc-request-id", request.getOpcRequestId());
+ }
+
+ if (request.getIfMatch() != null) {
+ ib.header("if-match", request.getIfMatch());
+ }
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.UpdateLookupDataResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.UpdateLookupDataResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.loganalytics.responses.UpdateLookupDataResponse>() {
+ @Override
+ public com.oracle.bmc.loganalytics.responses.UpdateLookupDataResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for com.oracle.bmc.loganalytics.responses.UpdateLookupDataResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ com.oracle.bmc.loganalytics.responses.UpdateLookupDataResponse
+ .Builder
+ builder =
+ com.oracle.bmc.loganalytics.responses
+ .UpdateLookupDataResponse.builder();
+
+ com.google.common.base.Optional>
+ opcWorkRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-work-request-id");
+ if (opcWorkRequestIdHeader.isPresent()) {
+ builder.opcWorkRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-work-request-id",
+ opcWorkRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ com.oracle.bmc.loganalytics.responses.UpdateLookupDataResponse
+ responseWrapper = builder.build();
+
+ ResponseHelper.closeResponseSilentlyIfNotBuffered(rawResponse);
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AbstractCommandDescriptor.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AbstractCommandDescriptor.java
index 6f2143d84c5..b59122a2313 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AbstractCommandDescriptor.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AbstractCommandDescriptor.java
@@ -73,10 +73,18 @@
value = FieldSummaryCommandDescriptor.class,
name = "FIELD_SUMMARY"
),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = MapCommandDescriptor.class,
+ name = "MAP"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = EventStatsCommandDescriptor.class,
name = "EVENT_STATS"
),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = HighlightGroupsCommandDescriptor.class,
+ name = "HIGHLIGHT_GROUPS"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = WhereCommandDescriptor.class,
name = "WHERE"
@@ -133,6 +141,10 @@
value = ExtractCommandDescriptor.class,
name = "EXTRACT"
),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = NlpCommandDescriptor.class,
+ name = "NLP"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = BottomCommandDescriptor.class,
name = "BOTTOM"
@@ -165,6 +177,10 @@
value = HeadCommandDescriptor.class,
name = "HEAD"
),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = CreateViewCommandDescriptor.class,
+ name = "CREATE_VIEW"
+ ),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = AddFieldsCommandDescriptor.class,
name = "ADD_FIELDS"
@@ -259,6 +275,10 @@ public enum Name {
MultiSearch("MULTI_SEARCH"),
Highlight("HIGHLIGHT"),
HighlightRows("HIGHLIGHT_ROWS"),
+ HighlightGroups("HIGHLIGHT_GROUPS"),
+ CreateView("CREATE_VIEW"),
+ Map("MAP"),
+ Nlp("NLP"),
/**
* This value is used if a service returns a value for this enum that is not recognized by this
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AbstractField.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AbstractField.java
index 50f719ccd78..b98f0fa2af8 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AbstractField.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AbstractField.java
@@ -107,6 +107,13 @@ public class AbstractField {
@com.fasterxml.jackson.annotation.JsonProperty("filterQueryString")
String filterQueryString;
+ /**
+ * Field denoting field unit type.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("unitType")
+ String unitType;
+
/**
* Field type classification.
*
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AddEntityAssociationDetails.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AddEntityAssociationDetails.java
index ad42ee93300..4ed4f65ac85 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AddEntityAssociationDetails.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/AddEntityAssociationDetails.java
@@ -5,7 +5,7 @@
package com.oracle.bmc.loganalytics.model;
/**
- * Information about the associations to be added between log analytics entity and other existing entities.
+ * Information about the associations to be added between a source log analytics entity and other existing destination entities.
*
*
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ArchivingConfiguration.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ArchivingConfiguration.java
index 2b02faf5be8..194a0399933 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ArchivingConfiguration.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ArchivingConfiguration.java
@@ -73,7 +73,7 @@ public static Builder builder() {
}
/**
- * Thi is the duration data in active storage before data is archived, as described in
+ * This is the duration data in active storage before data is archived, as described in
* https://en.wikipedia.org/wiki/ISO_8601#Durations.
* The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
*
@@ -82,7 +82,7 @@ public static Builder builder() {
String activeStorageDuration;
/**
- * The is the duration before archived data is deleted from object storage, as described in
+ * This is the duration before archived data is deleted from object storage, as described in
* https://en.wikipedia.org/wiki/ISO_8601#Durations
* The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
*
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ChangeLogAnalyticsEntityCompartmentDetails.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ChangeLogAnalyticsEntityCompartmentDetails.java
index 081d35fa6f6..0b971ea4523 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ChangeLogAnalyticsEntityCompartmentDetails.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ChangeLogAnalyticsEntityCompartmentDetails.java
@@ -5,7 +5,7 @@
package com.oracle.bmc.loganalytics.model;
/**
- * log analytics entity compartment to be updated.
+ * Log analytics entity compartment to be updated.
*
*
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ChangeLogAnalyticsObjectCollectionRuleCompartmentDetails.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ChangeLogAnalyticsObjectCollectionRuleCompartmentDetails.java
index 9001d5d2728..1a346da311c 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ChangeLogAnalyticsObjectCollectionRuleCompartmentDetails.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/ChangeLogAnalyticsObjectCollectionRuleCompartmentDetails.java
@@ -5,7 +5,7 @@
package com.oracle.bmc.loganalytics.model;
/**
- * The new compartment this Object Collection Rule will be moved to.
+ * New compartment details.
*
*
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
@@ -63,7 +63,7 @@ public static Builder builder() {
}
/**
- * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the rule should be moved.
+ * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to which the rule have to be moved.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CharEncodingCollection.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CharEncodingCollection.java
index 84a19e07d67..f1a29add03c 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CharEncodingCollection.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CharEncodingCollection.java
@@ -5,7 +5,7 @@
package com.oracle.bmc.loganalytics.model;
/**
- * List of supported character encodings
+ * List of supported character encodings.
*
* 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
@@ -61,7 +61,7 @@ public static Builder builder() {
}
/**
- * List of supported character encodings
+ * List of supported character encodings.
**/
@com.fasterxml.jackson.annotation.JsonProperty("items")
java.util.List items;
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateLogAnalyticsEntityDetails.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateLogAnalyticsEntityDetails.java
index 7e5788be354..f316af8b655 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateLogAnalyticsEntityDetails.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateLogAnalyticsEntityDetails.java
@@ -176,7 +176,7 @@ public static Builder builder() {
}
/**
- * Log analytics entity name. The name must be unique, within the tenancy, and cannot be changed.
+ * Log analytics entity name.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("name")
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateLogAnalyticsObjectCollectionRuleDetails.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateLogAnalyticsObjectCollectionRuleDetails.java
index a32c4de2672..414a94b1521 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateLogAnalyticsObjectCollectionRuleDetails.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateLogAnalyticsObjectCollectionRuleDetails.java
@@ -5,7 +5,7 @@
package com.oracle.bmc.loganalytics.model;
/**
- * The configuration details of an Object Storage based collection rule to enable automatic log collection.
+ * The configuration details of collection rule to enable automatic log collection from an object storage bucket.
*
*
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
@@ -135,6 +135,15 @@ public Builder charEncoding(String charEncoding) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("isEnabled")
+ private Boolean isEnabled;
+
+ public Builder isEnabled(Boolean isEnabled) {
+ this.isEnabled = isEnabled;
+ this.__explicitlySet__.add("isEnabled");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("overrides")
private java.util.Map> overrides;
@@ -182,6 +191,7 @@ public CreateLogAnalyticsObjectCollectionRuleDetails build() {
logSourceName,
entityId,
charEncoding,
+ isEnabled,
overrides,
definedTags,
freeformTags);
@@ -204,6 +214,7 @@ public Builder copy(CreateLogAnalyticsObjectCollectionRuleDetails o) {
.logSourceName(o.getLogSourceName())
.entityId(o.getEntityId())
.charEncoding(o.getCharEncoding())
+ .isEnabled(o.getIsEnabled())
.overrides(o.getOverrides())
.definedTags(o.getDefinedTags())
.freeformTags(o.getFreeformTags());
@@ -254,7 +265,6 @@ public static Builder builder() {
/**
* The type of collection.
- * Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("collectionType")
@@ -263,16 +273,16 @@ public static Builder builder() {
/**
* The oldest time of the file in the bucket to consider for collection.
* Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string.
- * When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
+ * Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("pollSince")
String pollSince;
/**
- * The oldest time of the file in the bucket to consider for collection.
+ * The newest time of the file in the bucket to consider for collection.
* Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string.
- * When collectionType is LIVE, specifying pollTill will result in error.
+ * Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("pollTill")
@@ -298,7 +308,7 @@ public static Builder builder() {
/**
* An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing.
- * It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters,
+ * It is recommended to set this value as ISO_8859_1 when configuring content of the objects having more numeric characters,
* and very few alphabets.
* For e.g. this applies when configuring VCN Flow Logs.
*
@@ -306,6 +316,13 @@ public static Builder builder() {
@com.fasterxml.jackson.annotation.JsonProperty("charEncoding")
String charEncoding;
+ /**
+ * Whether or not this rule is currently enabled.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isEnabled")
+ Boolean isEnabled;
+
/**
* The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket.
* Supported propeties for override are - logSourceName, charEncoding.
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateStandardTaskDetails.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateStandardTaskDetails.java
index bede2d47534..8a7bc7af293 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateStandardTaskDetails.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateStandardTaskDetails.java
@@ -162,6 +162,8 @@ public CreateStandardTaskDetails(
/**
* Schedules, typically a single schedule.
+ * Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks.
+ *
**/
@com.fasterxml.jackson.annotation.JsonProperty("schedules")
java.util.List schedules;
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateViewCommandDescriptor.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateViewCommandDescriptor.java
new file mode 100644
index 00000000000..128166e4d85
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/CreateViewCommandDescriptor.java
@@ -0,0 +1,129 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.model;
+
+/**
+ * Command descriptor for querylanguage CREATEVIEW command.
+ *
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateViewCommandDescriptor.Builder.class
+)
+@lombok.ToString(callSuper = true)
+@lombok.EqualsAndHashCode(callSuper = true)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "name"
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+@lombok.Builder(builderClassName = "Builder", toBuilder = true)
+public class CreateViewCommandDescriptor extends AbstractCommandDescriptor {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("displayQueryString")
+ private String displayQueryString;
+
+ public Builder displayQueryString(String displayQueryString) {
+ this.displayQueryString = displayQueryString;
+ this.__explicitlySet__.add("displayQueryString");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("internalQueryString")
+ private String internalQueryString;
+
+ public Builder internalQueryString(String internalQueryString) {
+ this.internalQueryString = internalQueryString;
+ this.__explicitlySet__.add("internalQueryString");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("category")
+ private String category;
+
+ public Builder category(String category) {
+ this.category = category;
+ this.__explicitlySet__.add("category");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("referencedFields")
+ private java.util.List referencedFields;
+
+ public Builder referencedFields(java.util.List referencedFields) {
+ this.referencedFields = referencedFields;
+ this.__explicitlySet__.add("referencedFields");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("declaredFields")
+ private java.util.List declaredFields;
+
+ public Builder declaredFields(java.util.List declaredFields) {
+ this.declaredFields = declaredFields;
+ this.__explicitlySet__.add("declaredFields");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateViewCommandDescriptor build() {
+ CreateViewCommandDescriptor __instance__ =
+ new CreateViewCommandDescriptor(
+ displayQueryString,
+ internalQueryString,
+ category,
+ referencedFields,
+ declaredFields);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateViewCommandDescriptor o) {
+ Builder copiedBuilder =
+ displayQueryString(o.getDisplayQueryString())
+ .internalQueryString(o.getInternalQueryString())
+ .category(o.getCategory())
+ .referencedFields(o.getReferencedFields())
+ .declaredFields(o.getDeclaredFields());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Deprecated
+ public CreateViewCommandDescriptor(
+ String displayQueryString,
+ String internalQueryString,
+ String category,
+ java.util.List referencedFields,
+ java.util.List declaredFields) {
+ super(displayQueryString, internalQueryString, category, referencedFields, declaredFields);
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EntityCloudType.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EntityCloudType.java
index ac433d5af80..f08f0c7ba29 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EntityCloudType.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EntityCloudType.java
@@ -5,7 +5,7 @@
package com.oracle.bmc.loganalytics.model;
/**
- * Nature of log analytics entity type - whether it is a CLOUD or NON_CLOUD (on-premises) type.
+ * Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
*
**/
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EntityLifecycleStates.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EntityLifecycleStates.java
index ae45868a30a..a697799b7f9 100644
--- a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EntityLifecycleStates.java
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EntityLifecycleStates.java
@@ -5,7 +5,7 @@
package com.oracle.bmc.loganalytics.model;
/**
- * Possible lifecycle states.
+ * Log analytics entity lifecycle state. Supported states are ACTIVE, DELETED
*
**/
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateRecallDataSizeDetails.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateRecallDataSizeDetails.java
new file mode 100644
index 00000000000..96680652aa7
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateRecallDataSizeDetails.java
@@ -0,0 +1,89 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.model;
+
+/**
+ * This is the input used to estimate the size of data to be recalled
+ *
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated}))
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = EstimateRecallDataSizeDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+@lombok.Builder(builderClassName = "Builder", toBuilder = true)
+public class EstimateRecallDataSizeDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataStarted")
+ private java.util.Date timeDataStarted;
+
+ public Builder timeDataStarted(java.util.Date timeDataStarted) {
+ this.timeDataStarted = timeDataStarted;
+ this.__explicitlySet__.add("timeDataStarted");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataEnded")
+ private java.util.Date timeDataEnded;
+
+ public Builder timeDataEnded(java.util.Date timeDataEnded) {
+ this.timeDataEnded = timeDataEnded;
+ this.__explicitlySet__.add("timeDataEnded");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public EstimateRecallDataSizeDetails build() {
+ EstimateRecallDataSizeDetails __instance__ =
+ new EstimateRecallDataSizeDetails(timeDataStarted, timeDataEnded);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(EstimateRecallDataSizeDetails o) {
+ Builder copiedBuilder =
+ timeDataStarted(o.getTimeDataStarted()).timeDataEnded(o.getTimeDataEnded());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * This is the start of the time range for the data to be recalled
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataStarted")
+ java.util.Date timeDataStarted;
+
+ /**
+ * This is the end of the time range for the data to be recalled
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataEnded")
+ java.util.Date timeDataEnded;
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateRecallDataSizeResult.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateRecallDataSizeResult.java
new file mode 100644
index 00000000000..4b5b7b0d1da
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateRecallDataSizeResult.java
@@ -0,0 +1,129 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.model;
+
+/**
+ * This is the size and time range of data to be recalled
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated}))
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = EstimateRecallDataSizeResult.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+@lombok.Builder(builderClassName = "Builder", toBuilder = true)
+public class EstimateRecallDataSizeResult {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataEnded")
+ private java.util.Date timeDataEnded;
+
+ public Builder timeDataEnded(java.util.Date timeDataEnded) {
+ this.timeDataEnded = timeDataEnded;
+ this.__explicitlySet__.add("timeDataEnded");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataStarted")
+ private java.util.Date timeDataStarted;
+
+ public Builder timeDataStarted(java.util.Date timeDataStarted) {
+ this.timeDataStarted = timeDataStarted;
+ this.__explicitlySet__.add("timeDataStarted");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("sizeInBytes")
+ private Long sizeInBytes;
+
+ public Builder sizeInBytes(Long sizeInBytes) {
+ this.sizeInBytes = sizeInBytes;
+ this.__explicitlySet__.add("sizeInBytes");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isOverlappingWithExistingRecalls")
+ private Boolean isOverlappingWithExistingRecalls;
+
+ public Builder isOverlappingWithExistingRecalls(Boolean isOverlappingWithExistingRecalls) {
+ this.isOverlappingWithExistingRecalls = isOverlappingWithExistingRecalls;
+ this.__explicitlySet__.add("isOverlappingWithExistingRecalls");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public EstimateRecallDataSizeResult build() {
+ EstimateRecallDataSizeResult __instance__ =
+ new EstimateRecallDataSizeResult(
+ timeDataEnded,
+ timeDataStarted,
+ sizeInBytes,
+ isOverlappingWithExistingRecalls);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(EstimateRecallDataSizeResult o) {
+ Builder copiedBuilder =
+ timeDataEnded(o.getTimeDataEnded())
+ .timeDataStarted(o.getTimeDataStarted())
+ .sizeInBytes(o.getSizeInBytes())
+ .isOverlappingWithExistingRecalls(
+ o.getIsOverlappingWithExistingRecalls());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * This is the end of the time range of data to be recalled. timeDataStarted and timeDataEnded delineate
+ * the time range of the archived data to be recalled. They may not be exact the same as the
+ * parameters in the request input (EstimateRecallDataSizeDetails).
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataEnded")
+ java.util.Date timeDataEnded;
+
+ /**
+ * This is the start of the time range of data to be recalled
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataStarted")
+ java.util.Date timeDataStarted;
+
+ /**
+ * This is the size in bytes
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("sizeInBytes")
+ Long sizeInBytes;
+
+ /**
+ * This indicates if the time range of data to be recalled overlaps with existing recalled data
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("isOverlappingWithExistingRecalls")
+ Boolean isOverlappingWithExistingRecalls;
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateReleaseDataSizeDetails.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateReleaseDataSizeDetails.java
new file mode 100644
index 00000000000..31bc0f14fd7
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateReleaseDataSizeDetails.java
@@ -0,0 +1,89 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.model;
+
+/**
+ * This is the input used to estimate the size of data to be released
+ *
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated}))
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = EstimateReleaseDataSizeDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+@lombok.Builder(builderClassName = "Builder", toBuilder = true)
+public class EstimateReleaseDataSizeDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataStarted")
+ private java.util.Date timeDataStarted;
+
+ public Builder timeDataStarted(java.util.Date timeDataStarted) {
+ this.timeDataStarted = timeDataStarted;
+ this.__explicitlySet__.add("timeDataStarted");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataEnded")
+ private java.util.Date timeDataEnded;
+
+ public Builder timeDataEnded(java.util.Date timeDataEnded) {
+ this.timeDataEnded = timeDataEnded;
+ this.__explicitlySet__.add("timeDataEnded");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public EstimateReleaseDataSizeDetails build() {
+ EstimateReleaseDataSizeDetails __instance__ =
+ new EstimateReleaseDataSizeDetails(timeDataStarted, timeDataEnded);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(EstimateReleaseDataSizeDetails o) {
+ Builder copiedBuilder =
+ timeDataStarted(o.getTimeDataStarted()).timeDataEnded(o.getTimeDataEnded());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * This is the start of the time range for the data to be released
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataStarted")
+ java.util.Date timeDataStarted;
+
+ /**
+ * This is the end of the time range for the data to be released
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataEnded")
+ java.util.Date timeDataEnded;
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateReleaseDataSizeResult.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateReleaseDataSizeResult.java
new file mode 100644
index 00000000000..64073b676b0
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EstimateReleaseDataSizeResult.java
@@ -0,0 +1,108 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.model;
+
+/**
+ * This is the size and time range of data to be released
+ *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
+ * that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
+ * the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
+ * {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated}))
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = EstimateReleaseDataSizeResult.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+@lombok.Builder(builderClassName = "Builder", toBuilder = true)
+public class EstimateReleaseDataSizeResult {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataEnded")
+ private java.util.Date timeDataEnded;
+
+ public Builder timeDataEnded(java.util.Date timeDataEnded) {
+ this.timeDataEnded = timeDataEnded;
+ this.__explicitlySet__.add("timeDataEnded");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataStarted")
+ private java.util.Date timeDataStarted;
+
+ public Builder timeDataStarted(java.util.Date timeDataStarted) {
+ this.timeDataStarted = timeDataStarted;
+ this.__explicitlySet__.add("timeDataStarted");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("sizeInBytes")
+ private Long sizeInBytes;
+
+ public Builder sizeInBytes(Long sizeInBytes) {
+ this.sizeInBytes = sizeInBytes;
+ this.__explicitlySet__.add("sizeInBytes");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public EstimateReleaseDataSizeResult build() {
+ EstimateReleaseDataSizeResult __instance__ =
+ new EstimateReleaseDataSizeResult(timeDataEnded, timeDataStarted, sizeInBytes);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(EstimateReleaseDataSizeResult o) {
+ Builder copiedBuilder =
+ timeDataEnded(o.getTimeDataEnded())
+ .timeDataStarted(o.getTimeDataStarted())
+ .sizeInBytes(o.getSizeInBytes());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * This is the end of the time range of data to be released. timeDataStarted and timeDataEnded delineate
+ * the time range of the recalled data to be released. They may not be exact the same as the
+ * parameters in the request input (EstimateReleaseDataSizeDetails).
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataEnded")
+ java.util.Date timeDataEnded;
+
+ /**
+ * This is the start of the time range of data to be released
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("timeDataStarted")
+ java.util.Date timeDataStarted;
+
+ /**
+ * This is the size in bytes
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("sizeInBytes")
+ Long sizeInBytes;
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EventType.java b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EventType.java
new file mode 100644
index 00000000000..ea5120dad43
--- /dev/null
+++ b/bmc-loganalytics/src/main/java/com/oracle/bmc/loganalytics/model/EventType.java
@@ -0,0 +1,119 @@
+/**
+ * Copyright (c) 2016, 2021, 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.loganalytics.model;
+
+/**
+ * The event 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 #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
+ * {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
+ * (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200601")
+@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated}))
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = EventType.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+@lombok.Builder(builderClassName = "Builder", toBuilder = true)
+public class EventType {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("eventTypeName")
+ private String eventTypeName;
+
+ public Builder eventTypeName(String eventTypeName) {
+ this.eventTypeName = eventTypeName;
+ this.__explicitlySet__.add("eventTypeName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("specVersion")
+ private String specVersion;
+
+ public Builder specVersion(String specVersion) {
+ this.specVersion = specVersion;
+ this.__explicitlySet__.add("specVersion");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isEnabled")
+ private Boolean isEnabled;
+
+ public Builder isEnabled(Boolean isEnabled) {
+ this.isEnabled = isEnabled;
+ this.__explicitlySet__.add("isEnabled");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("isSystem")
+ private Boolean isSystem;
+
+ public Builder isSystem(Boolean isSystem) {
+ this.isSystem = isSystem;
+ this.__explicitlySet__.add("isSystem");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet