healthChecks;
/**
* list of container health checks to check container status and take appropriate action if
- * container status is failed. There are three types of health checks that we currently support
- * HTTP, TCP, and Command.
+ * container status is failed. There are two types of health checks that we currently support
+ * HTTP and TCP.
*
* @return the value
*/
diff --git a/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/CreateContainerHealthCheckDetails.java b/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/CreateContainerHealthCheckDetails.java
index c1f1f150d98..fd3476fcab9 100644
--- a/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/CreateContainerHealthCheckDetails.java
+++ b/bmc-containerinstances/src/main/java/com/oracle/bmc/containerinstances/model/CreateContainerHealthCheckDetails.java
@@ -27,10 +27,7 @@
name = "TCP"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = CreateContainerHttpHealthCheckDetails.class,
- name = "HTTP"),
- @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
- value = CreateContainerCommandHealthCheckDetails.class,
- name = "COMMAND")
+ name = "HTTP")
})
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
diff --git a/bmc-containerinstances/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-containerinstances/reflect-config.json b/bmc-containerinstances/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-containerinstances/reflect-config.json
index f55690e5766..0265164fafb 100644
--- a/bmc-containerinstances/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-containerinstances/reflect-config.json
+++ b/bmc-containerinstances/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-containerinstances/reflect-config.json
@@ -93,20 +93,6 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
- {
- "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.containerinstances.model.ContainerCommandHealthCheck",
- "allDeclaredFields": true,
- "allDeclaredMethods": true,
- "queryAllDeclaredConstructors": true
- },
- {
- "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.containerinstances.model.ContainerCommandHealthCheck$Builder",
- "allDeclaredFields": true,
- "allDeclaredMethods": true,
- "allDeclaredConstructors": true
- },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.containerinstances.model.ContainerConfigFile",
@@ -401,20 +387,6 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
- {
- "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.containerinstances.model.CreateContainerCommandHealthCheckDetails",
- "allDeclaredFields": true,
- "allDeclaredMethods": true,
- "queryAllDeclaredConstructors": true
- },
- {
- "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
- "name": "com.oracle.bmc.containerinstances.model.CreateContainerCommandHealthCheckDetails$Builder",
- "allDeclaredFields": true,
- "allDeclaredMethods": true,
- "allDeclaredConstructors": true
- },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.containerinstances.model.CreateContainerConfigFileVolumeDetails",
diff --git a/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties b/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties
index 045bd698104..c67150977ce 100644
--- a/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties
+++ b/bmc-containerinstances/src/main/resources/com/oracle/bmc/containerinstances/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210415")
\ No newline at end of file
diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml
index 6d1bde01c78..6ed7087e19b 100644
--- a/bmc-core/pom.xml
+++ b/bmc-core/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.57.2
+ 3.58.0
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java
index fca7ac582c3..39097480ea9 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java
@@ -3277,6 +3277,23 @@ GetVcnDnsResolverAssociationResponse getVcnDnsResolverAssociation(
*/
GetVtapResponse getVtap(GetVtapRequest request);
+ /**
+ * Unassign the specified IPv6 address from Virtual Network Interface Card (VNIC). You must
+ * specify the IPv6
+ * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation will not retry by default, users
+ * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
+ * enable retries for it. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ * Example: Click here to see how to use Ipv6VnicDetach API.
+ */
+ Ipv6VnicDetachResponse ipv6VnicDetach(Ipv6VnicDetachRequest request);
+
/**
* Lists the regions that support remote VCN peering (which is peering across regions). For more
* information, see [VCN
@@ -4213,6 +4230,24 @@ ListVirtualCircuitPublicPrefixesResponse listVirtualCircuitPublicPrefixes(
*/
ModifyVcnCidrResponse modifyVcnCidr(ModifyVcnCidrRequest request);
+ /**
+ * Unassign the specified PrivateIP address from Virtual Network Interface Card (VNIC). You must
+ * specify the PrivateIP
+ * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation will not retry by default, users
+ * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
+ * enable retries for it. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use PrivateIpVnicDetach
+ * API.
+ */
+ PrivateIpVnicDetachResponse privateIpVnicDetach(PrivateIpVnicDetachRequest request);
+
/**
* Removes one or more route distribution statements from the specified route distribution's
* map.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java
index 4f0e24f455d..411a6009114 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsync.java
@@ -3251,6 +3251,23 @@ java.util.concurrent.Future getVtap(
GetVtapRequest request,
com.oracle.bmc.responses.AsyncHandler handler);
+ /**
+ * Unassign the specified IPv6 address from Virtual Network Interface Card (VNIC). You must
+ * specify the IPv6
+ * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ *
+ * @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 ipv6VnicDetach(
+ Ipv6VnicDetachRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
/**
* Lists the regions that support remote VCN peering (which is peering across regions). For more
* information, see [VCN
@@ -4178,6 +4195,24 @@ java.util.concurrent.Future modifyVcnCidr(
com.oracle.bmc.responses.AsyncHandler
handler);
+ /**
+ * Unassign the specified PrivateIP address from Virtual Network Interface Card (VNIC). You must
+ * specify the PrivateIP
+ * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
+ *
+ * @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 privateIpVnicDetach(
+ PrivateIpVnicDetachRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ PrivateIpVnicDetachRequest, PrivateIpVnicDetachResponse>
+ handler);
+
/**
* Removes one or more route distribution statements from the specified route distribution's
* map.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsyncClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsyncClient.java
index 2656e979019..13c245661cb 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsyncClient.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkAsyncClient.java
@@ -5048,6 +5048,40 @@ public java.util.concurrent.Future getVtap(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future ipv6VnicDetach(
+ Ipv6VnicDetachRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ Ipv6VnicDetachRequest, Ipv6VnicDetachResponse>
+ handler) {
+
+ Validate.notBlank(request.getIpv6Id(), "ipv6Id must not be blank");
+
+ return clientCall(request, Ipv6VnicDetachResponse::builder)
+ .logger(LOG, "ipv6VnicDetach")
+ .serviceDetails(
+ "VirtualNetwork",
+ "Ipv6VnicDetach",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/Ipv6VnicDetach")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(Ipv6VnicDetachRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("ipv6")
+ .appendPathParam(request.getIpv6Id())
+ .appendPathParam("actions")
+ .appendPathParam("detach")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .handleBody(
+ com.oracle.bmc.core.model.Ipv6.class, Ipv6VnicDetachResponse.Builder::ipv6)
+ .handleResponseHeaderString("etag", Ipv6VnicDetachResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", Ipv6VnicDetachResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future
listAllowedPeerRegionsForRemotePeering(
@@ -6056,6 +6090,8 @@ public java.util.concurrent.Future listIpv6s(
.appendQueryParam("ipAddress", request.getIpAddress())
.appendQueryParam("subnetId", request.getSubnetId())
.appendQueryParam("vnicId", request.getVnicId())
+ .appendQueryParam("ipState", request.getIpState())
+ .appendQueryParam("lifetime", request.getLifetime())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.handleBodyList(
@@ -6277,6 +6313,8 @@ public java.util.concurrent.Future listPrivateIps(
.appendQueryParam("ipAddress", request.getIpAddress())
.appendQueryParam("subnetId", request.getSubnetId())
.appendQueryParam("vnicId", request.getVnicId())
+ .appendQueryParam("ipState", request.getIpState())
+ .appendQueryParam("lifetime", request.getLifetime())
.appendQueryParam("vlanId", request.getVlanId())
.accept("application/json")
.handleBodyList(
@@ -6861,6 +6899,41 @@ public java.util.concurrent.Future modifyVcnCidr(
.callAsync(handler);
}
+ @Override
+ public java.util.concurrent.Future privateIpVnicDetach(
+ PrivateIpVnicDetachRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ PrivateIpVnicDetachRequest, PrivateIpVnicDetachResponse>
+ handler) {
+
+ Validate.notBlank(request.getPrivateIpId(), "privateIpId must not be blank");
+
+ return clientCall(request, PrivateIpVnicDetachResponse::builder)
+ .logger(LOG, "privateIpVnicDetach")
+ .serviceDetails(
+ "VirtualNetwork",
+ "PrivateIpVnicDetach",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/PrivateIpVnicDetach")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(PrivateIpVnicDetachRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("privateIps")
+ .appendPathParam(request.getPrivateIpId())
+ .appendPathParam("actions")
+ .appendPathParam("detach")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .handleBody(
+ com.oracle.bmc.core.model.PrivateIp.class,
+ PrivateIpVnicDetachResponse.Builder::privateIp)
+ .handleResponseHeaderString("etag", PrivateIpVnicDetachResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", PrivateIpVnicDetachResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
@Override
public java.util.concurrent.Future
removeDrgRouteDistributionStatements(
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkClient.java b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkClient.java
index dfe517e0353..13c6eba298e 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkClient.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetworkClient.java
@@ -4530,6 +4530,36 @@ public GetVtapResponse getVtap(GetVtapRequest request) {
.callSync();
}
+ @Override
+ public Ipv6VnicDetachResponse ipv6VnicDetach(Ipv6VnicDetachRequest request) {
+
+ Validate.notBlank(request.getIpv6Id(), "ipv6Id must not be blank");
+
+ return clientCall(request, Ipv6VnicDetachResponse::builder)
+ .logger(LOG, "ipv6VnicDetach")
+ .serviceDetails(
+ "VirtualNetwork",
+ "Ipv6VnicDetach",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/Ipv6VnicDetach")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(Ipv6VnicDetachRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("ipv6")
+ .appendPathParam(request.getIpv6Id())
+ .appendPathParam("actions")
+ .appendPathParam("detach")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .handleBody(
+ com.oracle.bmc.core.model.Ipv6.class, Ipv6VnicDetachResponse.Builder::ipv6)
+ .handleResponseHeaderString("etag", Ipv6VnicDetachResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", Ipv6VnicDetachResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public ListAllowedPeerRegionsForRemotePeeringResponse listAllowedPeerRegionsForRemotePeering(
ListAllowedPeerRegionsForRemotePeeringRequest request) {
@@ -5444,6 +5474,8 @@ public ListIpv6sResponse listIpv6s(ListIpv6sRequest request) {
.appendQueryParam("ipAddress", request.getIpAddress())
.appendQueryParam("subnetId", request.getSubnetId())
.appendQueryParam("vnicId", request.getVnicId())
+ .appendQueryParam("ipState", request.getIpState())
+ .appendQueryParam("lifetime", request.getLifetime())
.accept("application/json")
.appendHeader("opc-request-id", request.getOpcRequestId())
.handleBodyList(
@@ -5641,6 +5673,8 @@ public ListPrivateIpsResponse listPrivateIps(ListPrivateIpsRequest request) {
.appendQueryParam("ipAddress", request.getIpAddress())
.appendQueryParam("subnetId", request.getSubnetId())
.appendQueryParam("vnicId", request.getVnicId())
+ .appendQueryParam("ipState", request.getIpState())
+ .appendQueryParam("lifetime", request.getLifetime())
.appendQueryParam("vlanId", request.getVlanId())
.accept("application/json")
.handleBodyList(
@@ -6169,6 +6203,37 @@ public ModifyVcnCidrResponse modifyVcnCidr(ModifyVcnCidrRequest request) {
.callSync();
}
+ @Override
+ public PrivateIpVnicDetachResponse privateIpVnicDetach(PrivateIpVnicDetachRequest request) {
+
+ Validate.notBlank(request.getPrivateIpId(), "privateIpId must not be blank");
+
+ return clientCall(request, PrivateIpVnicDetachResponse::builder)
+ .logger(LOG, "privateIpVnicDetach")
+ .serviceDetails(
+ "VirtualNetwork",
+ "PrivateIpVnicDetach",
+ "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/PrivateIpVnicDetach")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(PrivateIpVnicDetachRequest::builder)
+ .basePath("/20160918")
+ .appendPathParam("privateIps")
+ .appendPathParam(request.getPrivateIpId())
+ .appendPathParam("actions")
+ .appendPathParam("detach")
+ .accept("application/json")
+ .appendHeader("if-match", request.getIfMatch())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .handleBody(
+ com.oracle.bmc.core.model.PrivateIp.class,
+ PrivateIpVnicDetachResponse.Builder::privateIp)
+ .handleResponseHeaderString("etag", PrivateIpVnicDetachResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", PrivateIpVnicDetachResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
@Override
public RemoveDrgRouteDistributionStatementsResponse removeDrgRouteDistributionStatements(
RemoveDrgRouteDistributionStatementsRequest request) {
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateByoipRangeDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateByoipRangeDetails.java
index 54b9affd9a8..fff31477ffe 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateByoipRangeDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateByoipRangeDetails.java
@@ -26,6 +26,8 @@ public final class CreateByoipRangeDetails
@java.beans.ConstructorProperties({
"cidrBlock",
"compartmentId",
+ "ipAnycastId",
+ "monitorIp",
"ipv6CidrBlock",
"definedTags",
"displayName",
@@ -34,6 +36,8 @@ public final class CreateByoipRangeDetails
public CreateByoipRangeDetails(
String cidrBlock,
String compartmentId,
+ String ipAnycastId,
+ String monitorIp,
String ipv6CidrBlock,
java.util.Map> definedTags,
String displayName,
@@ -41,6 +45,8 @@ public CreateByoipRangeDetails(
super();
this.cidrBlock = cidrBlock;
this.compartmentId = compartmentId;
+ this.ipAnycastId = ipAnycastId;
+ this.monitorIp = monitorIp;
this.ipv6CidrBlock = ipv6CidrBlock;
this.definedTags = definedTags;
this.displayName = displayName;
@@ -87,6 +93,40 @@ public Builder compartmentId(String compartmentId) {
this.__explicitlySet__.add("compartmentId");
return this;
}
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the {@code IpAnycast} resource.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("ipAnycastId")
+ private String ipAnycastId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the {@code IpAnycast} resource.
+ *
+ * @param ipAnycastId the value to set
+ * @return this builder
+ */
+ public Builder ipAnycastId(String ipAnycastId) {
+ this.ipAnycastId = ipAnycastId;
+ this.__explicitlySet__.add("ipAnycastId");
+ return this;
+ }
+ /** The IP address of the CIDR for Prefix Monitoring. */
+ @com.fasterxml.jackson.annotation.JsonProperty("monitorIp")
+ private String monitorIp;
+
+ /**
+ * The IP address of the CIDR for Prefix Monitoring.
+ *
+ * @param monitorIp the value to set
+ * @return this builder
+ */
+ public Builder monitorIp(String monitorIp) {
+ this.monitorIp = monitorIp;
+ this.__explicitlySet__.add("monitorIp");
+ return this;
+ }
/** The BYOIPv6 prefix. You can assign some or all of it to a VCN after it is validated. */
@com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock")
private String ipv6CidrBlock;
@@ -181,6 +221,8 @@ public CreateByoipRangeDetails build() {
new CreateByoipRangeDetails(
this.cidrBlock,
this.compartmentId,
+ this.ipAnycastId,
+ this.monitorIp,
this.ipv6CidrBlock,
this.definedTags,
this.displayName,
@@ -199,6 +241,12 @@ public Builder copy(CreateByoipRangeDetails model) {
if (model.wasPropertyExplicitlySet("compartmentId")) {
this.compartmentId(model.getCompartmentId());
}
+ if (model.wasPropertyExplicitlySet("ipAnycastId")) {
+ this.ipAnycastId(model.getIpAnycastId());
+ }
+ if (model.wasPropertyExplicitlySet("monitorIp")) {
+ this.monitorIp(model.getMonitorIp());
+ }
if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) {
this.ipv6CidrBlock(model.getIpv6CidrBlock());
}
@@ -258,6 +306,36 @@ public String getCompartmentId() {
return compartmentId;
}
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the {@code IpAnycast} resource.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("ipAnycastId")
+ private final String ipAnycastId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the {@code IpAnycast} resource.
+ *
+ * @return the value
+ */
+ public String getIpAnycastId() {
+ return ipAnycastId;
+ }
+
+ /** The IP address of the CIDR for Prefix Monitoring. */
+ @com.fasterxml.jackson.annotation.JsonProperty("monitorIp")
+ private final String monitorIp;
+
+ /**
+ * The IP address of the CIDR for Prefix Monitoring.
+ *
+ * @return the value
+ */
+ public String getMonitorIp() {
+ return monitorIp;
+ }
+
/** The BYOIPv6 prefix. You can assign some or all of it to a VCN after it is validated. */
@com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock")
private final String ipv6CidrBlock;
@@ -351,6 +429,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString());
sb.append("cidrBlock=").append(String.valueOf(this.cidrBlock));
sb.append(", compartmentId=").append(String.valueOf(this.compartmentId));
+ sb.append(", ipAnycastId=").append(String.valueOf(this.ipAnycastId));
+ sb.append(", monitorIp=").append(String.valueOf(this.monitorIp));
sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
sb.append(", displayName=").append(String.valueOf(this.displayName));
@@ -371,6 +451,8 @@ public boolean equals(Object o) {
CreateByoipRangeDetails other = (CreateByoipRangeDetails) o;
return java.util.Objects.equals(this.cidrBlock, other.cidrBlock)
&& java.util.Objects.equals(this.compartmentId, other.compartmentId)
+ && java.util.Objects.equals(this.ipAnycastId, other.ipAnycastId)
+ && java.util.Objects.equals(this.monitorIp, other.monitorIp)
&& java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.displayName, other.displayName)
@@ -386,6 +468,8 @@ public int hashCode() {
result =
(result * PRIME)
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
+ result = (result * PRIME) + (this.ipAnycastId == null ? 43 : this.ipAnycastId.hashCode());
+ result = (result * PRIME) + (this.monitorIp == null ? 43 : this.monitorIp.hashCode());
result =
(result * PRIME)
+ (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode());
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateIpv6Details.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateIpv6Details.java
index 4bfd97f846e..6ec588ec7e1 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateIpv6Details.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateIpv6Details.java
@@ -29,6 +29,8 @@ public final class CreateIpv6Details
"freeformTags",
"ipAddress",
"vnicId",
+ "subnetId",
+ "lifetime",
"routeTableId",
"ipv6SubnetCidr"
})
@@ -38,6 +40,8 @@ public CreateIpv6Details(
java.util.Map freeformTags,
String ipAddress,
String vnicId,
+ String subnetId,
+ Lifetime lifetime,
String routeTableId,
String ipv6SubnetCidr) {
super();
@@ -46,6 +50,8 @@ public CreateIpv6Details(
this.freeformTags = freeformTags;
this.ipAddress = ipAddress;
this.vnicId = vnicId;
+ this.subnetId = subnetId;
+ this.lifetime = lifetime;
this.routeTableId = routeTableId;
this.ipv6SubnetCidr = ipv6SubnetCidr;
}
@@ -168,14 +174,54 @@ public Builder vnicId(String vnicId) {
}
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the subnet from which the IPv6 is to be drawn. The IP address, *if supplied*, must be
+ * valid for the given subnet, only valid for reserved IPs currently.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId")
+ private String subnetId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the subnet from which the IPv6 is to be drawn. The IP address, *if supplied*, must be
+ * valid for the given subnet, only valid for reserved IPs currently.
+ *
+ * @param subnetId the value to set
+ * @return this builder
+ */
+ public Builder subnetId(String subnetId) {
+ this.subnetId = subnetId;
+ this.__explicitlySet__.add("subnetId");
+ return this;
+ }
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @param lifetime the value to set
+ * @return this builder
+ */
+ public Builder lifetime(Lifetime lifetime) {
+ this.lifetime = lifetime;
+ this.__explicitlySet__.add("lifetime");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @param routeTableId the value to set
* @return this builder
@@ -216,6 +262,8 @@ public CreateIpv6Details build() {
this.freeformTags,
this.ipAddress,
this.vnicId,
+ this.subnetId,
+ this.lifetime,
this.routeTableId,
this.ipv6SubnetCidr);
for (String explicitlySetProperty : this.__explicitlySet__) {
@@ -241,6 +289,12 @@ public Builder copy(CreateIpv6Details model) {
if (model.wasPropertyExplicitlySet("vnicId")) {
this.vnicId(model.getVnicId());
}
+ if (model.wasPropertyExplicitlySet("subnetId")) {
+ this.subnetId(model.getSubnetId());
+ }
+ if (model.wasPropertyExplicitlySet("lifetime")) {
+ this.lifetime(model.getLifetime());
+ }
if (model.wasPropertyExplicitlySet("routeTableId")) {
this.routeTableId(model.getRouteTableId());
}
@@ -365,14 +419,81 @@ public String getVnicId() {
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the subnet from which the IPv6 is to be drawn. The IP address, *if supplied*, must be valid
+ * for the given subnet, only valid for reserved IPs currently.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId")
+ private final String subnetId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the subnet from which the IPv6 is to be drawn. The IP address, *if supplied*, must be valid
+ * for the given subnet, only valid for reserved IPs currently.
+ *
+ * @return the value
+ */
+ public String getSubnetId() {
+ return subnetId;
+ }
+
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ public enum Lifetime implements com.oracle.bmc.http.internal.BmcEnum {
+ Ephemeral("EPHEMERAL"),
+ Reserved("RESERVED"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Lifetime v : Lifetime.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Lifetime(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Lifetime create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Lifetime: " + key);
+ }
+ };
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private final Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @return the value
+ */
+ public Lifetime getLifetime() {
+ return lifetime;
+ }
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private final String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @return the value
*/
@@ -417,6 +538,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", ipAddress=").append(String.valueOf(this.ipAddress));
sb.append(", vnicId=").append(String.valueOf(this.vnicId));
+ sb.append(", subnetId=").append(String.valueOf(this.subnetId));
+ sb.append(", lifetime=").append(String.valueOf(this.lifetime));
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
sb.append(", ipv6SubnetCidr=").append(String.valueOf(this.ipv6SubnetCidr));
sb.append(")");
@@ -438,6 +561,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.ipAddress, other.ipAddress)
&& java.util.Objects.equals(this.vnicId, other.vnicId)
+ && java.util.Objects.equals(this.subnetId, other.subnetId)
+ && java.util.Objects.equals(this.lifetime, other.lifetime)
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
&& java.util.Objects.equals(this.ipv6SubnetCidr, other.ipv6SubnetCidr)
&& super.equals(other);
@@ -452,6 +577,8 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode());
result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode());
+ result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode());
+ result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode());
result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode());
result =
(result * PRIME)
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreatePrivateIpDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreatePrivateIpDetails.java
index 90154aaffb8..43b2461ce39 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreatePrivateIpDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreatePrivateIpDetails.java
@@ -31,6 +31,8 @@ public final class CreatePrivateIpDetails
"ipAddress",
"vnicId",
"vlanId",
+ "subnetId",
+ "lifetime",
"routeTableId"
})
public CreatePrivateIpDetails(
@@ -41,6 +43,8 @@ public CreatePrivateIpDetails(
String ipAddress,
String vnicId,
String vlanId,
+ String subnetId,
+ Lifetime lifetime,
String routeTableId) {
super();
this.definedTags = definedTags;
@@ -50,6 +54,8 @@ public CreatePrivateIpDetails(
this.ipAddress = ipAddress;
this.vnicId = vnicId;
this.vlanId = vlanId;
+ this.subnetId = subnetId;
+ this.lifetime = lifetime;
this.routeTableId = routeTableId;
}
@@ -235,14 +241,54 @@ public Builder vlanId(String vlanId) {
}
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the subnet from which the private IP is to be drawn. The IP address, *if supplied*,
+ * must be valid for the given subnet.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId")
+ private String subnetId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the subnet from which the private IP is to be drawn. The IP address, *if supplied*,
+ * must be valid for the given subnet.
+ *
+ * @param subnetId the value to set
+ * @return this builder
+ */
+ public Builder subnetId(String subnetId) {
+ this.subnetId = subnetId;
+ this.__explicitlySet__.add("subnetId");
+ return this;
+ }
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @param lifetime the value to set
+ * @return this builder
+ */
+ public Builder lifetime(Lifetime lifetime) {
+ this.lifetime = lifetime;
+ this.__explicitlySet__.add("lifetime");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @param routeTableId the value to set
* @return this builder
@@ -266,6 +312,8 @@ public CreatePrivateIpDetails build() {
this.ipAddress,
this.vnicId,
this.vlanId,
+ this.subnetId,
+ this.lifetime,
this.routeTableId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -296,6 +344,12 @@ public Builder copy(CreatePrivateIpDetails model) {
if (model.wasPropertyExplicitlySet("vlanId")) {
this.vlanId(model.getVlanId());
}
+ if (model.wasPropertyExplicitlySet("subnetId")) {
+ this.subnetId(model.getSubnetId());
+ }
+ if (model.wasPropertyExplicitlySet("lifetime")) {
+ this.lifetime(model.getLifetime());
+ }
if (model.wasPropertyExplicitlySet("routeTableId")) {
this.routeTableId(model.getRouteTableId());
}
@@ -473,14 +527,81 @@ public String getVlanId() {
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be
+ * valid for the given subnet.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("subnetId")
+ private final String subnetId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be
+ * valid for the given subnet.
+ *
+ * @return the value
+ */
+ public String getSubnetId() {
+ return subnetId;
+ }
+
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ public enum Lifetime implements com.oracle.bmc.http.internal.BmcEnum {
+ Ephemeral("EPHEMERAL"),
+ Reserved("RESERVED"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Lifetime v : Lifetime.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Lifetime(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Lifetime create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Lifetime: " + key);
+ }
+ };
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private final Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @return the value
+ */
+ public Lifetime getLifetime() {
+ return lifetime;
+ }
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private final String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @return the value
*/
@@ -510,6 +631,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", ipAddress=").append(String.valueOf(this.ipAddress));
sb.append(", vnicId=").append(String.valueOf(this.vnicId));
sb.append(", vlanId=").append(String.valueOf(this.vlanId));
+ sb.append(", subnetId=").append(String.valueOf(this.subnetId));
+ sb.append(", lifetime=").append(String.valueOf(this.lifetime));
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
sb.append(")");
return sb.toString();
@@ -532,6 +655,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.ipAddress, other.ipAddress)
&& java.util.Objects.equals(this.vnicId, other.vnicId)
&& java.util.Objects.equals(this.vlanId, other.vlanId)
+ && java.util.Objects.equals(this.subnetId, other.subnetId)
+ && java.util.Objects.equals(this.lifetime, other.lifetime)
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
&& super.equals(other);
}
@@ -549,6 +674,8 @@ public int hashCode() {
result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode());
result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode());
result = (result * PRIME) + (this.vlanId == null ? 43 : this.vlanId.hashCode());
+ result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode());
+ result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode());
result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVnicDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVnicDetails.java
index 08703ac67e7..8d2b6743333 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVnicDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVnicDetails.java
@@ -292,18 +292,17 @@ public Builder securityAttributes(
* {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be
* unique across all VNICs in the subnet and comply with [RFC
* 952](https://tools.ietf.org/html/rfc952) and [RFC
- * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@code {@link Vnic}}
- * object and also the {@code {@link PrivateIp}} object returned by {@code {@link
- * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps}} and {@code {@link
- * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}}.
+ * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object
+ * and also the {@link PrivateIp} object returned by {@link
+ * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
+ * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
* For more information, see [DNS in Your Virtual Cloud
* Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
*
*
When launching an instance, use this {@code hostnameLabel} instead of the deprecated
- * {@code hostnameLabel} in {@code {@link
- * #launchInstanceDetails(LaunchInstanceDetailsRequest) launchInstanceDetails}}. If you
- * provide both, the values must match.
+ * {@code hostnameLabel} in {@link #launchInstanceDetails(LaunchInstanceDetailsRequest)
+ * launchInstanceDetails}. If you provide both, the values must match.
*
*
Example: {@code bminstance1}
*
@@ -319,18 +318,17 @@ public Builder securityAttributes(
* {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be
* unique across all VNICs in the subnet and comply with [RFC
* 952](https://tools.ietf.org/html/rfc952) and [RFC
- * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@code {@link Vnic}}
- * object and also the {@code {@link PrivateIp}} object returned by {@code {@link
- * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps}} and {@code {@link
- * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}}.
+ * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object
+ * and also the {@link PrivateIp} object returned by {@link
+ * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
+ * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
*
For more information, see [DNS in Your Virtual Cloud
* Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
*
*
When launching an instance, use this {@code hostnameLabel} instead of the deprecated
- * {@code hostnameLabel} in {@code {@link
- * #launchInstanceDetails(LaunchInstanceDetailsRequest) launchInstanceDetails}}. If you
- * provide both, the values must match.
+ * {@code hostnameLabel} in {@link #launchInstanceDetails(LaunchInstanceDetailsRequest)
+ * launchInstanceDetails}. If you provide both, the values must match.
*
*
Example: {@code bminstance1}
*
@@ -404,9 +402,9 @@ public Builder nsgIds(java.util.List nsgIds) {
* A private IP address of your choice to assign to the VNIC. Must be an available IP
* address within the subnet's CIDR. If you don't specify a value, Oracle automatically
* assigns a private IP address from the subnet. This is the VNIC's *primary* private IP
- * address. The value appears in the {@code {@link Vnic}} object and also the {@code {@link
- * PrivateIp}} object returned by {@code {@link #listPrivateIps(ListPrivateIpsRequest)
- * listPrivateIps}} and {@code {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}}.
+ * address. The value appears in the {@link Vnic} object and also the {@link PrivateIp}
+ * object returned by {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and
+ * {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
* If you specify a {@code vlanId}, the {@code privateIp} cannot be specified. See {@link
* Vlan}.
@@ -420,9 +418,9 @@ public Builder nsgIds(java.util.List nsgIds) {
* A private IP address of your choice to assign to the VNIC. Must be an available IP
* address within the subnet's CIDR. If you don't specify a value, Oracle automatically
* assigns a private IP address from the subnet. This is the VNIC's *primary* private IP
- * address. The value appears in the {@code {@link Vnic}} object and also the {@code {@link
- * PrivateIp}} object returned by {@code {@link #listPrivateIps(ListPrivateIpsRequest)
- * listPrivateIps}} and {@code {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}}.
+ * address. The value appears in the {@link Vnic} object and also the {@link PrivateIp}
+ * object returned by {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and
+ * {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
* If you specify a {@code vlanId}, the {@code privateIp} cannot be specified. See {@link
* Vlan}.
@@ -817,17 +815,17 @@ public java.util.Map> getSecurityAttribute
* portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code
* bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across
* all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and
- * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@code {@link
- * Vnic}} object and also the {@code {@link PrivateIp}} object returned by {@code {@link
- * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps}} and {@code {@link
- * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}}.
+ * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object
+ * and also the {@link PrivateIp} object returned by {@link
+ * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
+ * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
* For more information, see [DNS in Your Virtual Cloud
* Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
*
*
When launching an instance, use this {@code hostnameLabel} instead of the deprecated
- * {@code hostnameLabel} in {@code {@link #launchInstanceDetails(LaunchInstanceDetailsRequest)
- * launchInstanceDetails}}. If you provide both, the values must match.
+ * {@code hostnameLabel} in {@link #launchInstanceDetails(LaunchInstanceDetailsRequest)
+ * launchInstanceDetails}. If you provide both, the values must match.
*
*
Example: {@code bminstance1}
*
@@ -842,17 +840,17 @@ public java.util.Map> getSecurityAttribute
* portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code
* bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across
* all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and
- * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@code {@link
- * Vnic}} object and also the {@code {@link PrivateIp}} object returned by {@code {@link
- * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps}} and {@code {@link
- * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}}.
+ * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object
+ * and also the {@link PrivateIp} object returned by {@link
+ * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
+ * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
* For more information, see [DNS in Your Virtual Cloud
* Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
*
*
When launching an instance, use this {@code hostnameLabel} instead of the deprecated
- * {@code hostnameLabel} in {@code {@link #launchInstanceDetails(LaunchInstanceDetailsRequest)
- * launchInstanceDetails}}. If you provide both, the values must match.
+ * {@code hostnameLabel} in {@link #launchInstanceDetails(LaunchInstanceDetailsRequest)
+ * launchInstanceDetails}. If you provide both, the values must match.
*
*
Example: {@code bminstance1}
*
@@ -917,9 +915,9 @@ public java.util.List getNsgIds() {
* A private IP address of your choice to assign to the VNIC. Must be an available IP address
* within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a
* private IP address from the subnet. This is the VNIC's *primary* private IP address. The
- * value appears in the {@code {@link Vnic}} object and also the {@code {@link PrivateIp}}
- * object returned by {@code {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps}} and
- * {@code {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}}.
+ * value appears in the {@link Vnic} object and also the {@link PrivateIp} object returned by
+ * {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
+ * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
* If you specify a {@code vlanId}, the {@code privateIp} cannot be specified. See {@link
* Vlan}.
@@ -933,9 +931,9 @@ public java.util.List getNsgIds() {
* A private IP address of your choice to assign to the VNIC. Must be an available IP address
* within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a
* private IP address from the subnet. This is the VNIC's *primary* private IP address. The
- * value appears in the {@code {@link Vnic}} object and also the {@code {@link PrivateIp}}
- * object returned by {@code {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps}} and
- * {@code {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}}.
+ * value appears in the {@link Vnic} object and also the {@link PrivateIp} object returned by
+ * {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
+ * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
* If you specify a {@code vlanId}, the {@code privateIp} cannot be specified. See {@link
* Vlan}.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Ipv6.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Ipv6.java
index 99230e82e36..9a333ebfae5 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Ipv6.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Ipv6.java
@@ -40,6 +40,8 @@ public final class Ipv6 extends com.oracle.bmc.http.client.internal.ExplicitlySe
"subnetId",
"timeCreated",
"vnicId",
+ "ipState",
+ "lifetime",
"routeTableId"
})
public Ipv6(
@@ -53,6 +55,8 @@ public Ipv6(
String subnetId,
java.util.Date timeCreated,
String vnicId,
+ IpState ipState,
+ Lifetime lifetime,
String routeTableId) {
super();
this.compartmentId = compartmentId;
@@ -65,6 +69,8 @@ public Ipv6(
this.subnetId = subnetId;
this.timeCreated = timeCreated;
this.vnicId = vnicId;
+ this.ipState = ipState;
+ this.lifetime = lifetime;
this.routeTableId = routeTableId;
}
@@ -277,16 +283,54 @@ public Builder vnicId(String vnicId) {
this.__explicitlySet__.add("vnicId");
return this;
}
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise
+ * it is AVAILABLE.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("ipState")
+ private IpState ipState;
+
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise
+ * it is AVAILABLE.
+ *
+ * @param ipState the value to set
+ * @return this builder
+ */
+ public Builder ipState(IpState ipState) {
+ this.ipState = ipState;
+ this.__explicitlySet__.add("ipState");
+ return this;
+ }
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @param lifetime the value to set
+ * @return this builder
+ */
+ public Builder lifetime(Lifetime lifetime) {
+ this.lifetime = lifetime;
+ this.__explicitlySet__.add("lifetime");
+ return this;
+ }
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @param routeTableId the value to set
* @return this builder
@@ -313,6 +357,8 @@ public Ipv6 build() {
this.subnetId,
this.timeCreated,
this.vnicId,
+ this.ipState,
+ this.lifetime,
this.routeTableId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -352,6 +398,12 @@ public Builder copy(Ipv6 model) {
if (model.wasPropertyExplicitlySet("vnicId")) {
this.vnicId(model.getVnicId());
}
+ if (model.wasPropertyExplicitlySet("ipState")) {
+ this.ipState(model.getIpState());
+ }
+ if (model.wasPropertyExplicitlySet("lifetime")) {
+ this.lifetime(model.getLifetime());
+ }
if (model.wasPropertyExplicitlySet("routeTableId")) {
this.routeTableId(model.getRouteTableId());
}
@@ -602,16 +654,143 @@ public String getVnicId() {
return vnicId;
}
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it
+ * is AVAILABLE.
+ */
+ public enum IpState implements com.oracle.bmc.http.internal.BmcEnum {
+ Assigned("ASSIGNED"),
+ Available("AVAILABLE"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(IpState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (IpState v : IpState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ IpState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static IpState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'IpState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it
+ * is AVAILABLE.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("ipState")
+ private final IpState ipState;
+
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it
+ * is AVAILABLE.
+ *
+ * @return the value
+ */
+ public IpState getIpState() {
+ return ipState;
+ }
+
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ public enum Lifetime implements com.oracle.bmc.http.internal.BmcEnum {
+ Ephemeral("EPHEMERAL"),
+ Reserved("RESERVED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(Lifetime.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Lifetime v : Lifetime.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Lifetime(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Lifetime create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Lifetime', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private final Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @return the value
+ */
+ public Lifetime getLifetime() {
+ return lifetime;
+ }
+
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private final String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @return the value
*/
@@ -644,6 +823,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", subnetId=").append(String.valueOf(this.subnetId));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vnicId=").append(String.valueOf(this.vnicId));
+ sb.append(", ipState=").append(String.valueOf(this.ipState));
+ sb.append(", lifetime=").append(String.valueOf(this.lifetime));
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
sb.append(")");
return sb.toString();
@@ -669,6 +850,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.subnetId, other.subnetId)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vnicId, other.vnicId)
+ && java.util.Objects.equals(this.ipState, other.ipState)
+ && java.util.Objects.equals(this.lifetime, other.lifetime)
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
&& super.equals(other);
}
@@ -691,6 +874,8 @@ public int hashCode() {
result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode());
+ result = (result * PRIME) + (this.ipState == null ? 43 : this.ipState.hashCode());
+ result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode());
result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkSecurityGroup.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkSecurityGroup.java
index 7f058f80c3a..a120621f0a9 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkSecurityGroup.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkSecurityGroup.java
@@ -16,31 +16,31 @@
* apply to the VNICs in the group
*
* After creating an NSG, you can add VNICs and security rules to it. For example, when you
- * create an instance, you can specify one or more NSGs to add the instance to (see {@code {@link
- * #createVnicDetails(CreateVnicDetailsRequest) createVnicDetails})}. Or you can add an existing
- * instance to an NSG with {@code {@link #updateVnic(UpdateVnicRequest) updateVnic}}.
+ * create an instance, you can specify one or more NSGs to add the instance to (see {@link
+ * #createVnicDetails(CreateVnicDetailsRequest) createVnicDetails}). Or you can add an existing
+ * instance to an NSG with {@link #updateVnic(UpdateVnicRequest) updateVnic}.
*
- *
To add security rules to an NSG, see {@code {@link
+ *
To add security rules to an NSG, see {@link
* #addNetworkSecurityGroupSecurityRules(AddNetworkSecurityGroupSecurityRulesRequest)
- * addNetworkSecurityGroupSecurityRules}}.
+ * addNetworkSecurityGroupSecurityRules}.
*
- *
To list the VNICs in an NSG, see {@code {@link
+ *
To list the VNICs in an NSG, see {@link
* #listNetworkSecurityGroupVnics(ListNetworkSecurityGroupVnicsRequest)
- * listNetworkSecurityGroupVnics}}.
+ * listNetworkSecurityGroupVnics}.
*
- *
To list the security rules in an NSG, see {@code {@link
+ *
To list the security rules in an NSG, see {@link
* #listNetworkSecurityGroupSecurityRules(ListNetworkSecurityGroupSecurityRulesRequest)
- * listNetworkSecurityGroupSecurityRules}}.
+ * listNetworkSecurityGroupSecurityRules}.
*
- *
For more information about network security groups, see {@code [Network Security
- * Groups](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm)}.
+ *
For more information about network security groups, see [Network Security
+ * Groups](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm).
*
*
*Important:** Oracle Cloud Infrastructure Compute service images automatically include
* firewall rules (for example, Linux iptables, Windows firewall). If there are issues with some
* type of access to an instance, make sure all of the following are set correctly:
*
- *
Any security rules in any NSGs the instance's VNIC belongs to * Any {@code {@link
- * SecurityList}} associated with the instance's subnet * The instance's OS firewall rules
+ *
Any security rules in any NSGs the instance's VNIC belongs to * Any {@link SecurityList}
+ * associated with the instance's subnet * The instance's OS firewall rules
*
*
To use any of the API operations, you must be authorized in an IAM policy. If you're not
* authorized, talk to an administrator. If you're an administrator who needs to write policies to
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/PrivateIp.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/PrivateIp.java
index d871053bc49..e3e23b90f00 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/PrivateIp.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/PrivateIp.java
@@ -25,7 +25,7 @@
* primary private IP's properties come from the values you specify in {@link CreateVnicDetails}
* when calling either {@link #launchInstance(LaunchInstanceRequest) launchInstance} or {@link
* #attachVnic(AttachVnicRequest) attachVnic}. To update the hostname for a primary private IP, you
- * use {@code {@link #updateVnic(UpdateVnicRequest) updateVnic}}.
+ * use {@link #updateVnic(UpdateVnicRequest) updateVnic}.
*
*
{@code PrivateIp} objects that are created for use with the Oracle Cloud VMware Solution are
* assigned to a VLAN and not a VNIC in a subnet. See the descriptions of the relevant attributes in
@@ -65,6 +65,8 @@ public final class PrivateIp extends com.oracle.bmc.http.client.internal.Explici
"subnetId",
"timeCreated",
"vnicId",
+ "ipState",
+ "lifetime",
"routeTableId"
})
public PrivateIp(
@@ -81,6 +83,8 @@ public PrivateIp(
String subnetId,
java.util.Date timeCreated,
String vnicId,
+ IpState ipState,
+ Lifetime lifetime,
String routeTableId) {
super();
this.availabilityDomain = availabilityDomain;
@@ -96,6 +100,8 @@ public PrivateIp(
this.subnetId = subnetId;
this.timeCreated = timeCreated;
this.vnicId = vnicId;
+ this.ipState = ipState;
+ this.lifetime = lifetime;
this.routeTableId = routeTableId;
}
@@ -415,16 +421,54 @@ public Builder vnicId(String vnicId) {
this.__explicitlySet__.add("vnicId");
return this;
}
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise
+ * it is AVAILABLE.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("ipState")
+ private IpState ipState;
+
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise
+ * it is AVAILABLE.
+ *
+ * @param ipState the value to set
+ * @return this builder
+ */
+ public Builder ipState(IpState ipState) {
+ this.ipState = ipState;
+ this.__explicitlySet__.add("ipState");
+ return this;
+ }
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @param lifetime the value to set
+ * @return this builder
+ */
+ public Builder lifetime(Lifetime lifetime) {
+ this.lifetime = lifetime;
+ this.__explicitlySet__.add("lifetime");
+ return this;
+ }
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @param routeTableId the value to set
* @return this builder
@@ -454,6 +498,8 @@ public PrivateIp build() {
this.subnetId,
this.timeCreated,
this.vnicId,
+ this.ipState,
+ this.lifetime,
this.routeTableId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -502,6 +548,12 @@ public Builder copy(PrivateIp model) {
if (model.wasPropertyExplicitlySet("vnicId")) {
this.vnicId(model.getVnicId());
}
+ if (model.wasPropertyExplicitlySet("ipState")) {
+ this.ipState(model.getIpState());
+ }
+ if (model.wasPropertyExplicitlySet("lifetime")) {
+ this.lifetime(model.getLifetime());
+ }
if (model.wasPropertyExplicitlySet("routeTableId")) {
this.routeTableId(model.getRouteTableId());
}
@@ -805,16 +857,143 @@ public String getVnicId() {
return vnicId;
}
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it
+ * is AVAILABLE.
+ */
+ public enum IpState implements com.oracle.bmc.http.internal.BmcEnum {
+ Assigned("ASSIGNED"),
+ Available("AVAILABLE"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(IpState.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (IpState v : IpState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ IpState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static IpState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'IpState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it
+ * is AVAILABLE.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("ipState")
+ private final IpState ipState;
+
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it
+ * is AVAILABLE.
+ *
+ * @return the value
+ */
+ public IpState getIpState() {
+ return ipState;
+ }
+
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ public enum Lifetime implements com.oracle.bmc.http.internal.BmcEnum {
+ Ephemeral("EPHEMERAL"),
+ Reserved("RESERVED"),
+
+ /**
+ * This value is used if a service returns a value for this enum that is not recognized by
+ * this version of the SDK.
+ */
+ UnknownEnumValue(null);
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(Lifetime.class);
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Lifetime v : Lifetime.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Lifetime(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Lifetime create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Lifetime', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private final Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @return the value
+ */
+ public Lifetime getLifetime() {
+ return lifetime;
+ }
+
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private final String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @return the value
*/
@@ -850,6 +1029,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", subnetId=").append(String.valueOf(this.subnetId));
sb.append(", timeCreated=").append(String.valueOf(this.timeCreated));
sb.append(", vnicId=").append(String.valueOf(this.vnicId));
+ sb.append(", ipState=").append(String.valueOf(this.ipState));
+ sb.append(", lifetime=").append(String.valueOf(this.lifetime));
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
sb.append(")");
return sb.toString();
@@ -878,6 +1059,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.subnetId, other.subnetId)
&& java.util.Objects.equals(this.timeCreated, other.timeCreated)
&& java.util.Objects.equals(this.vnicId, other.vnicId)
+ && java.util.Objects.equals(this.ipState, other.ipState)
+ && java.util.Objects.equals(this.lifetime, other.lifetime)
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
&& super.equals(other);
}
@@ -907,6 +1090,8 @@ public int hashCode() {
result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode());
result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode());
result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode());
+ result = (result * PRIME) + (this.ipState == null ? 43 : this.ipState.hashCode());
+ result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode());
result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateByoipRangeDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateByoipRangeDetails.java
index 39f098ecb50..93daa0a6aa5 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateByoipRangeDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateByoipRangeDetails.java
@@ -23,15 +23,25 @@
public final class UpdateByoipRangeDetails
extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
@Deprecated
- @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags"})
+ @java.beans.ConstructorProperties({
+ "definedTags",
+ "displayName",
+ "freeformTags",
+ "ipAnycastId",
+ "monitorIp"
+ })
public UpdateByoipRangeDetails(
java.util.Map> definedTags,
String displayName,
- java.util.Map freeformTags) {
+ java.util.Map freeformTags,
+ String ipAnycastId,
+ String monitorIp) {
super();
this.definedTags = definedTags;
this.displayName = displayName;
this.freeformTags = freeformTags;
+ this.ipAnycastId = ipAnycastId;
+ this.monitorIp = monitorIp;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -106,6 +116,40 @@ public Builder freeformTags(java.util.Map freeformTags) {
this.__explicitlySet__.add("freeformTags");
return this;
}
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the {@code IpAnycast} resource.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("ipAnycastId")
+ private String ipAnycastId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the {@code IpAnycast} resource.
+ *
+ * @param ipAnycastId the value to set
+ * @return this builder
+ */
+ public Builder ipAnycastId(String ipAnycastId) {
+ this.ipAnycastId = ipAnycastId;
+ this.__explicitlySet__.add("ipAnycastId");
+ return this;
+ }
+ /** The IP address of the CIDR for Prefix Monitoring. */
+ @com.fasterxml.jackson.annotation.JsonProperty("monitorIp")
+ private String monitorIp;
+
+ /**
+ * The IP address of the CIDR for Prefix Monitoring.
+ *
+ * @param monitorIp the value to set
+ * @return this builder
+ */
+ public Builder monitorIp(String monitorIp) {
+ this.monitorIp = monitorIp;
+ this.__explicitlySet__.add("monitorIp");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -113,7 +157,11 @@ public Builder freeformTags(java.util.Map freeformTags) {
public UpdateByoipRangeDetails build() {
UpdateByoipRangeDetails model =
new UpdateByoipRangeDetails(
- this.definedTags, this.displayName, this.freeformTags);
+ this.definedTags,
+ this.displayName,
+ this.freeformTags,
+ this.ipAnycastId,
+ this.monitorIp);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -131,6 +179,12 @@ public Builder copy(UpdateByoipRangeDetails model) {
if (model.wasPropertyExplicitlySet("freeformTags")) {
this.freeformTags(model.getFreeformTags());
}
+ if (model.wasPropertyExplicitlySet("ipAnycastId")) {
+ this.ipAnycastId(model.getIpAnycastId());
+ }
+ if (model.wasPropertyExplicitlySet("monitorIp")) {
+ this.monitorIp(model.getMonitorIp());
+ }
return this;
}
}
@@ -207,6 +261,36 @@ public java.util.Map getFreeformTags() {
return freeformTags;
}
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the {@code IpAnycast} resource.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("ipAnycastId")
+ private final String ipAnycastId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the {@code IpAnycast} resource.
+ *
+ * @return the value
+ */
+ public String getIpAnycastId() {
+ return ipAnycastId;
+ }
+
+ /** The IP address of the CIDR for Prefix Monitoring. */
+ @com.fasterxml.jackson.annotation.JsonProperty("monitorIp")
+ private final String monitorIp;
+
+ /**
+ * The IP address of the CIDR for Prefix Monitoring.
+ *
+ * @return the value
+ */
+ public String getMonitorIp() {
+ return monitorIp;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -225,6 +309,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("definedTags=").append(String.valueOf(this.definedTags));
sb.append(", displayName=").append(String.valueOf(this.displayName));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
+ sb.append(", ipAnycastId=").append(String.valueOf(this.ipAnycastId));
+ sb.append(", monitorIp=").append(String.valueOf(this.monitorIp));
sb.append(")");
return sb.toString();
}
@@ -242,6 +328,8 @@ public boolean equals(Object o) {
return java.util.Objects.equals(this.definedTags, other.definedTags)
&& java.util.Objects.equals(this.displayName, other.displayName)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
+ && java.util.Objects.equals(this.ipAnycastId, other.ipAnycastId)
+ && java.util.Objects.equals(this.monitorIp, other.monitorIp)
&& super.equals(other);
}
@@ -252,6 +340,8 @@ public int hashCode() {
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
+ result = (result * PRIME) + (this.ipAnycastId == null ? 43 : this.ipAnycastId.hashCode());
+ result = (result * PRIME) + (this.monitorIp == null ? 43 : this.monitorIp.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateIpv6Details.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateIpv6Details.java
index b7b1daa4699..8d36d06426a 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateIpv6Details.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateIpv6Details.java
@@ -28,20 +28,23 @@ public final class UpdateIpv6Details
"displayName",
"freeformTags",
"vnicId",
- "routeTableId"
+ "routeTableId",
+ "lifetime"
})
public UpdateIpv6Details(
java.util.Map> definedTags,
String displayName,
java.util.Map freeformTags,
String vnicId,
- String routeTableId) {
+ String routeTableId,
+ Lifetime lifetime) {
super();
this.definedTags = definedTags;
this.displayName = displayName;
this.freeformTags = freeformTags;
this.vnicId = vnicId;
this.routeTableId = routeTableId;
+ this.lifetime = lifetime;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -139,14 +142,18 @@ public Builder vnicId(String vnicId) {
}
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @param routeTableId the value to set
* @return this builder
@@ -156,6 +163,21 @@ public Builder routeTableId(String routeTableId) {
this.__explicitlySet__.add("routeTableId");
return this;
}
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @param lifetime the value to set
+ * @return this builder
+ */
+ public Builder lifetime(Lifetime lifetime) {
+ this.lifetime = lifetime;
+ this.__explicitlySet__.add("lifetime");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -167,7 +189,8 @@ public UpdateIpv6Details build() {
this.displayName,
this.freeformTags,
this.vnicId,
- this.routeTableId);
+ this.routeTableId,
+ this.lifetime);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -191,6 +214,9 @@ public Builder copy(UpdateIpv6Details model) {
if (model.wasPropertyExplicitlySet("routeTableId")) {
this.routeTableId(model.getRouteTableId());
}
+ if (model.wasPropertyExplicitlySet("lifetime")) {
+ this.lifetime(model.getLifetime());
+ }
return this;
}
}
@@ -286,14 +312,16 @@ public String getVnicId() {
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private final String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @return the value
*/
@@ -301,6 +329,52 @@ public String getRouteTableId() {
return routeTableId;
}
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ public enum Lifetime implements com.oracle.bmc.http.internal.BmcEnum {
+ Ephemeral("EPHEMERAL"),
+ Reserved("RESERVED"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Lifetime v : Lifetime.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Lifetime(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Lifetime create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Lifetime: " + key);
+ }
+ };
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private final Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @return the value
+ */
+ public Lifetime getLifetime() {
+ return lifetime;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -321,6 +395,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", vnicId=").append(String.valueOf(this.vnicId));
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
+ sb.append(", lifetime=").append(String.valueOf(this.lifetime));
sb.append(")");
return sb.toString();
}
@@ -340,6 +415,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.vnicId, other.vnicId)
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
+ && java.util.Objects.equals(this.lifetime, other.lifetime)
&& super.equals(other);
}
@@ -352,6 +428,7 @@ public int hashCode() {
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode());
result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode());
+ result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdatePrivateIpDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdatePrivateIpDetails.java
index f417f146d64..584ec8dcaa2 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdatePrivateIpDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdatePrivateIpDetails.java
@@ -29,6 +29,7 @@ public final class UpdatePrivateIpDetails
"freeformTags",
"hostnameLabel",
"vnicId",
+ "lifetime",
"routeTableId"
})
public UpdatePrivateIpDetails(
@@ -37,6 +38,7 @@ public UpdatePrivateIpDetails(
java.util.Map freeformTags,
String hostnameLabel,
String vnicId,
+ Lifetime lifetime,
String routeTableId) {
super();
this.definedTags = definedTags;
@@ -44,6 +46,7 @@ public UpdatePrivateIpDetails(
this.freeformTags = freeformTags;
this.hostnameLabel = hostnameLabel;
this.vnicId = vnicId;
+ this.lifetime = lifetime;
this.routeTableId = routeTableId;
}
@@ -175,16 +178,35 @@ public Builder vnicId(String vnicId) {
this.__explicitlySet__.add("vnicId");
return this;
}
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @param lifetime the value to set
+ * @return this builder
+ */
+ public Builder lifetime(Lifetime lifetime) {
+ this.lifetime = lifetime;
+ this.__explicitlySet__.add("lifetime");
+ return this;
+ }
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @param routeTableId the value to set
* @return this builder
@@ -206,6 +228,7 @@ public UpdatePrivateIpDetails build() {
this.freeformTags,
this.hostnameLabel,
this.vnicId,
+ this.lifetime,
this.routeTableId);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -230,6 +253,9 @@ public Builder copy(UpdatePrivateIpDetails model) {
if (model.wasPropertyExplicitlySet("vnicId")) {
this.vnicId(model.getVnicId());
}
+ if (model.wasPropertyExplicitlySet("lifetime")) {
+ this.lifetime(model.getLifetime());
+ }
if (model.wasPropertyExplicitlySet("routeTableId")) {
this.routeTableId(model.getRouteTableId());
}
@@ -361,16 +387,64 @@ public String getVnicId() {
return vnicId;
}
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ public enum Lifetime implements com.oracle.bmc.http.internal.BmcEnum {
+ Ephemeral("EPHEMERAL"),
+ Reserved("RESERVED"),
+ ;
+
+ private final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Lifetime v : Lifetime.values()) {
+ map.put(v.getValue(), v);
+ }
+ }
+
+ Lifetime(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Lifetime create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ throw new IllegalArgumentException("Invalid Lifetime: " + key);
+ }
+ };
+ /** Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved */
+ @com.fasterxml.jackson.annotation.JsonProperty("lifetime")
+ private final Lifetime lifetime;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPv6 IPs: - Ephemeral - Reserved
+ *
+ * @return the value
+ */
+ public Lifetime getLifetime() {
+ return lifetime;
+ }
+
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private final String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @return the value
*/
@@ -398,6 +472,7 @@ public String toString(boolean includeByteArrayContents) {
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", hostnameLabel=").append(String.valueOf(this.hostnameLabel));
sb.append(", vnicId=").append(String.valueOf(this.vnicId));
+ sb.append(", lifetime=").append(String.valueOf(this.lifetime));
sb.append(", routeTableId=").append(String.valueOf(this.routeTableId));
sb.append(")");
return sb.toString();
@@ -418,6 +493,7 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.hostnameLabel, other.hostnameLabel)
&& java.util.Objects.equals(this.vnicId, other.vnicId)
+ && java.util.Objects.equals(this.lifetime, other.lifetime)
&& java.util.Objects.equals(this.routeTableId, other.routeTableId)
&& super.equals(other);
}
@@ -433,6 +509,7 @@ public int hashCode() {
(result * PRIME)
+ (this.hostnameLabel == null ? 43 : this.hostnameLabel.hashCode());
result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode());
+ result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode());
result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVnicDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVnicDetails.java
index a0478351957..88286d72e81 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVnicDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVnicDetails.java
@@ -163,8 +163,8 @@ public Builder securityAttributes(
* {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be
* unique across all VNICs in the subnet and comply with [RFC
* 952](https://tools.ietf.org/html/rfc952) and [RFC
- * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@code {@link Vnic}}
- * object and also the {@link PrivateIp} object returned by {@link
+ * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object
+ * and also the {@link PrivateIp} object returned by {@link
* #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
* #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
@@ -180,8 +180,8 @@ public Builder securityAttributes(
* {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be
* unique across all VNICs in the subnet and comply with [RFC
* 952](https://tools.ietf.org/html/rfc952) and [RFC
- * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@code {@link Vnic}}
- * object and also the {@link PrivateIp} object returned by {@link
+ * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object
+ * and also the {@link PrivateIp} object returned by {@link
* #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
* #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
@@ -262,14 +262,18 @@ public Builder skipSourceDestCheck(Boolean skipSourceDestCheck) {
}
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @param routeTableId the value to set
* @return this builder
@@ -436,8 +440,8 @@ public java.util.Map> getSecurityAttribute
* portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code
* bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across
* all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and
- * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@code {@link
- * Vnic}} object and also the {@link PrivateIp} object returned by {@link
+ * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object
+ * and also the {@link PrivateIp} object returned by {@link
* #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
* #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
@@ -452,8 +456,8 @@ public java.util.Map> getSecurityAttribute
* portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code
* bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across
* all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and
- * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@code {@link
- * Vnic}} object and also the {@link PrivateIp} object returned by {@link
+ * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object
+ * and also the {@link PrivateIp} object returned by {@link
* #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link
* #getPrivateIp(GetPrivateIpRequest) getPrivateIp}.
*
@@ -528,14 +532,16 @@ public Boolean getSkipSourceDestCheck() {
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private final String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @return the value
*/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vnic.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vnic.java
index 5166a51a6cb..7a89909bba1 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Vnic.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Vnic.java
@@ -561,14 +561,18 @@ public Builder ipv6Addresses(java.util.List ipv6Addresses) {
}
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
- * of the route table the PrivateIp will use.
+ * of the route table the IP address or VNIC will use. For more information, see [Source
+ * Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @param routeTableId the value to set
* @return this builder
@@ -1145,14 +1149,16 @@ public java.util.List getIpv6Addresses() {
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*/
@com.fasterxml.jackson.annotation.JsonProperty("routeTableId")
private final String routeTableId;
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
- * the route table the PrivateIp will use.
+ * the route table the IP address or VNIC will use. For more information, see [Source Based
+ * Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
*
* @return the value
*/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/Ipv6VnicDetachRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/Ipv6VnicDetachRequest.java
new file mode 100644
index 00000000000..119c3c794ba
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/Ipv6VnicDetachRequest.java
@@ -0,0 +1,308 @@
+/**
+ * Copyright (c) 2016, 2025, 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.core.requests;
+
+import com.oracle.bmc.core.model.*;
+/**
+ * Example: Click here to see how to use Ipv6VnicDetachRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class Ipv6VnicDetachRequest extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the IPv6.
+ */
+ private String ipv6Id;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the IPv6.
+ */
+ public String getIpv6Id() {
+ return ipv6Id;
+ }
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ private String ifMatch;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ public String getIfMatch() {
+ return ifMatch;
+ }
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after 24
+ * hours, but can be invalidated before then due to conflicting operations (for example, if a
+ * resource has been deleted and purged from the system, then a retry of the original creation
+ * request may be rejected).
+ */
+ private String opcRetryToken;
+
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after 24
+ * hours, but can be invalidated before then due to conflicting operations (for example, if a
+ * resource has been deleted and purged from the system, then a retry of the original creation
+ * request may be rejected).
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ Ipv6VnicDetachRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the IPv6.
+ */
+ private String ipv6Id = null;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the IPv6.
+ *
+ * @param ipv6Id the value to set
+ * @return this builder instance
+ */
+ public Builder ipv6Id(String ipv6Id) {
+ this.ipv6Id = ipv6Id;
+ return this;
+ }
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ */
+ private String ifMatch = null;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ *
+ * @param ifMatch the value to set
+ * @return this builder instance
+ */
+ public Builder ifMatch(String ifMatch) {
+ this.ifMatch = ifMatch;
+ return this;
+ }
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after
+ * 24 hours, but can be invalidated before then due to conflicting operations (for example,
+ * if a resource has been deleted and purged from the system, then a retry of the original
+ * creation request may be rejected).
+ */
+ private String opcRetryToken = null;
+
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after
+ * 24 hours, but can be invalidated before then due to conflicting operations (for example,
+ * if a resource has been deleted and purged from the system, then a retry of the original
+ * creation request may be rejected).
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ return this;
+ }
+
+ /**
+ * Set the invocation callback for the request to be built.
+ *
+ * @param invocationCallback the invocation callback to be set for the request
+ * @return this builder instance
+ */
+ public Builder invocationCallback(
+ com.oracle.bmc.http.client.RequestInterceptor invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Set the retry configuration for the request to be built.
+ *
+ * @param retryConfiguration the retry configuration to be used for the request
+ * @return this builder instance
+ */
+ public Builder retryConfiguration(
+ com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) {
+ this.retryConfiguration = retryConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ public Builder copy(Ipv6VnicDetachRequest o) {
+ ipv6Id(o.getIpv6Id());
+ ifMatch(o.getIfMatch());
+ opcRequestId(o.getOpcRequestId());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of Ipv6VnicDetachRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link
+ * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ *
This is the preferred method to build an instance.
+ *
+ * @return instance of Ipv6VnicDetachRequest
+ */
+ public Ipv6VnicDetachRequest build() {
+ Ipv6VnicDetachRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of Ipv6VnicDetachRequest as configured by this builder
+ *
+ *
Note that this method does not take calls to {@link
+ * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account,
+ * while the method {@link Builder#build} does
+ *
+ * @return instance of Ipv6VnicDetachRequest
+ */
+ public Ipv6VnicDetachRequest buildWithoutInvocationCallback() {
+ Ipv6VnicDetachRequest request = new Ipv6VnicDetachRequest();
+ request.ipv6Id = ipv6Id;
+ request.ifMatch = ifMatch;
+ request.opcRequestId = opcRequestId;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new Ipv6VnicDetachRequest(ipv6Id, ifMatch, opcRequestId, opcRetryToken);
+ }
+ }
+
+ /**
+ * Return an instance of {@link Builder} that allows you to modify request properties.
+ *
+ * @return instance of {@link Builder} that allows you to modify request properties.
+ */
+ public Builder toBuilder() {
+ return new Builder()
+ .ipv6Id(ipv6Id)
+ .ifMatch(ifMatch)
+ .opcRequestId(opcRequestId)
+ .opcRetryToken(opcRetryToken);
+ }
+
+ /**
+ * Return a new builder for this request object.
+ *
+ * @return builder for the request object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",ipv6Id=").append(String.valueOf(this.ipv6Id));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof Ipv6VnicDetachRequest)) {
+ return false;
+ }
+
+ Ipv6VnicDetachRequest other = (Ipv6VnicDetachRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.ipv6Id, other.ipv6Id)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.ipv6Id == null ? 43 : this.ipv6Id.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListIpv6sRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListIpv6sRequest.java
index 98210ab5705..2b01e34ced7 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListIpv6sRequest.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListIpv6sRequest.java
@@ -80,6 +80,26 @@ public String getSubnetId() {
public String getVnicId() {
return vnicId;
}
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise
+ * AVAILABLE
+ */
+ private String ipState;
+
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise
+ * AVAILABLE
+ */
+ public String getIpState() {
+ return ipState;
+ }
+ /** Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved */
+ private String lifetime;
+
+ /** Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved */
+ public String getLifetime() {
+ return lifetime;
+ }
/**
* Unique identifier for the request. If you need to contact Oracle about a particular request,
* please provide the request ID.
@@ -194,6 +214,38 @@ public Builder vnicId(String vnicId) {
return this;
}
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise
+ * AVAILABLE
+ */
+ private String ipState = null;
+
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise
+ * AVAILABLE
+ *
+ * @param ipState the value to set
+ * @return this builder instance
+ */
+ public Builder ipState(String ipState) {
+ this.ipState = ipState;
+ return this;
+ }
+
+ /** Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved */
+ private String lifetime = null;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved
+ *
+ * @param lifetime the value to set
+ * @return this builder instance
+ */
+ public Builder lifetime(String lifetime) {
+ this.lifetime = lifetime;
+ return this;
+ }
+
/**
* Unique identifier for the request. If you need to contact Oracle about a particular
* request, please provide the request ID.
@@ -247,6 +299,8 @@ public Builder copy(ListIpv6sRequest o) {
ipAddress(o.getIpAddress());
subnetId(o.getSubnetId());
vnicId(o.getVnicId());
+ ipState(o.getIpState());
+ lifetime(o.getLifetime());
opcRequestId(o.getOpcRequestId());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
@@ -287,9 +341,12 @@ public ListIpv6sRequest buildWithoutInvocationCallback() {
request.ipAddress = ipAddress;
request.subnetId = subnetId;
request.vnicId = vnicId;
+ request.ipState = ipState;
+ request.lifetime = lifetime;
request.opcRequestId = opcRequestId;
return request;
- // new ListIpv6sRequest(limit, page, ipAddress, subnetId, vnicId, opcRequestId);
+ // new ListIpv6sRequest(limit, page, ipAddress, subnetId, vnicId, ipState, lifetime,
+ // opcRequestId);
}
}
@@ -305,6 +362,8 @@ public Builder toBuilder() {
.ipAddress(ipAddress)
.subnetId(subnetId)
.vnicId(vnicId)
+ .ipState(ipState)
+ .lifetime(lifetime)
.opcRequestId(opcRequestId);
}
@@ -327,6 +386,8 @@ public String toString() {
sb.append(",ipAddress=").append(String.valueOf(this.ipAddress));
sb.append(",subnetId=").append(String.valueOf(this.subnetId));
sb.append(",vnicId=").append(String.valueOf(this.vnicId));
+ sb.append(",ipState=").append(String.valueOf(this.ipState));
+ sb.append(",lifetime=").append(String.valueOf(this.lifetime));
sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
sb.append(")");
return sb.toString();
@@ -348,6 +409,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.ipAddress, other.ipAddress)
&& java.util.Objects.equals(this.subnetId, other.subnetId)
&& java.util.Objects.equals(this.vnicId, other.vnicId)
+ && java.util.Objects.equals(this.ipState, other.ipState)
+ && java.util.Objects.equals(this.lifetime, other.lifetime)
&& java.util.Objects.equals(this.opcRequestId, other.opcRequestId);
}
@@ -360,6 +423,8 @@ public int hashCode() {
result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode());
result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode());
result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode());
+ result = (result * PRIME) + (this.ipState == null ? 43 : this.ipState.hashCode());
+ result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode());
result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListPrivateIpsRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListPrivateIpsRequest.java
index 26a2d83f6b7..46b386930fa 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListPrivateIpsRequest.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListPrivateIpsRequest.java
@@ -80,6 +80,26 @@ public String getSubnetId() {
public String getVnicId() {
return vnicId;
}
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise
+ * AVAILABLE
+ */
+ private String ipState;
+
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise
+ * AVAILABLE
+ */
+ public String getIpState() {
+ return ipState;
+ }
+ /** Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved */
+ private String lifetime;
+
+ /** Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved */
+ public String getLifetime() {
+ return lifetime;
+ }
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
* the VLAN.
@@ -194,6 +214,38 @@ public Builder vnicId(String vnicId) {
return this;
}
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise
+ * AVAILABLE
+ */
+ private String ipState = null;
+
+ /**
+ * State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise
+ * AVAILABLE
+ *
+ * @param ipState the value to set
+ * @return this builder instance
+ */
+ public Builder ipState(String ipState) {
+ this.ipState = ipState;
+ return this;
+ }
+
+ /** Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved */
+ private String lifetime = null;
+
+ /**
+ * Lifetime of the IP address. There are two types of IPs: - Ephemeral - Reserved
+ *
+ * @param lifetime the value to set
+ * @return this builder instance
+ */
+ public Builder lifetime(String lifetime) {
+ this.lifetime = lifetime;
+ return this;
+ }
+
/**
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
* of the VLAN.
@@ -247,6 +299,8 @@ public Builder copy(ListPrivateIpsRequest o) {
ipAddress(o.getIpAddress());
subnetId(o.getSubnetId());
vnicId(o.getVnicId());
+ ipState(o.getIpState());
+ lifetime(o.getLifetime());
vlanId(o.getVlanId());
invocationCallback(o.getInvocationCallback());
retryConfiguration(o.getRetryConfiguration());
@@ -287,9 +341,12 @@ public ListPrivateIpsRequest buildWithoutInvocationCallback() {
request.ipAddress = ipAddress;
request.subnetId = subnetId;
request.vnicId = vnicId;
+ request.ipState = ipState;
+ request.lifetime = lifetime;
request.vlanId = vlanId;
return request;
- // new ListPrivateIpsRequest(limit, page, ipAddress, subnetId, vnicId, vlanId);
+ // new ListPrivateIpsRequest(limit, page, ipAddress, subnetId, vnicId, ipState,
+ // lifetime, vlanId);
}
}
@@ -305,6 +362,8 @@ public Builder toBuilder() {
.ipAddress(ipAddress)
.subnetId(subnetId)
.vnicId(vnicId)
+ .ipState(ipState)
+ .lifetime(lifetime)
.vlanId(vlanId);
}
@@ -327,6 +386,8 @@ public String toString() {
sb.append(",ipAddress=").append(String.valueOf(this.ipAddress));
sb.append(",subnetId=").append(String.valueOf(this.subnetId));
sb.append(",vnicId=").append(String.valueOf(this.vnicId));
+ sb.append(",ipState=").append(String.valueOf(this.ipState));
+ sb.append(",lifetime=").append(String.valueOf(this.lifetime));
sb.append(",vlanId=").append(String.valueOf(this.vlanId));
sb.append(")");
return sb.toString();
@@ -348,6 +409,8 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(this.ipAddress, other.ipAddress)
&& java.util.Objects.equals(this.subnetId, other.subnetId)
&& java.util.Objects.equals(this.vnicId, other.vnicId)
+ && java.util.Objects.equals(this.ipState, other.ipState)
+ && java.util.Objects.equals(this.lifetime, other.lifetime)
&& java.util.Objects.equals(this.vlanId, other.vlanId);
}
@@ -360,6 +423,8 @@ public int hashCode() {
result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode());
result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode());
result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode());
+ result = (result * PRIME) + (this.ipState == null ? 43 : this.ipState.hashCode());
+ result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode());
result = (result * PRIME) + (this.vlanId == null ? 43 : this.vlanId.hashCode());
return result;
}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/PrivateIpVnicDetachRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/PrivateIpVnicDetachRequest.java
new file mode 100644
index 00000000000..86a319db79a
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/PrivateIpVnicDetachRequest.java
@@ -0,0 +1,308 @@
+/**
+ * Copyright (c) 2016, 2025, 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.core.requests;
+
+import com.oracle.bmc.core.model.*;
+/**
+ * Example: Click here to see how to use PrivateIpVnicDetachRequest.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class PrivateIpVnicDetachRequest extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the private IP or IPv6.
+ */
+ private String privateIpId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the private IP or IPv6.
+ */
+ public String getPrivateIpId() {
+ return privateIpId;
+ }
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ private String ifMatch;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code
+ * if-match} parameter to the value of the etag from a previous GET or POST response for that
+ * resource. The resource will be updated or deleted only if the etag you provide matches the
+ * resource's current etag value.
+ */
+ public String getIfMatch() {
+ return ifMatch;
+ }
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular request,
+ * please provide the request ID.
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after 24
+ * hours, but can be invalidated before then due to conflicting operations (for example, if a
+ * resource has been deleted and purged from the system, then a retry of the original creation
+ * request may be rejected).
+ */
+ private String opcRetryToken;
+
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after 24
+ * hours, but can be invalidated before then due to conflicting operations (for example, if a
+ * resource has been deleted and purged from the system, then a retry of the original creation
+ * request may be rejected).
+ */
+ public String getOpcRetryToken() {
+ return opcRetryToken;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.requests.BmcRequest.Builder<
+ PrivateIpVnicDetachRequest, java.lang.Void> {
+ private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null;
+ private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the private IP or IPv6.
+ */
+ private String privateIpId = null;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the private IP or IPv6.
+ *
+ * @param privateIpId the value to set
+ * @return this builder instance
+ */
+ public Builder privateIpId(String privateIpId) {
+ this.privateIpId = privateIpId;
+ return this;
+ }
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ */
+ private String ifMatch = null;
+
+ /**
+ * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
+ * {@code if-match} parameter to the value of the etag from a previous GET or POST response
+ * for that resource. The resource will be updated or deleted only if the etag you provide
+ * matches the resource's current etag value.
+ *
+ * @param ifMatch the value to set
+ * @return this builder instance
+ */
+ public Builder ifMatch(String ifMatch) {
+ this.ifMatch = ifMatch;
+ return this;
+ }
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ */
+ private String opcRequestId = null;
+
+ /**
+ * Unique identifier for the request. If you need to contact Oracle about a particular
+ * request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder instance
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after
+ * 24 hours, but can be invalidated before then due to conflicting operations (for example,
+ * if a resource has been deleted and purged from the system, then a retry of the original
+ * creation request may be rejected).
+ */
+ private String opcRetryToken = null;
+
+ /**
+ * A token that uniquely identifies a request so it can be retried in case of a timeout or
+ * server error without risk of executing that same action again. Retry tokens expire after
+ * 24 hours, but can be invalidated before then due to conflicting operations (for example,
+ * if a resource has been deleted and purged from the system, then a retry of the original
+ * creation request may be rejected).
+ *
+ * @param opcRetryToken the value to set
+ * @return this builder instance
+ */
+ public Builder opcRetryToken(String opcRetryToken) {
+ this.opcRetryToken = opcRetryToken;
+ return this;
+ }
+
+ /**
+ * Set the invocation callback for the request to be built.
+ *
+ * @param invocationCallback the invocation callback to be set for the request
+ * @return this builder instance
+ */
+ public Builder invocationCallback(
+ com.oracle.bmc.http.client.RequestInterceptor invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Set the retry configuration for the request to be built.
+ *
+ * @param retryConfiguration the retry configuration to be used for the request
+ * @return this builder instance
+ */
+ public Builder retryConfiguration(
+ com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) {
+ this.retryConfiguration = retryConfiguration;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ public Builder copy(PrivateIpVnicDetachRequest o) {
+ privateIpId(o.getPrivateIpId());
+ ifMatch(o.getIfMatch());
+ opcRequestId(o.getOpcRequestId());
+ opcRetryToken(o.getOpcRetryToken());
+ invocationCallback(o.getInvocationCallback());
+ retryConfiguration(o.getRetryConfiguration());
+ return this;
+ }
+
+ /**
+ * Build the instance of PrivateIpVnicDetachRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link
+ * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ *
This is the preferred method to build an instance.
+ *
+ * @return instance of PrivateIpVnicDetachRequest
+ */
+ public PrivateIpVnicDetachRequest build() {
+ PrivateIpVnicDetachRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ request.setRetryConfiguration(retryConfiguration);
+ return request;
+ }
+
+ /**
+ * Build the instance of PrivateIpVnicDetachRequest as configured by this builder
+ *
+ *
Note that this method does not take calls to {@link
+ * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account,
+ * while the method {@link Builder#build} does
+ *
+ * @return instance of PrivateIpVnicDetachRequest
+ */
+ public PrivateIpVnicDetachRequest buildWithoutInvocationCallback() {
+ PrivateIpVnicDetachRequest request = new PrivateIpVnicDetachRequest();
+ request.privateIpId = privateIpId;
+ request.ifMatch = ifMatch;
+ request.opcRequestId = opcRequestId;
+ request.opcRetryToken = opcRetryToken;
+ return request;
+ // new PrivateIpVnicDetachRequest(privateIpId, ifMatch, opcRequestId, opcRetryToken);
+ }
+ }
+
+ /**
+ * Return an instance of {@link Builder} that allows you to modify request properties.
+ *
+ * @return instance of {@link Builder} that allows you to modify request properties.
+ */
+ public Builder toBuilder() {
+ return new Builder()
+ .privateIpId(privateIpId)
+ .ifMatch(ifMatch)
+ .opcRequestId(opcRequestId)
+ .opcRetryToken(opcRetryToken);
+ }
+
+ /**
+ * Return a new builder for this request object.
+ *
+ * @return builder for the request object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",privateIpId=").append(String.valueOf(this.privateIpId));
+ sb.append(",ifMatch=").append(String.valueOf(this.ifMatch));
+ sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId));
+ sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PrivateIpVnicDetachRequest)) {
+ return false;
+ }
+
+ PrivateIpVnicDetachRequest other = (PrivateIpVnicDetachRequest) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.privateIpId, other.privateIpId)
+ && java.util.Objects.equals(this.ifMatch, other.ifMatch)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.privateIpId == null ? 43 : this.privateIpId.hashCode());
+ result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/Ipv6VnicDetachResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/Ipv6VnicDetachResponse.java
new file mode 100644
index 00000000000..c2aa3857833
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/Ipv6VnicDetachResponse.java
@@ -0,0 +1,208 @@
+/**
+ * Copyright (c) 2016, 2025, 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.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class Ipv6VnicDetachResponse extends com.oracle.bmc.responses.BmcResponse {
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @return the value
+ */
+ public String getEtag() {
+ return etag;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /** The returned {@code Ipv6} instance. */
+ private com.oracle.bmc.core.model.Ipv6 ipv6;
+
+ /**
+ * The returned {@code Ipv6} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.core.model.Ipv6 getIpv6() {
+ return ipv6;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "etag",
+ "opcRequestId",
+ "ipv6"
+ })
+ private Ipv6VnicDetachResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String etag,
+ String opcRequestId,
+ com.oracle.bmc.core.model.Ipv6 ipv6) {
+ super(__httpStatusCode__, headers);
+ this.etag = etag;
+ this.opcRequestId = opcRequestId;
+ this.ipv6 = ipv6;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder {
+ private int __httpStatusCode__;
+
+ @Override
+ public Builder __httpStatusCode__(int __httpStatusCode__) {
+ this.__httpStatusCode__ = __httpStatusCode__;
+ return this;
+ }
+
+ private java.util.Map> headers;
+
+ @Override
+ public Builder headers(java.util.Map> headers) {
+ this.headers = headers;
+ return this;
+ }
+
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @param etag the value to set
+ * @return this builder
+ */
+ public Builder etag(String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /** The returned {@code Ipv6} instance. */
+ private com.oracle.bmc.core.model.Ipv6 ipv6;
+
+ /**
+ * The returned {@code Ipv6} instance.
+ *
+ * @param ipv6 the value to set
+ * @return this builder
+ */
+ public Builder ipv6(com.oracle.bmc.core.model.Ipv6 ipv6) {
+ this.ipv6 = ipv6;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(Ipv6VnicDetachResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ etag(o.getEtag());
+ opcRequestId(o.getOpcRequestId());
+ ipv6(o.getIpv6());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public Ipv6VnicDetachResponse build() {
+ return new Ipv6VnicDetachResponse(
+ __httpStatusCode__, headers, etag, opcRequestId, ipv6);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",etag=").append(String.valueOf(etag));
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",ipv6=").append(String.valueOf(ipv6));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof Ipv6VnicDetachResponse)) {
+ return false;
+ }
+
+ Ipv6VnicDetachResponse other = (Ipv6VnicDetachResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.etag, other.etag)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.ipv6, other.ipv6);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.ipv6 == null ? 43 : this.ipv6.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/PrivateIpVnicDetachResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/PrivateIpVnicDetachResponse.java
new file mode 100644
index 00000000000..1f6ada06a30
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/PrivateIpVnicDetachResponse.java
@@ -0,0 +1,208 @@
+/**
+ * Copyright (c) 2016, 2025, 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.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+public class PrivateIpVnicDetachResponse extends com.oracle.bmc.responses.BmcResponse {
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @return the value
+ */
+ public String getEtag() {
+ return etag;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @return the value
+ */
+ public String getOpcRequestId() {
+ return opcRequestId;
+ }
+
+ /** The returned {@code PrivateIp} instance. */
+ private com.oracle.bmc.core.model.PrivateIp privateIp;
+
+ /**
+ * The returned {@code PrivateIp} instance.
+ *
+ * @return the value
+ */
+ public com.oracle.bmc.core.model.PrivateIp getPrivateIp() {
+ return privateIp;
+ }
+
+ @java.beans.ConstructorProperties({
+ "__httpStatusCode__",
+ "headers",
+ "etag",
+ "opcRequestId",
+ "privateIp"
+ })
+ private PrivateIpVnicDetachResponse(
+ int __httpStatusCode__,
+ java.util.Map> headers,
+ String etag,
+ String opcRequestId,
+ com.oracle.bmc.core.model.PrivateIp privateIp) {
+ super(__httpStatusCode__, headers);
+ this.etag = etag;
+ this.opcRequestId = opcRequestId;
+ this.privateIp = privateIp;
+ }
+
+ public static class Builder
+ implements com.oracle.bmc.responses.BmcResponse.Builder {
+ private int __httpStatusCode__;
+
+ @Override
+ public Builder __httpStatusCode__(int __httpStatusCode__) {
+ this.__httpStatusCode__ = __httpStatusCode__;
+ return this;
+ }
+
+ private java.util.Map> headers;
+
+ @Override
+ public Builder headers(java.util.Map> headers) {
+ this.headers = headers;
+ return this;
+ }
+
+ /** For optimistic concurrency control. See {@code if-match}. */
+ private String etag;
+
+ /**
+ * For optimistic concurrency control. See {@code if-match}.
+ *
+ * @param etag the value to set
+ * @return this builder
+ */
+ public Builder etag(String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ */
+ private String opcRequestId;
+
+ /**
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
+ * particular request, please provide the request ID.
+ *
+ * @param opcRequestId the value to set
+ * @return this builder
+ */
+ public Builder opcRequestId(String opcRequestId) {
+ this.opcRequestId = opcRequestId;
+ return this;
+ }
+
+ /** The returned {@code PrivateIp} instance. */
+ private com.oracle.bmc.core.model.PrivateIp privateIp;
+
+ /**
+ * The returned {@code PrivateIp} instance.
+ *
+ * @param privateIp the value to set
+ * @return this builder
+ */
+ public Builder privateIp(com.oracle.bmc.core.model.PrivateIp privateIp) {
+ this.privateIp = privateIp;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ *
+ * @return this builder instance
+ */
+ @Override
+ public Builder copy(PrivateIpVnicDetachResponse o) {
+ __httpStatusCode__(o.get__httpStatusCode__());
+ headers(o.getHeaders());
+ etag(o.getEtag());
+ opcRequestId(o.getOpcRequestId());
+ privateIp(o.getPrivateIp());
+
+ return this;
+ }
+
+ /**
+ * Build the response object.
+ *
+ * @return the response object
+ */
+ @Override
+ public PrivateIpVnicDetachResponse build() {
+ return new PrivateIpVnicDetachResponse(
+ __httpStatusCode__, headers, etag, opcRequestId, privateIp);
+ }
+ }
+
+ /**
+ * Return a new builder for this response object.
+ *
+ * @return builder for the response object
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ @Override
+ public String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("(");
+ sb.append("super=").append(super.toString());
+ sb.append(",etag=").append(String.valueOf(etag));
+ sb.append(",opcRequestId=").append(String.valueOf(opcRequestId));
+ sb.append(",privateIp=").append(String.valueOf(privateIp));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PrivateIpVnicDetachResponse)) {
+ return false;
+ }
+
+ PrivateIpVnicDetachResponse other = (PrivateIpVnicDetachResponse) o;
+ return super.equals(o)
+ && java.util.Objects.equals(this.etag, other.etag)
+ && java.util.Objects.equals(this.opcRequestId, other.opcRequestId)
+ && java.util.Objects.equals(this.privateIp, other.privateIp);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode());
+ result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode());
+ result = (result * PRIME) + (this.privateIp == null ? 43 : this.privateIp.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json b/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json
index f19b49157f9..bb280b0972d 100644
--- a/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json
+++ b/bmc-core/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-core/reflect-config.json
@@ -3123,6 +3123,12 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.CreateIpv6Details$Lifetime",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.CreateLocalPeeringGatewayDetails",
@@ -3207,6 +3213,12 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.CreatePrivateIpDetails$Lifetime",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.CreatePublicIpDetails",
@@ -6423,6 +6435,18 @@
"allDeclaredFields": true,
"allDeclaredMethods": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.Ipv6$IpState",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.Ipv6$Lifetime",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.Ipv6AddressIpv6SubnetCidrPairDetails",
@@ -7155,6 +7179,18 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.PrivateIp$IpState",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.PrivateIp$Lifetime",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.PublicIp",
@@ -8901,6 +8937,12 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.UpdateIpv6Details$Lifetime",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.UpdateLaunchOptions",
@@ -9025,6 +9067,12 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.core.model.UpdatePrivateIpDetails$Lifetime",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.core.model.UpdatePublicIpDetails",
diff --git a/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties b/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties
index 25f0f0fc4a8..7b97f5fdcc0 100644
--- a/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties
+++ b/bmc-core/src/main/resources/com/oracle/bmc/core/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
\ No newline at end of file
diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml
index 83a5024b153..febd9e9b26b 100644
--- a/bmc-dashboardservice/pom.xml
+++ b/bmc-dashboardservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-dashboardservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
\ No newline at end of file
diff --git a/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties b/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties
index d021df748ca..63e4f73c82b 100644
--- a/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties
+++ b/bmc-dashboardservice/src/main/resources/com/oracle/bmc/dashboardservice/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20210731")
\ No newline at end of file
diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml
index 566f0f09718..66cbb1385cf 100644
--- a/bmc-database/pom.xml
+++ b/bmc-database/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
@@ -18,12 +18,12 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
com.oracle.oci.sdk
oci-java-sdk-workrequests
- 3.57.2
+ 3.58.0
diff --git a/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties b/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties
index 25f0f0fc4a8..7b97f5fdcc0 100644
--- a/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties
+++ b/bmc-database/src/main/resources/com/oracle/bmc/database/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
\ No newline at end of file
diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml
index 691b49a784f..fce33269e51 100644
--- a/bmc-databasemanagement/pom.xml
+++ b/bmc-databasemanagement/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-databasemanagement
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
diff --git a/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties b/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties
index 9e6fa1d1764..5e3fb0292ef 100644
--- a/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties
+++ b/bmc-databasemanagement/src/main/resources/com/oracle/bmc/databasemanagement/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201101")
\ No newline at end of file
diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml
index a332667d44d..df7c3f8771e 100644
--- a/bmc-databasemigration/pom.xml
+++ b/bmc-databasemigration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-databasemigration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
diff --git a/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties b/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties
index 56fcd16a604..ddde3657086 100644
--- a/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties
+++ b/bmc-databasemigration/src/main/resources/com/oracle/bmc/databasemigration/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20230518")
\ No newline at end of file
diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml
index 3fd42e7bd87..47fea345402 100644
--- a/bmc-databasetools/pom.xml
+++ b/bmc-databasetools/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-databasetools
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
\ No newline at end of file
diff --git a/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties b/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties
index 50a18eeb3b2..bb6a493e988 100644
--- a/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties
+++ b/bmc-databasetools/src/main/resources/com/oracle/bmc/databasetools/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20201005")
\ No newline at end of file
diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml
index 1deafa5aeca..2b43efb1229 100644
--- a/bmc-datacatalog/pom.xml
+++ b/bmc-datacatalog/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-datacatalog
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
diff --git a/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties b/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties
index 1f6324fd92b..9e57024a24a 100644
--- a/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties
+++ b/bmc-datacatalog/src/main/resources/com/oracle/bmc/datacatalog/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190325")
\ No newline at end of file
diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml
index 12283f09e47..f2824a27347 100644
--- a/bmc-dataflow/pom.xml
+++ b/bmc-dataflow/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-dataflow
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
diff --git a/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties b/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties
index d5d6bf1c852..b67ff70f521 100644
--- a/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties
+++ b/bmc-dataflow/src/main/resources/com/oracle/bmc/dataflow/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129")
\ No newline at end of file
diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml
index c75d0d85097..ce5a6445187 100644
--- a/bmc-dataintegration/pom.xml
+++ b/bmc-dataintegration/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-dataintegration
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
diff --git a/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties b/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties
index 03259e7e834..3fb450f9c86 100644
--- a/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties
+++ b/bmc-dataintegration/src/main/resources/com/oracle/bmc/dataintegration/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200430")
\ No newline at end of file
diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml
index 8989808174e..e3fa07bfb40 100644
--- a/bmc-datalabelingservice/pom.xml
+++ b/bmc-datalabelingservice/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-datalabelingservice
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
\ No newline at end of file
diff --git a/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties b/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties
index 3371218eda2..81969dc0bcf 100644
--- a/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties
+++ b/bmc-datalabelingservice/src/main/resources/com/oracle/bmc/datalabelingservice/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211001")
\ No newline at end of file
diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml
index eadc3759a3f..6b7de125474 100644
--- a/bmc-datalabelingservicedataplane/pom.xml
+++ b/bmc-datalabelingservicedataplane/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-datalabelingservicedataplane
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
\ No newline at end of file
diff --git a/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties b/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties
index 3371218eda2..81969dc0bcf 100644
--- a/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties
+++ b/bmc-datalabelingservicedataplane/src/main/resources/com/oracle/bmc/datalabelingservicedataplane/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20211001")
\ No newline at end of file
diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml
index 92d0c0fa267..be096409fbc 100644
--- a/bmc-datasafe/pom.xml
+++ b/bmc-datasafe/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-datasafe
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
diff --git a/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties b/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties
index 1f8ec770a6d..526bdb209c3 100644
--- a/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties
+++ b/bmc-datasafe/src/main/resources/com/oracle/bmc/datasafe/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181201")
\ No newline at end of file
diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml
index 0bbb2a0e472..9b4e88c849d 100644
--- a/bmc-datascience/pom.xml
+++ b/bmc-datascience/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 3.57.2
+ 3.58.0
../pom.xml
oci-java-sdk-datascience
@@ -15,7 +15,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 3.57.2
+ 3.58.0
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreatePipelineDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreatePipelineDetails.java
index e4e5c02298c..ae1672d8637 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreatePipelineDetails.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/CreatePipelineDetails.java
@@ -31,6 +31,7 @@ public final class CreatePipelineDetails
"configurationDetails",
"logConfigurationDetails",
"infrastructureConfigurationDetails",
+ "storageMountConfigurationDetailsList",
"stepDetails",
"freeformTags",
"definedTags"
@@ -43,6 +44,7 @@ public CreatePipelineDetails(
PipelineConfigurationDetails configurationDetails,
PipelineLogConfigurationDetails logConfigurationDetails,
PipelineInfrastructureConfigurationDetails infrastructureConfigurationDetails,
+ java.util.List storageMountConfigurationDetailsList,
java.util.List stepDetails,
java.util.Map freeformTags,
java.util.Map> definedTags) {
@@ -54,6 +56,7 @@ public CreatePipelineDetails(
this.configurationDetails = configurationDetails;
this.logConfigurationDetails = logConfigurationDetails;
this.infrastructureConfigurationDetails = infrastructureConfigurationDetails;
+ this.storageMountConfigurationDetailsList = storageMountConfigurationDetailsList;
this.stepDetails = stepDetails;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
@@ -158,6 +161,24 @@ public Builder infrastructureConfigurationDetails(
this.__explicitlySet__.add("infrastructureConfigurationDetails");
return this;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageMountConfigurationDetailsList")
+ private java.util.List
+ storageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @param storageMountConfigurationDetailsList the value to set
+ * @return this builder
+ */
+ public Builder storageMountConfigurationDetailsList(
+ java.util.List
+ storageMountConfigurationDetailsList) {
+ this.storageMountConfigurationDetailsList = storageMountConfigurationDetailsList;
+ this.__explicitlySet__.add("storageMountConfigurationDetailsList");
+ return this;
+ }
/** Array of step details for each step. */
@com.fasterxml.jackson.annotation.JsonProperty("stepDetails")
private java.util.List stepDetails;
@@ -232,6 +253,7 @@ public CreatePipelineDetails build() {
this.configurationDetails,
this.logConfigurationDetails,
this.infrastructureConfigurationDetails,
+ this.storageMountConfigurationDetailsList,
this.stepDetails,
this.freeformTags,
this.definedTags);
@@ -265,6 +287,10 @@ public Builder copy(CreatePipelineDetails model) {
this.infrastructureConfigurationDetails(
model.getInfrastructureConfigurationDetails());
}
+ if (model.wasPropertyExplicitlySet("storageMountConfigurationDetailsList")) {
+ this.storageMountConfigurationDetailsList(
+ model.getStorageMountConfigurationDetailsList());
+ }
if (model.wasPropertyExplicitlySet("stepDetails")) {
this.stepDetails(model.getStepDetails());
}
@@ -368,6 +394,21 @@ public PipelineInfrastructureConfigurationDetails getInfrastructureConfiguration
return infrastructureConfigurationDetails;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageMountConfigurationDetailsList")
+ private final java.util.List
+ storageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getStorageMountConfigurationDetailsList() {
+ return storageMountConfigurationDetailsList;
+ }
+
/** Array of step details for each step. */
@com.fasterxml.jackson.annotation.JsonProperty("stepDetails")
private final java.util.List stepDetails;
@@ -445,6 +486,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.logConfigurationDetails));
sb.append(", infrastructureConfigurationDetails=")
.append(String.valueOf(this.infrastructureConfigurationDetails));
+ sb.append(", storageMountConfigurationDetailsList=")
+ .append(String.valueOf(this.storageMountConfigurationDetailsList));
sb.append(", stepDetails=").append(String.valueOf(this.stepDetails));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
@@ -472,6 +515,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.infrastructureConfigurationDetails,
other.infrastructureConfigurationDetails)
+ && java.util.Objects.equals(
+ this.storageMountConfigurationDetailsList,
+ other.storageMountConfigurationDetailsList)
&& java.util.Objects.equals(this.stepDetails, other.stepDetails)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
@@ -503,6 +549,11 @@ public int hashCode() {
+ (this.infrastructureConfigurationDetails == null
? 43
: this.infrastructureConfigurationDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.storageMountConfigurationDetailsList == null
+ ? 43
+ : this.storageMountConfigurationDetailsList.hashCode());
result = (result * PRIME) + (this.stepDetails == null ? 43 : this.stepDetails.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/Pipeline.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/Pipeline.java
index 7308486f9c0..cef19688faf 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/Pipeline.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/Pipeline.java
@@ -33,6 +33,7 @@ public final class Pipeline extends com.oracle.bmc.http.client.internal.Explicit
"configurationDetails",
"logConfigurationDetails",
"infrastructureConfigurationDetails",
+ "storageMountConfigurationDetailsList",
"stepDetails",
"lifecycleState",
"lifecycleDetails",
@@ -52,6 +53,7 @@ public Pipeline(
PipelineConfigurationDetails configurationDetails,
PipelineLogConfigurationDetails logConfigurationDetails,
PipelineInfrastructureConfigurationDetails infrastructureConfigurationDetails,
+ java.util.List storageMountConfigurationDetailsList,
java.util.List stepDetails,
PipelineLifecycleState lifecycleState,
String lifecycleDetails,
@@ -70,6 +72,7 @@ public Pipeline(
this.configurationDetails = configurationDetails;
this.logConfigurationDetails = logConfigurationDetails;
this.infrastructureConfigurationDetails = infrastructureConfigurationDetails;
+ this.storageMountConfigurationDetailsList = storageMountConfigurationDetailsList;
this.stepDetails = stepDetails;
this.lifecycleState = lifecycleState;
this.lifecycleDetails = lifecycleDetails;
@@ -253,6 +256,24 @@ public Builder infrastructureConfigurationDetails(
this.__explicitlySet__.add("infrastructureConfigurationDetails");
return this;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageMountConfigurationDetailsList")
+ private java.util.List
+ storageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @param storageMountConfigurationDetailsList the value to set
+ * @return this builder
+ */
+ public Builder storageMountConfigurationDetailsList(
+ java.util.List
+ storageMountConfigurationDetailsList) {
+ this.storageMountConfigurationDetailsList = storageMountConfigurationDetailsList;
+ this.__explicitlySet__.add("storageMountConfigurationDetailsList");
+ return this;
+ }
/** Array of step details for each step. */
@com.fasterxml.jackson.annotation.JsonProperty("stepDetails")
private java.util.List stepDetails;
@@ -384,6 +405,7 @@ public Pipeline build() {
this.configurationDetails,
this.logConfigurationDetails,
this.infrastructureConfigurationDetails,
+ this.storageMountConfigurationDetailsList,
this.stepDetails,
this.lifecycleState,
this.lifecycleDetails,
@@ -432,6 +454,10 @@ public Builder copy(Pipeline model) {
this.infrastructureConfigurationDetails(
model.getInfrastructureConfigurationDetails());
}
+ if (model.wasPropertyExplicitlySet("storageMountConfigurationDetailsList")) {
+ this.storageMountConfigurationDetailsList(
+ model.getStorageMountConfigurationDetailsList());
+ }
if (model.wasPropertyExplicitlySet("stepDetails")) {
this.stepDetails(model.getStepDetails());
}
@@ -612,6 +638,21 @@ public PipelineInfrastructureConfigurationDetails getInfrastructureConfiguration
return infrastructureConfigurationDetails;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageMountConfigurationDetailsList")
+ private final java.util.List
+ storageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getStorageMountConfigurationDetailsList() {
+ return storageMountConfigurationDetailsList;
+ }
+
/** Array of step details for each step. */
@com.fasterxml.jackson.annotation.JsonProperty("stepDetails")
private final java.util.List stepDetails;
@@ -740,6 +781,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.logConfigurationDetails));
sb.append(", infrastructureConfigurationDetails=")
.append(String.valueOf(this.infrastructureConfigurationDetails));
+ sb.append(", storageMountConfigurationDetailsList=")
+ .append(String.valueOf(this.storageMountConfigurationDetailsList));
sb.append(", stepDetails=").append(String.valueOf(this.stepDetails));
sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState));
sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails));
@@ -774,6 +817,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.infrastructureConfigurationDetails,
other.infrastructureConfigurationDetails)
+ && java.util.Objects.equals(
+ this.storageMountConfigurationDetailsList,
+ other.storageMountConfigurationDetailsList)
&& java.util.Objects.equals(this.stepDetails, other.stepDetails)
&& java.util.Objects.equals(this.lifecycleState, other.lifecycleState)
&& java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails)
@@ -812,6 +858,11 @@ public int hashCode() {
+ (this.infrastructureConfigurationDetails == null
? 43
: this.infrastructureConfigurationDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.storageMountConfigurationDetailsList == null
+ ? 43
+ : this.storageMountConfigurationDetailsList.hashCode());
result = (result * PRIME) + (this.stepDetails == null ? 43 : this.stepDetails.hashCode());
result =
(result * PRIME)
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepDetails.java
index b8a153195ba..aee6f41c18b 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepDetails.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepDetails.java
@@ -84,6 +84,25 @@ public Builder stepContainerConfigurationDetails(
this.__explicitlySet__.add("stepContainerConfigurationDetails");
return this;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("stepStorageMountConfigurationDetailsList")
+ private java.util.List
+ stepStorageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @param stepStorageMountConfigurationDetailsList the value to set
+ * @return this builder
+ */
+ public Builder stepStorageMountConfigurationDetailsList(
+ java.util.List
+ stepStorageMountConfigurationDetailsList) {
+ this.stepStorageMountConfigurationDetailsList =
+ stepStorageMountConfigurationDetailsList;
+ this.__explicitlySet__.add("stepStorageMountConfigurationDetailsList");
+ return this;
+ }
/** A flag to indicate whether the artifact has been uploaded for this step or not. */
@com.fasterxml.jackson.annotation.JsonProperty("isArtifactUploaded")
private Boolean isArtifactUploaded;
@@ -112,6 +131,7 @@ public PipelineContainerStepDetails build() {
this.stepConfigurationDetails,
this.stepInfrastructureConfigurationDetails,
this.stepContainerConfigurationDetails,
+ this.stepStorageMountConfigurationDetailsList,
this.isArtifactUploaded);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -141,6 +161,10 @@ public Builder copy(PipelineContainerStepDetails model) {
this.stepContainerConfigurationDetails(
model.getStepContainerConfigurationDetails());
}
+ if (model.wasPropertyExplicitlySet("stepStorageMountConfigurationDetailsList")) {
+ this.stepStorageMountConfigurationDetailsList(
+ model.getStepStorageMountConfigurationDetailsList());
+ }
if (model.wasPropertyExplicitlySet("isArtifactUploaded")) {
this.isArtifactUploaded(model.getIsArtifactUploaded());
}
@@ -165,10 +189,13 @@ public PipelineContainerStepDetails(
PipelineStepConfigurationDetails stepConfigurationDetails,
PipelineInfrastructureConfigurationDetails stepInfrastructureConfigurationDetails,
PipelineContainerConfigurationDetails stepContainerConfigurationDetails,
+ java.util.List
+ stepStorageMountConfigurationDetailsList,
Boolean isArtifactUploaded) {
super(stepName, description, dependsOn, stepConfigurationDetails);
this.stepInfrastructureConfigurationDetails = stepInfrastructureConfigurationDetails;
this.stepContainerConfigurationDetails = stepContainerConfigurationDetails;
+ this.stepStorageMountConfigurationDetailsList = stepStorageMountConfigurationDetailsList;
this.isArtifactUploaded = isArtifactUploaded;
}
@@ -186,6 +213,21 @@ public PipelineContainerConfigurationDetails getStepContainerConfigurationDetail
return stepContainerConfigurationDetails;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("stepStorageMountConfigurationDetailsList")
+ private final java.util.List
+ stepStorageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getStepStorageMountConfigurationDetailsList() {
+ return stepStorageMountConfigurationDetailsList;
+ }
+
/** A flag to indicate whether the artifact has been uploaded for this step or not. */
@com.fasterxml.jackson.annotation.JsonProperty("isArtifactUploaded")
private final Boolean isArtifactUploaded;
@@ -218,6 +260,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.stepInfrastructureConfigurationDetails));
sb.append(", stepContainerConfigurationDetails=")
.append(String.valueOf(this.stepContainerConfigurationDetails));
+ sb.append(", stepStorageMountConfigurationDetailsList=")
+ .append(String.valueOf(this.stepStorageMountConfigurationDetailsList));
sb.append(", isArtifactUploaded=").append(String.valueOf(this.isArtifactUploaded));
sb.append(")");
return sb.toString();
@@ -239,6 +283,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.stepContainerConfigurationDetails,
other.stepContainerConfigurationDetails)
+ && java.util.Objects.equals(
+ this.stepStorageMountConfigurationDetailsList,
+ other.stepStorageMountConfigurationDetailsList)
&& java.util.Objects.equals(this.isArtifactUploaded, other.isArtifactUploaded)
&& super.equals(other);
}
@@ -257,6 +304,11 @@ public int hashCode() {
+ (this.stepContainerConfigurationDetails == null
? 43
: this.stepContainerConfigurationDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.stepStorageMountConfigurationDetailsList == null
+ ? 43
+ : this.stepStorageMountConfigurationDetailsList.hashCode());
result =
(result * PRIME)
+ (this.isArtifactUploaded == null
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepUpdateDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepUpdateDetails.java
index a8bb608a3b5..71456d9bdb3 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepUpdateDetails.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineContainerStepUpdateDetails.java
@@ -64,6 +64,25 @@ public Builder stepInfrastructureConfigurationDetails(
this.__explicitlySet__.add("stepInfrastructureConfigurationDetails");
return this;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("stepStorageMountConfigurationDetailsList")
+ private java.util.List
+ stepStorageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @param stepStorageMountConfigurationDetailsList the value to set
+ * @return this builder
+ */
+ public Builder stepStorageMountConfigurationDetailsList(
+ java.util.List
+ stepStorageMountConfigurationDetailsList) {
+ this.stepStorageMountConfigurationDetailsList =
+ stepStorageMountConfigurationDetailsList;
+ this.__explicitlySet__.add("stepStorageMountConfigurationDetailsList");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -74,7 +93,8 @@ public PipelineContainerStepUpdateDetails build() {
this.stepName,
this.description,
this.stepConfigurationDetails,
- this.stepInfrastructureConfigurationDetails);
+ this.stepInfrastructureConfigurationDetails,
+ this.stepStorageMountConfigurationDetailsList);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -96,6 +116,10 @@ public Builder copy(PipelineContainerStepUpdateDetails model) {
this.stepInfrastructureConfigurationDetails(
model.getStepInfrastructureConfigurationDetails());
}
+ if (model.wasPropertyExplicitlySet("stepStorageMountConfigurationDetailsList")) {
+ this.stepStorageMountConfigurationDetailsList(
+ model.getStepStorageMountConfigurationDetailsList());
+ }
return this;
}
}
@@ -114,9 +138,12 @@ public PipelineContainerStepUpdateDetails(
String stepName,
String description,
PipelineStepConfigurationDetails stepConfigurationDetails,
- PipelineInfrastructureConfigurationDetails stepInfrastructureConfigurationDetails) {
+ PipelineInfrastructureConfigurationDetails stepInfrastructureConfigurationDetails,
+ java.util.List
+ stepStorageMountConfigurationDetailsList) {
super(stepName, description, stepConfigurationDetails);
this.stepInfrastructureConfigurationDetails = stepInfrastructureConfigurationDetails;
+ this.stepStorageMountConfigurationDetailsList = stepStorageMountConfigurationDetailsList;
}
@com.fasterxml.jackson.annotation.JsonProperty("stepInfrastructureConfigurationDetails")
@@ -126,6 +153,21 @@ public PipelineInfrastructureConfigurationDetails getStepInfrastructureConfigura
return stepInfrastructureConfigurationDetails;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("stepStorageMountConfigurationDetailsList")
+ private final java.util.List
+ stepStorageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getStepStorageMountConfigurationDetailsList() {
+ return stepStorageMountConfigurationDetailsList;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -143,6 +185,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", stepInfrastructureConfigurationDetails=")
.append(String.valueOf(this.stepInfrastructureConfigurationDetails));
+ sb.append(", stepStorageMountConfigurationDetailsList=")
+ .append(String.valueOf(this.stepStorageMountConfigurationDetailsList));
sb.append(")");
return sb.toString();
}
@@ -160,6 +204,9 @@ public boolean equals(Object o) {
return java.util.Objects.equals(
this.stepInfrastructureConfigurationDetails,
other.stepInfrastructureConfigurationDetails)
+ && java.util.Objects.equals(
+ this.stepStorageMountConfigurationDetailsList,
+ other.stepStorageMountConfigurationDetailsList)
&& super.equals(other);
}
@@ -172,6 +219,11 @@ public int hashCode() {
+ (this.stepInfrastructureConfigurationDetails == null
? 43
: this.stepInfrastructureConfigurationDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.stepStorageMountConfigurationDetailsList == null
+ ? 43
+ : this.stepStorageMountConfigurationDetailsList.hashCode());
return result;
}
}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineCustomScriptStepDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineCustomScriptStepDetails.java
index 8e6259f182b..d72176efca2 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineCustomScriptStepDetails.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineCustomScriptStepDetails.java
@@ -74,6 +74,25 @@ public Builder stepInfrastructureConfigurationDetails(
this.__explicitlySet__.add("stepInfrastructureConfigurationDetails");
return this;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("stepStorageMountConfigurationDetailsList")
+ private java.util.List
+ stepStorageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @param stepStorageMountConfigurationDetailsList the value to set
+ * @return this builder
+ */
+ public Builder stepStorageMountConfigurationDetailsList(
+ java.util.List
+ stepStorageMountConfigurationDetailsList) {
+ this.stepStorageMountConfigurationDetailsList =
+ stepStorageMountConfigurationDetailsList;
+ this.__explicitlySet__.add("stepStorageMountConfigurationDetailsList");
+ return this;
+ }
/** A flag to indicate whether the artifact has been uploaded for this step or not. */
@com.fasterxml.jackson.annotation.JsonProperty("isArtifactUploaded")
private Boolean isArtifactUploaded;
@@ -101,6 +120,7 @@ public PipelineCustomScriptStepDetails build() {
this.dependsOn,
this.stepConfigurationDetails,
this.stepInfrastructureConfigurationDetails,
+ this.stepStorageMountConfigurationDetailsList,
this.isArtifactUploaded);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
@@ -126,6 +146,10 @@ public Builder copy(PipelineCustomScriptStepDetails model) {
this.stepInfrastructureConfigurationDetails(
model.getStepInfrastructureConfigurationDetails());
}
+ if (model.wasPropertyExplicitlySet("stepStorageMountConfigurationDetailsList")) {
+ this.stepStorageMountConfigurationDetailsList(
+ model.getStepStorageMountConfigurationDetailsList());
+ }
if (model.wasPropertyExplicitlySet("isArtifactUploaded")) {
this.isArtifactUploaded(model.getIsArtifactUploaded());
}
@@ -149,9 +173,12 @@ public PipelineCustomScriptStepDetails(
java.util.List dependsOn,
PipelineStepConfigurationDetails stepConfigurationDetails,
PipelineInfrastructureConfigurationDetails stepInfrastructureConfigurationDetails,
+ java.util.List
+ stepStorageMountConfigurationDetailsList,
Boolean isArtifactUploaded) {
super(stepName, description, dependsOn, stepConfigurationDetails);
this.stepInfrastructureConfigurationDetails = stepInfrastructureConfigurationDetails;
+ this.stepStorageMountConfigurationDetailsList = stepStorageMountConfigurationDetailsList;
this.isArtifactUploaded = isArtifactUploaded;
}
@@ -162,6 +189,21 @@ public PipelineInfrastructureConfigurationDetails getStepInfrastructureConfigura
return stepInfrastructureConfigurationDetails;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("stepStorageMountConfigurationDetailsList")
+ private final java.util.List
+ stepStorageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getStepStorageMountConfigurationDetailsList() {
+ return stepStorageMountConfigurationDetailsList;
+ }
+
/** A flag to indicate whether the artifact has been uploaded for this step or not. */
@com.fasterxml.jackson.annotation.JsonProperty("isArtifactUploaded")
private final Boolean isArtifactUploaded;
@@ -192,6 +234,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", stepInfrastructureConfigurationDetails=")
.append(String.valueOf(this.stepInfrastructureConfigurationDetails));
+ sb.append(", stepStorageMountConfigurationDetailsList=")
+ .append(String.valueOf(this.stepStorageMountConfigurationDetailsList));
sb.append(", isArtifactUploaded=").append(String.valueOf(this.isArtifactUploaded));
sb.append(")");
return sb.toString();
@@ -210,6 +254,9 @@ public boolean equals(Object o) {
return java.util.Objects.equals(
this.stepInfrastructureConfigurationDetails,
other.stepInfrastructureConfigurationDetails)
+ && java.util.Objects.equals(
+ this.stepStorageMountConfigurationDetailsList,
+ other.stepStorageMountConfigurationDetailsList)
&& java.util.Objects.equals(this.isArtifactUploaded, other.isArtifactUploaded)
&& super.equals(other);
}
@@ -223,6 +270,11 @@ public int hashCode() {
+ (this.stepInfrastructureConfigurationDetails == null
? 43
: this.stepInfrastructureConfigurationDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.stepStorageMountConfigurationDetailsList == null
+ ? 43
+ : this.stepStorageMountConfigurationDetailsList.hashCode());
result =
(result * PRIME)
+ (this.isArtifactUploaded == null
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineCustomScriptStepUpdateDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineCustomScriptStepUpdateDetails.java
index 7c194ebb762..d09232d5b83 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineCustomScriptStepUpdateDetails.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineCustomScriptStepUpdateDetails.java
@@ -65,6 +65,25 @@ public Builder stepInfrastructureConfigurationDetails(
this.__explicitlySet__.add("stepInfrastructureConfigurationDetails");
return this;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("stepStorageMountConfigurationDetailsList")
+ private java.util.List
+ stepStorageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @param stepStorageMountConfigurationDetailsList the value to set
+ * @return this builder
+ */
+ public Builder stepStorageMountConfigurationDetailsList(
+ java.util.List
+ stepStorageMountConfigurationDetailsList) {
+ this.stepStorageMountConfigurationDetailsList =
+ stepStorageMountConfigurationDetailsList;
+ this.__explicitlySet__.add("stepStorageMountConfigurationDetailsList");
+ return this;
+ }
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -75,7 +94,8 @@ public PipelineCustomScriptStepUpdateDetails build() {
this.stepName,
this.description,
this.stepConfigurationDetails,
- this.stepInfrastructureConfigurationDetails);
+ this.stepInfrastructureConfigurationDetails,
+ this.stepStorageMountConfigurationDetailsList);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -97,6 +117,10 @@ public Builder copy(PipelineCustomScriptStepUpdateDetails model) {
this.stepInfrastructureConfigurationDetails(
model.getStepInfrastructureConfigurationDetails());
}
+ if (model.wasPropertyExplicitlySet("stepStorageMountConfigurationDetailsList")) {
+ this.stepStorageMountConfigurationDetailsList(
+ model.getStepStorageMountConfigurationDetailsList());
+ }
return this;
}
}
@@ -115,9 +139,12 @@ public PipelineCustomScriptStepUpdateDetails(
String stepName,
String description,
PipelineStepConfigurationDetails stepConfigurationDetails,
- PipelineInfrastructureConfigurationDetails stepInfrastructureConfigurationDetails) {
+ PipelineInfrastructureConfigurationDetails stepInfrastructureConfigurationDetails,
+ java.util.List
+ stepStorageMountConfigurationDetailsList) {
super(stepName, description, stepConfigurationDetails);
this.stepInfrastructureConfigurationDetails = stepInfrastructureConfigurationDetails;
+ this.stepStorageMountConfigurationDetailsList = stepStorageMountConfigurationDetailsList;
}
@com.fasterxml.jackson.annotation.JsonProperty("stepInfrastructureConfigurationDetails")
@@ -127,6 +154,21 @@ public PipelineInfrastructureConfigurationDetails getStepInfrastructureConfigura
return stepInfrastructureConfigurationDetails;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("stepStorageMountConfigurationDetailsList")
+ private final java.util.List
+ stepStorageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getStepStorageMountConfigurationDetailsList() {
+ return stepStorageMountConfigurationDetailsList;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -144,6 +186,8 @@ public String toString(boolean includeByteArrayContents) {
sb.append("super=").append(super.toString(includeByteArrayContents));
sb.append(", stepInfrastructureConfigurationDetails=")
.append(String.valueOf(this.stepInfrastructureConfigurationDetails));
+ sb.append(", stepStorageMountConfigurationDetailsList=")
+ .append(String.valueOf(this.stepStorageMountConfigurationDetailsList));
sb.append(")");
return sb.toString();
}
@@ -161,6 +205,9 @@ public boolean equals(Object o) {
return java.util.Objects.equals(
this.stepInfrastructureConfigurationDetails,
other.stepInfrastructureConfigurationDetails)
+ && java.util.Objects.equals(
+ this.stepStorageMountConfigurationDetailsList,
+ other.stepStorageMountConfigurationDetailsList)
&& super.equals(other);
}
@@ -173,6 +220,11 @@ public int hashCode() {
+ (this.stepInfrastructureConfigurationDetails == null
? 43
: this.stepInfrastructureConfigurationDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.stepStorageMountConfigurationDetailsList == null
+ ? 43
+ : this.stepStorageMountConfigurationDetailsList.hashCode());
return result;
}
}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowConfigurationDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowConfigurationDetails.java
new file mode 100644
index 00000000000..d6023935da3
--- /dev/null
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowConfigurationDetails.java
@@ -0,0 +1,419 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.datascience.model;
+
+/**
+ * The configuration details of a Dataflow step.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = PipelineDataflowConfigurationDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class PipelineDataflowConfigurationDetails
+ extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel {
+ @Deprecated
+ @java.beans.ConstructorProperties({
+ "configuration",
+ "driverShape",
+ "driverShapeConfigDetails",
+ "executorShape",
+ "executorShapeConfigDetails",
+ "numExecutors",
+ "warehouseBucketUri",
+ "logsBucketUri"
+ })
+ public PipelineDataflowConfigurationDetails(
+ Object configuration,
+ String driverShape,
+ PipelineShapeConfigDetails driverShapeConfigDetails,
+ String executorShape,
+ PipelineShapeConfigDetails executorShapeConfigDetails,
+ Integer numExecutors,
+ String warehouseBucketUri,
+ String logsBucketUri) {
+ super();
+ this.configuration = configuration;
+ this.driverShape = driverShape;
+ this.driverShapeConfigDetails = driverShapeConfigDetails;
+ this.executorShape = executorShape;
+ this.executorShapeConfigDetails = executorShapeConfigDetails;
+ this.numExecutors = numExecutors;
+ this.warehouseBucketUri = warehouseBucketUri;
+ this.logsBucketUri = logsBucketUri;
+ }
+
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ /** The Spark configuration passed to the running process. */
+ @com.fasterxml.jackson.annotation.JsonProperty("configuration")
+ private Object configuration;
+
+ /**
+ * The Spark configuration passed to the running process.
+ *
+ * @param configuration the value to set
+ * @return this builder
+ */
+ public Builder configuration(Object configuration) {
+ this.configuration = configuration;
+ this.__explicitlySet__.add("configuration");
+ return this;
+ }
+ /** The VM shape for the driver. */
+ @com.fasterxml.jackson.annotation.JsonProperty("driverShape")
+ private String driverShape;
+
+ /**
+ * The VM shape for the driver.
+ *
+ * @param driverShape the value to set
+ * @return this builder
+ */
+ public Builder driverShape(String driverShape) {
+ this.driverShape = driverShape;
+ this.__explicitlySet__.add("driverShape");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("driverShapeConfigDetails")
+ private PipelineShapeConfigDetails driverShapeConfigDetails;
+
+ public Builder driverShapeConfigDetails(
+ PipelineShapeConfigDetails driverShapeConfigDetails) {
+ this.driverShapeConfigDetails = driverShapeConfigDetails;
+ this.__explicitlySet__.add("driverShapeConfigDetails");
+ return this;
+ }
+ /** The VM shape for the executors. */
+ @com.fasterxml.jackson.annotation.JsonProperty("executorShape")
+ private String executorShape;
+
+ /**
+ * The VM shape for the executors.
+ *
+ * @param executorShape the value to set
+ * @return this builder
+ */
+ public Builder executorShape(String executorShape) {
+ this.executorShape = executorShape;
+ this.__explicitlySet__.add("executorShape");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("executorShapeConfigDetails")
+ private PipelineShapeConfigDetails executorShapeConfigDetails;
+
+ public Builder executorShapeConfigDetails(
+ PipelineShapeConfigDetails executorShapeConfigDetails) {
+ this.executorShapeConfigDetails = executorShapeConfigDetails;
+ this.__explicitlySet__.add("executorShapeConfigDetails");
+ return this;
+ }
+ /** The number of executor VMs requested. */
+ @com.fasterxml.jackson.annotation.JsonProperty("numExecutors")
+ private Integer numExecutors;
+
+ /**
+ * The number of executor VMs requested.
+ *
+ * @param numExecutors the value to set
+ * @return this builder
+ */
+ public Builder numExecutors(Integer numExecutors) {
+ this.numExecutors = numExecutors;
+ this.__explicitlySet__.add("numExecutors");
+ return this;
+ }
+ /**
+ * An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse
+ * directory for BATCH SQL runs.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("warehouseBucketUri")
+ private String warehouseBucketUri;
+
+ /**
+ * An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse
+ * directory for BATCH SQL runs.
+ *
+ * @param warehouseBucketUri the value to set
+ * @return this builder
+ */
+ public Builder warehouseBucketUri(String warehouseBucketUri) {
+ this.warehouseBucketUri = warehouseBucketUri;
+ this.__explicitlySet__.add("warehouseBucketUri");
+ return this;
+ }
+ /**
+ * An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be
+ * uploaded.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("logsBucketUri")
+ private String logsBucketUri;
+
+ /**
+ * An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be
+ * uploaded.
+ *
+ * @param logsBucketUri the value to set
+ * @return this builder
+ */
+ public Builder logsBucketUri(String logsBucketUri) {
+ this.logsBucketUri = logsBucketUri;
+ this.__explicitlySet__.add("logsBucketUri");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public PipelineDataflowConfigurationDetails build() {
+ PipelineDataflowConfigurationDetails model =
+ new PipelineDataflowConfigurationDetails(
+ this.configuration,
+ this.driverShape,
+ this.driverShapeConfigDetails,
+ this.executorShape,
+ this.executorShapeConfigDetails,
+ this.numExecutors,
+ this.warehouseBucketUri,
+ this.logsBucketUri);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(PipelineDataflowConfigurationDetails model) {
+ if (model.wasPropertyExplicitlySet("configuration")) {
+ this.configuration(model.getConfiguration());
+ }
+ if (model.wasPropertyExplicitlySet("driverShape")) {
+ this.driverShape(model.getDriverShape());
+ }
+ if (model.wasPropertyExplicitlySet("driverShapeConfigDetails")) {
+ this.driverShapeConfigDetails(model.getDriverShapeConfigDetails());
+ }
+ if (model.wasPropertyExplicitlySet("executorShape")) {
+ this.executorShape(model.getExecutorShape());
+ }
+ if (model.wasPropertyExplicitlySet("executorShapeConfigDetails")) {
+ this.executorShapeConfigDetails(model.getExecutorShapeConfigDetails());
+ }
+ if (model.wasPropertyExplicitlySet("numExecutors")) {
+ this.numExecutors(model.getNumExecutors());
+ }
+ if (model.wasPropertyExplicitlySet("warehouseBucketUri")) {
+ this.warehouseBucketUri(model.getWarehouseBucketUri());
+ }
+ if (model.wasPropertyExplicitlySet("logsBucketUri")) {
+ this.logsBucketUri(model.getLogsBucketUri());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ /** The Spark configuration passed to the running process. */
+ @com.fasterxml.jackson.annotation.JsonProperty("configuration")
+ private final Object configuration;
+
+ /**
+ * The Spark configuration passed to the running process.
+ *
+ * @return the value
+ */
+ public Object getConfiguration() {
+ return configuration;
+ }
+
+ /** The VM shape for the driver. */
+ @com.fasterxml.jackson.annotation.JsonProperty("driverShape")
+ private final String driverShape;
+
+ /**
+ * The VM shape for the driver.
+ *
+ * @return the value
+ */
+ public String getDriverShape() {
+ return driverShape;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("driverShapeConfigDetails")
+ private final PipelineShapeConfigDetails driverShapeConfigDetails;
+
+ public PipelineShapeConfigDetails getDriverShapeConfigDetails() {
+ return driverShapeConfigDetails;
+ }
+
+ /** The VM shape for the executors. */
+ @com.fasterxml.jackson.annotation.JsonProperty("executorShape")
+ private final String executorShape;
+
+ /**
+ * The VM shape for the executors.
+ *
+ * @return the value
+ */
+ public String getExecutorShape() {
+ return executorShape;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("executorShapeConfigDetails")
+ private final PipelineShapeConfigDetails executorShapeConfigDetails;
+
+ public PipelineShapeConfigDetails getExecutorShapeConfigDetails() {
+ return executorShapeConfigDetails;
+ }
+
+ /** The number of executor VMs requested. */
+ @com.fasterxml.jackson.annotation.JsonProperty("numExecutors")
+ private final Integer numExecutors;
+
+ /**
+ * The number of executor VMs requested.
+ *
+ * @return the value
+ */
+ public Integer getNumExecutors() {
+ return numExecutors;
+ }
+
+ /**
+ * An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory
+ * for BATCH SQL runs.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("warehouseBucketUri")
+ private final String warehouseBucketUri;
+
+ /**
+ * An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory
+ * for BATCH SQL runs.
+ *
+ * @return the value
+ */
+ public String getWarehouseBucketUri() {
+ return warehouseBucketUri;
+ }
+
+ /**
+ * An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("logsBucketUri")
+ private final String logsBucketUri;
+
+ /**
+ * An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded.
+ *
+ * @return the value
+ */
+ public String getLogsBucketUri() {
+ return logsBucketUri;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("PipelineDataflowConfigurationDetails(");
+ sb.append("super=").append(super.toString());
+ sb.append("configuration=").append(String.valueOf(this.configuration));
+ sb.append(", driverShape=").append(String.valueOf(this.driverShape));
+ sb.append(", driverShapeConfigDetails=")
+ .append(String.valueOf(this.driverShapeConfigDetails));
+ sb.append(", executorShape=").append(String.valueOf(this.executorShape));
+ sb.append(", executorShapeConfigDetails=")
+ .append(String.valueOf(this.executorShapeConfigDetails));
+ sb.append(", numExecutors=").append(String.valueOf(this.numExecutors));
+ sb.append(", warehouseBucketUri=").append(String.valueOf(this.warehouseBucketUri));
+ sb.append(", logsBucketUri=").append(String.valueOf(this.logsBucketUri));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PipelineDataflowConfigurationDetails)) {
+ return false;
+ }
+
+ PipelineDataflowConfigurationDetails other = (PipelineDataflowConfigurationDetails) o;
+ return java.util.Objects.equals(this.configuration, other.configuration)
+ && java.util.Objects.equals(this.driverShape, other.driverShape)
+ && java.util.Objects.equals(
+ this.driverShapeConfigDetails, other.driverShapeConfigDetails)
+ && java.util.Objects.equals(this.executorShape, other.executorShape)
+ && java.util.Objects.equals(
+ this.executorShapeConfigDetails, other.executorShapeConfigDetails)
+ && java.util.Objects.equals(this.numExecutors, other.numExecutors)
+ && java.util.Objects.equals(this.warehouseBucketUri, other.warehouseBucketUri)
+ && java.util.Objects.equals(this.logsBucketUri, other.logsBucketUri)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ result =
+ (result * PRIME)
+ + (this.configuration == null ? 43 : this.configuration.hashCode());
+ result = (result * PRIME) + (this.driverShape == null ? 43 : this.driverShape.hashCode());
+ result =
+ (result * PRIME)
+ + (this.driverShapeConfigDetails == null
+ ? 43
+ : this.driverShapeConfigDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.executorShape == null ? 43 : this.executorShape.hashCode());
+ result =
+ (result * PRIME)
+ + (this.executorShapeConfigDetails == null
+ ? 43
+ : this.executorShapeConfigDetails.hashCode());
+ result = (result * PRIME) + (this.numExecutors == null ? 43 : this.numExecutors.hashCode());
+ result =
+ (result * PRIME)
+ + (this.warehouseBucketUri == null
+ ? 43
+ : this.warehouseBucketUri.hashCode());
+ result =
+ (result * PRIME)
+ + (this.logsBucketUri == null ? 43 : this.logsBucketUri.hashCode());
+ result = (result * PRIME) + super.hashCode();
+ return result;
+ }
+}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowStepDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowStepDetails.java
new file mode 100644
index 00000000000..ab5d1938873
--- /dev/null
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowStepDetails.java
@@ -0,0 +1,237 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.datascience.model;
+
+/**
+ * The type of step where the dataflow application is pre-created by the user.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = PipelineDataflowStepDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "stepType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class PipelineDataflowStepDetails extends PipelineStepDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("stepName")
+ private String stepName;
+
+ public Builder stepName(String stepName) {
+ this.stepName = stepName;
+ this.__explicitlySet__.add("stepName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("description")
+ private String description;
+
+ public Builder description(String description) {
+ this.description = description;
+ this.__explicitlySet__.add("description");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("dependsOn")
+ private java.util.List dependsOn;
+
+ public Builder dependsOn(java.util.List dependsOn) {
+ this.dependsOn = dependsOn;
+ this.__explicitlySet__.add("dependsOn");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepConfigurationDetails")
+ private PipelineStepConfigurationDetails stepConfigurationDetails;
+
+ public Builder stepConfigurationDetails(
+ PipelineStepConfigurationDetails stepConfigurationDetails) {
+ this.stepConfigurationDetails = stepConfigurationDetails;
+ this.__explicitlySet__.add("stepConfigurationDetails");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the dataflow application to be used as a step.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("applicationId")
+ private String applicationId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the dataflow application to be used as a step.
+ *
+ * @param applicationId the value to set
+ * @return this builder
+ */
+ public Builder applicationId(String applicationId) {
+ this.applicationId = applicationId;
+ this.__explicitlySet__.add("applicationId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepDataflowConfigurationDetails")
+ private PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails;
+
+ public Builder stepDataflowConfigurationDetails(
+ PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails) {
+ this.stepDataflowConfigurationDetails = stepDataflowConfigurationDetails;
+ this.__explicitlySet__.add("stepDataflowConfigurationDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public PipelineDataflowStepDetails build() {
+ PipelineDataflowStepDetails model =
+ new PipelineDataflowStepDetails(
+ this.stepName,
+ this.description,
+ this.dependsOn,
+ this.stepConfigurationDetails,
+ this.applicationId,
+ this.stepDataflowConfigurationDetails);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(PipelineDataflowStepDetails model) {
+ if (model.wasPropertyExplicitlySet("stepName")) {
+ this.stepName(model.getStepName());
+ }
+ if (model.wasPropertyExplicitlySet("description")) {
+ this.description(model.getDescription());
+ }
+ if (model.wasPropertyExplicitlySet("dependsOn")) {
+ this.dependsOn(model.getDependsOn());
+ }
+ if (model.wasPropertyExplicitlySet("stepConfigurationDetails")) {
+ this.stepConfigurationDetails(model.getStepConfigurationDetails());
+ }
+ if (model.wasPropertyExplicitlySet("applicationId")) {
+ this.applicationId(model.getApplicationId());
+ }
+ if (model.wasPropertyExplicitlySet("stepDataflowConfigurationDetails")) {
+ this.stepDataflowConfigurationDetails(model.getStepDataflowConfigurationDetails());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public PipelineDataflowStepDetails(
+ String stepName,
+ String description,
+ java.util.List dependsOn,
+ PipelineStepConfigurationDetails stepConfigurationDetails,
+ String applicationId,
+ PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails) {
+ super(stepName, description, dependsOn, stepConfigurationDetails);
+ this.applicationId = applicationId;
+ this.stepDataflowConfigurationDetails = stepDataflowConfigurationDetails;
+ }
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the dataflow application to be used as a step.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("applicationId")
+ private final String applicationId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the dataflow application to be used as a step.
+ *
+ * @return the value
+ */
+ public String getApplicationId() {
+ return applicationId;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepDataflowConfigurationDetails")
+ private final PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails;
+
+ public PipelineDataflowConfigurationDetails getStepDataflowConfigurationDetails() {
+ return stepDataflowConfigurationDetails;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("PipelineDataflowStepDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", applicationId=").append(String.valueOf(this.applicationId));
+ sb.append(", stepDataflowConfigurationDetails=")
+ .append(String.valueOf(this.stepDataflowConfigurationDetails));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PipelineDataflowStepDetails)) {
+ return false;
+ }
+
+ PipelineDataflowStepDetails other = (PipelineDataflowStepDetails) o;
+ return java.util.Objects.equals(this.applicationId, other.applicationId)
+ && java.util.Objects.equals(
+ this.stepDataflowConfigurationDetails,
+ other.stepDataflowConfigurationDetails)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.applicationId == null ? 43 : this.applicationId.hashCode());
+ result =
+ (result * PRIME)
+ + (this.stepDataflowConfigurationDetails == null
+ ? 43
+ : this.stepDataflowConfigurationDetails.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowStepRun.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowStepRun.java
new file mode 100644
index 00000000000..106feda14dd
--- /dev/null
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowStepRun.java
@@ -0,0 +1,217 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.datascience.model;
+
+/**
+ * Detail of each Dataflow Step Run.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = PipelineDataflowStepRun.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "stepType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class PipelineDataflowStepRun extends PipelineStepRun {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("timeStarted")
+ private java.util.Date timeStarted;
+
+ public Builder timeStarted(java.util.Date timeStarted) {
+ this.timeStarted = timeStarted;
+ this.__explicitlySet__.add("timeStarted");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("timeFinished")
+ private java.util.Date timeFinished;
+
+ public Builder timeFinished(java.util.Date timeFinished) {
+ this.timeFinished = timeFinished;
+ this.__explicitlySet__.add("timeFinished");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepName")
+ private String stepName;
+
+ public Builder stepName(String stepName) {
+ this.stepName = stepName;
+ this.__explicitlySet__.add("stepName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState")
+ private LifecycleState lifecycleState;
+
+ public Builder lifecycleState(LifecycleState lifecycleState) {
+ this.lifecycleState = lifecycleState;
+ this.__explicitlySet__.add("lifecycleState");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails")
+ private String lifecycleDetails;
+
+ public Builder lifecycleDetails(String lifecycleDetails) {
+ this.lifecycleDetails = lifecycleDetails;
+ this.__explicitlySet__.add("lifecycleDetails");
+ return this;
+ }
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the dataflow run triggered for this step run.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dataflowRunId")
+ private String dataflowRunId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
+ * of the dataflow run triggered for this step run.
+ *
+ * @param dataflowRunId the value to set
+ * @return this builder
+ */
+ public Builder dataflowRunId(String dataflowRunId) {
+ this.dataflowRunId = dataflowRunId;
+ this.__explicitlySet__.add("dataflowRunId");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public PipelineDataflowStepRun build() {
+ PipelineDataflowStepRun model =
+ new PipelineDataflowStepRun(
+ this.timeStarted,
+ this.timeFinished,
+ this.stepName,
+ this.lifecycleState,
+ this.lifecycleDetails,
+ this.dataflowRunId);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(PipelineDataflowStepRun model) {
+ if (model.wasPropertyExplicitlySet("timeStarted")) {
+ this.timeStarted(model.getTimeStarted());
+ }
+ if (model.wasPropertyExplicitlySet("timeFinished")) {
+ this.timeFinished(model.getTimeFinished());
+ }
+ if (model.wasPropertyExplicitlySet("stepName")) {
+ this.stepName(model.getStepName());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleState")) {
+ this.lifecycleState(model.getLifecycleState());
+ }
+ if (model.wasPropertyExplicitlySet("lifecycleDetails")) {
+ this.lifecycleDetails(model.getLifecycleDetails());
+ }
+ if (model.wasPropertyExplicitlySet("dataflowRunId")) {
+ this.dataflowRunId(model.getDataflowRunId());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public PipelineDataflowStepRun(
+ java.util.Date timeStarted,
+ java.util.Date timeFinished,
+ String stepName,
+ LifecycleState lifecycleState,
+ String lifecycleDetails,
+ String dataflowRunId) {
+ super(timeStarted, timeFinished, stepName, lifecycleState, lifecycleDetails);
+ this.dataflowRunId = dataflowRunId;
+ }
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the dataflow run triggered for this step run.
+ */
+ @com.fasterxml.jackson.annotation.JsonProperty("dataflowRunId")
+ private final String dataflowRunId;
+
+ /**
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
+ * the dataflow run triggered for this step run.
+ *
+ * @return the value
+ */
+ public String getDataflowRunId() {
+ return dataflowRunId;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("PipelineDataflowStepRun(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", dataflowRunId=").append(String.valueOf(this.dataflowRunId));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PipelineDataflowStepRun)) {
+ return false;
+ }
+
+ PipelineDataflowStepRun other = (PipelineDataflowStepRun) o;
+ return java.util.Objects.equals(this.dataflowRunId, other.dataflowRunId)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.dataflowRunId == null ? 43 : this.dataflowRunId.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowStepUpdateDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowStepUpdateDetails.java
new file mode 100644
index 00000000000..16e0bd0b884
--- /dev/null
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineDataflowStepUpdateDetails.java
@@ -0,0 +1,176 @@
+/**
+ * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+ */
+package com.oracle.bmc.datascience.model;
+
+/**
+ * The type of step where the dataflow application is pre-created by the user.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model
+ * distinguishes fields that are {@code null} because they are unset from fields that are explicitly
+ * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a
+ * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link
+ * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set
+ * fields into account. The constructor, on the other hand, does not take the explicitly set fields
+ * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code
+ * null}).
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101")
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = PipelineDataflowStepUpdateDetails.Builder.class)
+@com.fasterxml.jackson.annotation.JsonTypeInfo(
+ use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME,
+ include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY,
+ property = "stepType")
+@com.fasterxml.jackson.annotation.JsonFilter(
+ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
+public final class PipelineDataflowStepUpdateDetails extends PipelineStepUpdateDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("stepName")
+ private String stepName;
+
+ public Builder stepName(String stepName) {
+ this.stepName = stepName;
+ this.__explicitlySet__.add("stepName");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("description")
+ private String description;
+
+ public Builder description(String description) {
+ this.description = description;
+ this.__explicitlySet__.add("description");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepConfigurationDetails")
+ private PipelineStepConfigurationDetails stepConfigurationDetails;
+
+ public Builder stepConfigurationDetails(
+ PipelineStepConfigurationDetails stepConfigurationDetails) {
+ this.stepConfigurationDetails = stepConfigurationDetails;
+ this.__explicitlySet__.add("stepConfigurationDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepDataflowConfigurationDetails")
+ private PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails;
+
+ public Builder stepDataflowConfigurationDetails(
+ PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails) {
+ this.stepDataflowConfigurationDetails = stepDataflowConfigurationDetails;
+ this.__explicitlySet__.add("stepDataflowConfigurationDetails");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public PipelineDataflowStepUpdateDetails build() {
+ PipelineDataflowStepUpdateDetails model =
+ new PipelineDataflowStepUpdateDetails(
+ this.stepName,
+ this.description,
+ this.stepConfigurationDetails,
+ this.stepDataflowConfigurationDetails);
+ for (String explicitlySetProperty : this.__explicitlySet__) {
+ model.markPropertyAsExplicitlySet(explicitlySetProperty);
+ }
+ return model;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(PipelineDataflowStepUpdateDetails model) {
+ if (model.wasPropertyExplicitlySet("stepName")) {
+ this.stepName(model.getStepName());
+ }
+ if (model.wasPropertyExplicitlySet("description")) {
+ this.description(model.getDescription());
+ }
+ if (model.wasPropertyExplicitlySet("stepConfigurationDetails")) {
+ this.stepConfigurationDetails(model.getStepConfigurationDetails());
+ }
+ if (model.wasPropertyExplicitlySet("stepDataflowConfigurationDetails")) {
+ this.stepDataflowConfigurationDetails(model.getStepDataflowConfigurationDetails());
+ }
+ return this;
+ }
+ }
+
+ /** Create a new builder. */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder().copy(this);
+ }
+
+ @Deprecated
+ public PipelineDataflowStepUpdateDetails(
+ String stepName,
+ String description,
+ PipelineStepConfigurationDetails stepConfigurationDetails,
+ PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails) {
+ super(stepName, description, stepConfigurationDetails);
+ this.stepDataflowConfigurationDetails = stepDataflowConfigurationDetails;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("stepDataflowConfigurationDetails")
+ private final PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails;
+
+ public PipelineDataflowConfigurationDetails getStepDataflowConfigurationDetails() {
+ return stepDataflowConfigurationDetails;
+ }
+
+ @Override
+ public String toString() {
+ return this.toString(true);
+ }
+
+ /**
+ * Return a string representation of the object.
+ *
+ * @param includeByteArrayContents true to include the full contents of byte arrays
+ * @return string representation
+ */
+ public String toString(boolean includeByteArrayContents) {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder();
+ sb.append("PipelineDataflowStepUpdateDetails(");
+ sb.append("super=").append(super.toString(includeByteArrayContents));
+ sb.append(", stepDataflowConfigurationDetails=")
+ .append(String.valueOf(this.stepDataflowConfigurationDetails));
+ sb.append(")");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (!(o instanceof PipelineDataflowStepUpdateDetails)) {
+ return false;
+ }
+
+ PipelineDataflowStepUpdateDetails other = (PipelineDataflowStepUpdateDetails) o;
+ return java.util.Objects.equals(
+ this.stepDataflowConfigurationDetails,
+ other.stepDataflowConfigurationDetails)
+ && super.equals(other);
+ }
+
+ @Override
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = super.hashCode();
+ result =
+ (result * PRIME)
+ + (this.stepDataflowConfigurationDetails == null
+ ? 43
+ : this.stepDataflowConfigurationDetails.hashCode());
+ return result;
+ }
+}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepDetails.java
index 387064b3099..8efe26c9b22 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepDetails.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepDetails.java
@@ -28,6 +28,9 @@
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = PipelineMLJobStepDetails.class,
name = "ML_JOB"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = PipelineDataflowStepDetails.class,
+ name = "DATAFLOW"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = PipelineCustomScriptStepDetails.class,
name = "CUSTOM_SCRIPT")
@@ -167,6 +170,7 @@ public enum StepType implements com.oracle.bmc.http.internal.BmcEnum {
MlJob("ML_JOB"),
CustomScript("CUSTOM_SCRIPT"),
Container("CONTAINER"),
+ Dataflow("DATAFLOW"),
/**
* This value is used if a service returns a value for this enum that is not recognized by
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepOverrideDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepOverrideDetails.java
index aedd230dd4c..03288e5c24d 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepOverrideDetails.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepOverrideDetails.java
@@ -26,16 +26,19 @@ public final class PipelineStepOverrideDetails
@java.beans.ConstructorProperties({
"stepName",
"stepConfigurationDetails",
- "stepContainerConfigurationDetails"
+ "stepContainerConfigurationDetails",
+ "stepDataflowConfigurationDetails"
})
public PipelineStepOverrideDetails(
String stepName,
PipelineStepConfigurationDetails stepConfigurationDetails,
- PipelineContainerConfigurationDetails stepContainerConfigurationDetails) {
+ PipelineContainerConfigurationDetails stepContainerConfigurationDetails,
+ PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails) {
super();
this.stepName = stepName;
this.stepConfigurationDetails = stepConfigurationDetails;
this.stepContainerConfigurationDetails = stepContainerConfigurationDetails;
+ this.stepDataflowConfigurationDetails = stepDataflowConfigurationDetails;
}
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@@ -76,6 +79,16 @@ public Builder stepContainerConfigurationDetails(
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("stepDataflowConfigurationDetails")
+ private PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails;
+
+ public Builder stepDataflowConfigurationDetails(
+ PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails) {
+ this.stepDataflowConfigurationDetails = stepDataflowConfigurationDetails;
+ this.__explicitlySet__.add("stepDataflowConfigurationDetails");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
@@ -84,7 +97,8 @@ public PipelineStepOverrideDetails build() {
new PipelineStepOverrideDetails(
this.stepName,
this.stepConfigurationDetails,
- this.stepContainerConfigurationDetails);
+ this.stepContainerConfigurationDetails,
+ this.stepDataflowConfigurationDetails);
for (String explicitlySetProperty : this.__explicitlySet__) {
model.markPropertyAsExplicitlySet(explicitlySetProperty);
}
@@ -103,6 +117,9 @@ public Builder copy(PipelineStepOverrideDetails model) {
this.stepContainerConfigurationDetails(
model.getStepContainerConfigurationDetails());
}
+ if (model.wasPropertyExplicitlySet("stepDataflowConfigurationDetails")) {
+ this.stepDataflowConfigurationDetails(model.getStepDataflowConfigurationDetails());
+ }
return this;
}
}
@@ -143,6 +160,13 @@ public PipelineContainerConfigurationDetails getStepContainerConfigurationDetail
return stepContainerConfigurationDetails;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("stepDataflowConfigurationDetails")
+ private final PipelineDataflowConfigurationDetails stepDataflowConfigurationDetails;
+
+ public PipelineDataflowConfigurationDetails getStepDataflowConfigurationDetails() {
+ return stepDataflowConfigurationDetails;
+ }
+
@Override
public String toString() {
return this.toString(true);
@@ -163,6 +187,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.stepConfigurationDetails));
sb.append(", stepContainerConfigurationDetails=")
.append(String.valueOf(this.stepContainerConfigurationDetails));
+ sb.append(", stepDataflowConfigurationDetails=")
+ .append(String.valueOf(this.stepDataflowConfigurationDetails));
sb.append(")");
return sb.toString();
}
@@ -183,6 +209,9 @@ public boolean equals(Object o) {
&& java.util.Objects.equals(
this.stepContainerConfigurationDetails,
other.stepContainerConfigurationDetails)
+ && java.util.Objects.equals(
+ this.stepDataflowConfigurationDetails,
+ other.stepDataflowConfigurationDetails)
&& super.equals(other);
}
@@ -201,6 +230,11 @@ public int hashCode() {
+ (this.stepContainerConfigurationDetails == null
? 43
: this.stepContainerConfigurationDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.stepDataflowConfigurationDetails == null
+ ? 43
+ : this.stepDataflowConfigurationDetails.hashCode());
result = (result * PRIME) + super.hashCode();
return result;
}
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepRun.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepRun.java
index 49dffd09050..55564402e4e 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepRun.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepRun.java
@@ -30,7 +30,10 @@
name = "CUSTOM_SCRIPT"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = PipelineMLJobStepRun.class,
- name = "ML_JOB")
+ name = "ML_JOB"),
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = PipelineDataflowStepRun.class,
+ name = "DATAFLOW")
})
@com.fasterxml.jackson.annotation.JsonFilter(
com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME)
@@ -247,6 +250,7 @@ public enum StepType implements com.oracle.bmc.http.internal.BmcEnum {
MlJob("ML_JOB"),
CustomScript("CUSTOM_SCRIPT"),
Container("CONTAINER"),
+ Dataflow("DATAFLOW"),
/**
* This value is used if a service returns a value for this enum that is not recognized by
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepUpdateDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepUpdateDetails.java
index 115a1c52bf7..0612a4e76af 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepUpdateDetails.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/PipelineStepUpdateDetails.java
@@ -22,6 +22,9 @@
property = "stepType",
defaultImpl = PipelineStepUpdateDetails.class)
@com.fasterxml.jackson.annotation.JsonSubTypes({
+ @com.fasterxml.jackson.annotation.JsonSubTypes.Type(
+ value = PipelineDataflowStepUpdateDetails.class,
+ name = "DATAFLOW"),
@com.fasterxml.jackson.annotation.JsonSubTypes.Type(
value = PipelineMLJobStepUpdateDetails.class,
name = "ML_JOB"),
@@ -141,6 +144,7 @@ public enum StepType implements com.oracle.bmc.http.internal.BmcEnum {
MlJob("ML_JOB"),
CustomScript("CUSTOM_SCRIPT"),
Container("CONTAINER"),
+ Dataflow("DATAFLOW"),
;
private final String value;
diff --git a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdatePipelineDetails.java b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdatePipelineDetails.java
index 1e2ecec1afd..c2f5fba43e1 100644
--- a/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdatePipelineDetails.java
+++ b/bmc-datascience/src/main/java/com/oracle/bmc/datascience/model/UpdatePipelineDetails.java
@@ -29,6 +29,7 @@ public final class UpdatePipelineDetails
"configurationDetails",
"infrastructureConfigurationDetails",
"logConfigurationDetails",
+ "storageMountConfigurationDetailsList",
"stepDetails",
"freeformTags",
"definedTags"
@@ -39,6 +40,7 @@ public UpdatePipelineDetails(
PipelineConfigurationDetails configurationDetails,
PipelineInfrastructureConfigurationDetails infrastructureConfigurationDetails,
PipelineLogConfigurationDetails logConfigurationDetails,
+ java.util.List storageMountConfigurationDetailsList,
java.util.List stepDetails,
java.util.Map freeformTags,
java.util.Map> definedTags) {
@@ -48,6 +50,7 @@ public UpdatePipelineDetails(
this.configurationDetails = configurationDetails;
this.infrastructureConfigurationDetails = infrastructureConfigurationDetails;
this.logConfigurationDetails = logConfigurationDetails;
+ this.storageMountConfigurationDetailsList = storageMountConfigurationDetailsList;
this.stepDetails = stepDetails;
this.freeformTags = freeformTags;
this.definedTags = definedTags;
@@ -114,6 +117,24 @@ public Builder logConfigurationDetails(
this.__explicitlySet__.add("logConfigurationDetails");
return this;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageMountConfigurationDetailsList")
+ private java.util.List
+ storageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @param storageMountConfigurationDetailsList the value to set
+ * @return this builder
+ */
+ public Builder storageMountConfigurationDetailsList(
+ java.util.List
+ storageMountConfigurationDetailsList) {
+ this.storageMountConfigurationDetailsList = storageMountConfigurationDetailsList;
+ this.__explicitlySet__.add("storageMountConfigurationDetailsList");
+ return this;
+ }
/**
* Array of update details for each step. Only step configurations and step infrastructure
* configurations are allowed to be updated.
@@ -190,6 +211,7 @@ public UpdatePipelineDetails build() {
this.configurationDetails,
this.infrastructureConfigurationDetails,
this.logConfigurationDetails,
+ this.storageMountConfigurationDetailsList,
this.stepDetails,
this.freeformTags,
this.definedTags);
@@ -217,6 +239,10 @@ public Builder copy(UpdatePipelineDetails model) {
if (model.wasPropertyExplicitlySet("logConfigurationDetails")) {
this.logConfigurationDetails(model.getLogConfigurationDetails());
}
+ if (model.wasPropertyExplicitlySet("storageMountConfigurationDetailsList")) {
+ this.storageMountConfigurationDetailsList(
+ model.getStorageMountConfigurationDetailsList());
+ }
if (model.wasPropertyExplicitlySet("stepDetails")) {
this.stepDetails(model.getStepDetails());
}
@@ -286,6 +312,21 @@ public PipelineLogConfigurationDetails getLogConfigurationDetails() {
return logConfigurationDetails;
}
+ /** The storage mount details to mount to the instance running the pipeline step. */
+ @com.fasterxml.jackson.annotation.JsonProperty("storageMountConfigurationDetailsList")
+ private final java.util.List
+ storageMountConfigurationDetailsList;
+
+ /**
+ * The storage mount details to mount to the instance running the pipeline step.
+ *
+ * @return the value
+ */
+ public java.util.List
+ getStorageMountConfigurationDetailsList() {
+ return storageMountConfigurationDetailsList;
+ }
+
/**
* Array of update details for each step. Only step configurations and step infrastructure
* configurations are allowed to be updated.
@@ -365,6 +406,8 @@ public String toString(boolean includeByteArrayContents) {
.append(String.valueOf(this.infrastructureConfigurationDetails));
sb.append(", logConfigurationDetails=")
.append(String.valueOf(this.logConfigurationDetails));
+ sb.append(", storageMountConfigurationDetailsList=")
+ .append(String.valueOf(this.storageMountConfigurationDetailsList));
sb.append(", stepDetails=").append(String.valueOf(this.stepDetails));
sb.append(", freeformTags=").append(String.valueOf(this.freeformTags));
sb.append(", definedTags=").append(String.valueOf(this.definedTags));
@@ -390,6 +433,9 @@ public boolean equals(Object o) {
other.infrastructureConfigurationDetails)
&& java.util.Objects.equals(
this.logConfigurationDetails, other.logConfigurationDetails)
+ && java.util.Objects.equals(
+ this.storageMountConfigurationDetailsList,
+ other.storageMountConfigurationDetailsList)
&& java.util.Objects.equals(this.stepDetails, other.stepDetails)
&& java.util.Objects.equals(this.freeformTags, other.freeformTags)
&& java.util.Objects.equals(this.definedTags, other.definedTags)
@@ -417,6 +463,11 @@ public int hashCode() {
+ (this.logConfigurationDetails == null
? 43
: this.logConfigurationDetails.hashCode());
+ result =
+ (result * PRIME)
+ + (this.storageMountConfigurationDetailsList == null
+ ? 43
+ : this.storageMountConfigurationDetailsList.hashCode());
result = (result * PRIME) + (this.stepDetails == null ? 43 : this.stepDetails.hashCode());
result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
diff --git a/bmc-datascience/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datascience/reflect-config.json b/bmc-datascience/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datascience/reflect-config.json
index 2410a2609fa..6d1b42f97aa 100644
--- a/bmc-datascience/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datascience/reflect-config.json
+++ b/bmc-datascience/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-datascience/reflect-config.json
@@ -1534,6 +1534,62 @@
"allDeclaredMethods": true,
"allDeclaredConstructors": true
},
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.datascience.model.PipelineDataflowConfigurationDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.datascience.model.PipelineDataflowConfigurationDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.datascience.model.PipelineDataflowStepDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.datascience.model.PipelineDataflowStepDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.datascience.model.PipelineDataflowStepRun",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.datascience.model.PipelineDataflowStepRun$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.datascience.model.PipelineDataflowStepUpdateDetails",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "queryAllDeclaredConstructors": true
+ },
+ {
+ "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
+ "name": "com.oracle.bmc.datascience.model.PipelineDataflowStepUpdateDetails$Builder",
+ "allDeclaredFields": true,
+ "allDeclaredMethods": true,
+ "allDeclaredConstructors": true
+ },
{
"condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" },
"name": "com.oracle.bmc.datascience.model.PipelineDefaultConfigurationDetails",
diff --git a/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties b/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties
index 16a6e13339d..12cc5f2b07a 100644
--- a/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties
+++ b/bmc-datascience/src/main/resources/com/oracle/bmc/datascience/client.properties
@@ -3,7 +3,7 @@
# 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.
#
-java.client.codegen.version = 2.113
+java.client.codegen.version = 2.118
java.minimum.client.codegen.version.from.client = 2.100
# @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190101")
\ No newline at end of file
diff --git a/bmc-dblm/pom.xml b/bmc-dblm/pom.xml
new file mode 100644
index 00000000000..6e55edbd26e
--- /dev/null
+++ b/bmc-dblm/pom.xml
@@ -0,0 +1,21 @@
+
+
+ 4.0.0
+
+ com.oracle.oci.sdk
+ oci-java-sdk
+ 3.58.0
+ ../pom.xml
+
+ oci-java-sdk-dblm
+ Oracle Cloud Infrastructure SDK - Dblm
+ This project contains the SDK used for Oracle Cloud Infrastructure Dblm
+ https://docs.cloud.oracle.com/Content/API/SDKDocs/javasdk.htm
+
+
+ com.oracle.oci.sdk
+ oci-java-sdk-common
+ 3.58.0
+
+
+
\ No newline at end of file
diff --git a/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagement.java b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagement.java
new file mode 100644
index 00000000000..6562e887952
--- /dev/null
+++ b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagement.java
@@ -0,0 +1,275 @@
+/**
+ * Copyright (c) 2016, 2025, 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.dblm;
+
+import com.oracle.bmc.dblm.requests.*;
+import com.oracle.bmc.dblm.responses.*;
+
+/**
+ * A description of the Dblm API This service client uses
+ * CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit
+ * breaker configuration is defined by the user.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240102")
+public interface DbLifeCycleManagement extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the service.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ * Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this Region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Creates a VulnerabilityScan.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * CreateVulnerabilityScan API.
+ */
+ CreateVulnerabilityScanResponse createVulnerabilityScan(CreateVulnerabilityScanRequest request);
+
+ /**
+ * Gets a Vulnerability
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use GetVulnerability
+ * API.
+ */
+ GetVulnerabilityResponse getVulnerability(GetVulnerabilityRequest request);
+
+ /**
+ * Gets information about a VulnerabilityScan.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * GetVulnerabilityScan API.
+ */
+ GetVulnerabilityScanResponse getVulnerabilityScan(GetVulnerabilityScanRequest request);
+
+ /**
+ * Gets details of the work request with 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. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use GetWorkRequest API.
+ */
+ GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request);
+
+ /**
+ * Gets an AggregatedVulnerabilityData
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * ListAggregatedVulnerabilityData API.
+ */
+ ListAggregatedVulnerabilityDataResponse listAggregatedVulnerabilityData(
+ ListAggregatedVulnerabilityDataRequest request);
+
+ /**
+ * List of notifications
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListNotifications
+ * API.
+ */
+ ListNotificationsResponse listNotifications(ListNotificationsRequest request);
+
+ /**
+ * Gets the vulnerabilities summary list
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListVulnerabilities
+ * API.
+ */
+ ListVulnerabilitiesResponse listVulnerabilities(ListVulnerabilitiesRequest request);
+
+ /**
+ * Lists the summary of vulnerable and clean resourcees
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * ListVulnerabilityResources API.
+ */
+ ListVulnerabilityResourcesResponse listVulnerabilityResources(
+ ListVulnerabilityResourcesRequest request);
+
+ /**
+ * Gets a list of VulnerabilityScans.
+ *
+ * @param request The request object containing the details to send
+ * @return A response object containing details about the completed operation
+ * @throws BmcException when an error occurs. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * ListVulnerabilityScans API.
+ */
+ ListVulnerabilityScansResponse listVulnerabilityScans(ListVulnerabilityScansRequest request);
+
+ /**
+ * Returns a (paginated) list of errors for the work request with 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. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use
+ * ListWorkRequestErrors API.
+ */
+ ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request);
+
+ /**
+ * Returns a (paginated) list of logs for the work request with 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. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListWorkRequestLogs
+ * API.
+ */
+ ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request);
+
+ /**
+ * Lists the work requests in a 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. This operation uses
+ * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
+ * provided. The specifics of the default retry strategy are described here
+ * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
+ *
Example: Click here to see how to use ListWorkRequests
+ * API.
+ */
+ ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request);
+
+ /**
+ * Gets the pre-configured waiters available for resources for this service.
+ *
+ * @return The service waiters.
+ */
+ DbLifeCycleManagementWaiters getWaiters();
+
+ /**
+ * Gets the pre-configured paginators available for list operations in this service which may
+ * return multiple pages of data. These paginators provide an {@link java.lang.Iterable}
+ * interface so that service responses, or resources/records, can be iterated through without
+ * having to manually deal with pagination and page tokens.
+ *
+ * @return The service paginators.
+ */
+ DbLifeCycleManagementPaginators getPaginators();
+}
diff --git a/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementAsync.java b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementAsync.java
new file mode 100644
index 00000000000..e72b39ac879
--- /dev/null
+++ b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementAsync.java
@@ -0,0 +1,252 @@
+/**
+ * Copyright (c) 2016, 2025, 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.dblm;
+
+import com.oracle.bmc.dblm.requests.*;
+import com.oracle.bmc.dblm.responses.*;
+
+/** A description of the Dblm API */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240102")
+public interface DbLifeCycleManagementAsync extends AutoCloseable {
+
+ /** Rebuilds the client from scratch. Useful to refresh certificates. */
+ void refreshClient();
+
+ /**
+ * Sets the endpoint to call (ex, https://www.example.com).
+ *
+ * @param endpoint The endpoint of the serice.
+ */
+ void setEndpoint(String endpoint);
+
+ /** Gets the set endpoint for REST call (ex, https://www.example.com) */
+ String getEndpoint();
+
+ /**
+ * Sets the region to call (ex, Region.US_PHOENIX_1).
+ *
+ *
Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
+ * endpoint. If the service is not available in this region, however, an
+ * IllegalArgumentException will be raised.
+ *
+ * @param region The region of the service.
+ */
+ void setRegion(com.oracle.bmc.Region region);
+
+ /**
+ * Sets the region to call (ex, 'us-phoenix-1').
+ *
+ *
Note, this will first try to map the region ID to a known Region and call {@link
+ * #setRegion(Region) setRegion}.
+ *
+ *
If no known Region could be determined, it will create an endpoint based on the default
+ * endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
+ * and then call {@link #setEndpoint(String) setEndpoint}.
+ *
+ * @param regionId The public region ID.
+ */
+ void setRegion(String regionId);
+
+ /**
+ * Determines whether realm specific endpoint should be used or not. Set
+ * realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
+ * specific endpoint template, otherwise set it to "false"
+ *
+ * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
+ * template
+ */
+ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
+
+ /**
+ * Creates a VulnerabilityScan.
+ *
+ * @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 createVulnerabilityScan(
+ CreateVulnerabilityScanRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ CreateVulnerabilityScanRequest, CreateVulnerabilityScanResponse>
+ handler);
+
+ /**
+ * Gets a Vulnerability
+ *
+ * @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 getVulnerability(
+ GetVulnerabilityRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Gets information about a VulnerabilityScan.
+ *
+ * @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 getVulnerabilityScan(
+ GetVulnerabilityScanRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetVulnerabilityScanRequest, GetVulnerabilityScanResponse>
+ handler);
+
+ /**
+ * Gets details of the work request with 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.
+ * @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 getWorkRequest(
+ GetWorkRequestRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+
+ /**
+ * Gets an AggregatedVulnerabilityData
+ *
+ * @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
+ listAggregatedVulnerabilityData(
+ ListAggregatedVulnerabilityDataRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListAggregatedVulnerabilityDataRequest,
+ ListAggregatedVulnerabilityDataResponse>
+ handler);
+
+ /**
+ * List of notifications
+ *
+ * @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 listNotifications(
+ ListNotificationsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListNotificationsRequest, ListNotificationsResponse>
+ handler);
+
+ /**
+ * Gets the vulnerabilities summary list
+ *
+ * @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 listVulnerabilities(
+ ListVulnerabilitiesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListVulnerabilitiesRequest, ListVulnerabilitiesResponse>
+ handler);
+
+ /**
+ * Lists the summary of vulnerable and clean resourcees
+ *
+ * @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 listVulnerabilityResources(
+ ListVulnerabilityResourcesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListVulnerabilityResourcesRequest, ListVulnerabilityResourcesResponse>
+ handler);
+
+ /**
+ * Gets a list of VulnerabilityScans.
+ *
+ * @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 listVulnerabilityScans(
+ ListVulnerabilityScansRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListVulnerabilityScansRequest, ListVulnerabilityScansResponse>
+ handler);
+
+ /**
+ * Returns a (paginated) list of errors for the work request with 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.
+ * @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 listWorkRequestErrors(
+ ListWorkRequestErrorsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListWorkRequestErrorsRequest, ListWorkRequestErrorsResponse>
+ handler);
+
+ /**
+ * Returns a (paginated) list of logs for the work request with 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.
+ * @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 listWorkRequestLogs(
+ ListWorkRequestLogsRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListWorkRequestLogsRequest, ListWorkRequestLogsResponse>
+ handler);
+
+ /**
+ * Lists the work requests in a compartment.
+ *
+ * @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 listWorkRequests(
+ ListWorkRequestsRequest request,
+ com.oracle.bmc.responses.AsyncHandler
+ handler);
+}
diff --git a/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementAsyncClient.java b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementAsyncClient.java
new file mode 100644
index 00000000000..7d2a918e1c5
--- /dev/null
+++ b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementAsyncClient.java
@@ -0,0 +1,681 @@
+/**
+ * Copyright (c) 2016, 2025, 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.dblm;
+
+import com.oracle.bmc.util.internal.Validate;
+import com.oracle.bmc.dblm.requests.*;
+import com.oracle.bmc.dblm.responses.*;
+
+import java.util.Objects;
+
+/**
+ * Async client implementation for DbLifeCycleManagement service.
+ * There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
+ * to the call is an {@link java.io.InputStream}, like getObject Api in object storage service,
+ * developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
+ * will be closed right after the AsyncHandler is invoked.
+ * 2. Use Java Future: using Java Future, developers need to close the stream after they are done
+ * with the Java Future.
+ * Accessing the result should be done in a mutually exclusive manner, either through the Future or
+ * the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
+ * AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
+ * whether or not the request was completed via Future.isDone/isCancelled.
+ * Please refer to
+ * https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240102")
+public class DbLifeCycleManagementAsyncClient extends com.oracle.bmc.http.internal.BaseAsyncClient
+ implements DbLifeCycleManagementAsync {
+ /** Service instance for DbLifeCycleManagement. */
+ public static final com.oracle.bmc.Service SERVICE =
+ com.oracle.bmc.Services.serviceBuilder()
+ .serviceName("DBLIFECYCLEMANAGEMENT")
+ .serviceEndpointPrefix("")
+ .serviceEndpointTemplate("https://dbmgmt.{region}.oci.{secondLevelDomain}")
+ .build();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(DbLifeCycleManagementAsyncClient.class);
+
+ DbLifeCycleManagementAsyncClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ super(builder, authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a builder for this client.
+ *
+ * @return builder
+ */
+ public static Builder builder() {
+ return new Builder(SERVICE);
+ }
+
+ /**
+ * Builder class for this client. The "authenticationDetailsProvider" is required and must be
+ * passed to the {@link #build(AbstractAuthenticationDetailsProvider)} method.
+ */
+ public static class Builder
+ extends com.oracle.bmc.common.RegionalClientBuilder<
+ Builder, DbLifeCycleManagementAsyncClient> {
+ private Builder(com.oracle.bmc.Service service) {
+ super(service);
+ final String packageName = "dblm";
+ com.oracle.bmc.internal.Alloy.throwDisabledServiceExceptionIfAppropriate(packageName);
+ requestSignerFactory =
+ new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory(
+ com.oracle.bmc.http.signing.SigningStrategy.STANDARD);
+ }
+
+ /**
+ * Build the client.
+ *
+ * @param authenticationDetailsProvider authentication details provider
+ * @return the client
+ */
+ public DbLifeCycleManagementAsyncClient build(
+ @jakarta.annotation.Nonnull
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ return new DbLifeCycleManagementAsyncClient(this, authenticationDetailsProvider);
+ }
+ }
+
+ @Override
+ public void setRegion(com.oracle.bmc.Region region) {
+ super.setRegion(region);
+ }
+
+ @Override
+ public void setRegion(String regionId) {
+ super.setRegion(regionId);
+ }
+
+ @Override
+ public java.util.concurrent.Future createVulnerabilityScan(
+ CreateVulnerabilityScanRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ CreateVulnerabilityScanRequest, CreateVulnerabilityScanResponse>
+ handler) {
+ Objects.requireNonNull(
+ request.getCreateVulnerabilityScanDetails(),
+ "createVulnerabilityScanDetails is required");
+
+ return clientCall(request, CreateVulnerabilityScanResponse::builder)
+ .logger(LOG, "createVulnerabilityScan")
+ .serviceDetails("DbLifeCycleManagement", "CreateVulnerabilityScan", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateVulnerabilityScanRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerabilityScans")
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityScan.class,
+ CreateVulnerabilityScanResponse.Builder::vulnerabilityScan)
+ .handleResponseHeaderString(
+ "location", CreateVulnerabilityScanResponse.Builder::location)
+ .handleResponseHeaderString(
+ "content-location",
+ CreateVulnerabilityScanResponse.Builder::contentLocation)
+ .handleResponseHeaderString("etag", CreateVulnerabilityScanResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CreateVulnerabilityScanResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", CreateVulnerabilityScanResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future getVulnerability(
+ GetVulnerabilityRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetVulnerabilityRequest, GetVulnerabilityResponse>
+ handler) {
+ Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required");
+
+ return clientCall(request, GetVulnerabilityResponse::builder)
+ .logger(LOG, "getVulnerability")
+ .serviceDetails("DbLifeCycleManagement", "GetVulnerability", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetVulnerabilityRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("databaseRelease", request.getDatabaseRelease())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.DblmVulnerability.class,
+ GetVulnerabilityResponse.Builder::dblmVulnerability)
+ .handleResponseHeaderString("etag", GetVulnerabilityResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetVulnerabilityResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future getVulnerabilityScan(
+ GetVulnerabilityScanRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetVulnerabilityScanRequest, GetVulnerabilityScanResponse>
+ handler) {
+
+ Validate.notBlank(
+ request.getVulnerabilityScanId(), "vulnerabilityScanId must not be blank");
+
+ return clientCall(request, GetVulnerabilityScanResponse::builder)
+ .logger(LOG, "getVulnerabilityScan")
+ .serviceDetails("DbLifeCycleManagement", "GetVulnerabilityScan", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetVulnerabilityScanRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerabilityScans")
+ .appendPathParam(request.getVulnerabilityScanId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityScan.class,
+ GetVulnerabilityScanResponse.Builder::vulnerabilityScan)
+ .handleResponseHeaderString("etag", GetVulnerabilityScanResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetVulnerabilityScanResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future getWorkRequest(
+ GetWorkRequestRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ GetWorkRequestRequest, GetWorkRequestResponse>
+ handler) {
+
+ Validate.notBlank(request.getWorkRequestId(), "workRequestId must not be blank");
+
+ return clientCall(request, GetWorkRequestResponse::builder)
+ .logger(LOG, "getWorkRequest")
+ .serviceDetails("DbLifeCycleManagement", "GetWorkRequest", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetWorkRequestRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("workRequests")
+ .appendPathParam(request.getWorkRequestId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.WorkRequest.class,
+ GetWorkRequestResponse.Builder::workRequest)
+ .handleResponseHeaderString("etag", GetWorkRequestResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetWorkRequestResponse.Builder::opcRequestId)
+ .handleResponseHeaderInteger(
+ "retry-after", GetWorkRequestResponse.Builder::retryAfter)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ listAggregatedVulnerabilityData(
+ ListAggregatedVulnerabilityDataRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListAggregatedVulnerabilityDataRequest,
+ ListAggregatedVulnerabilityDataResponse>
+ handler) {
+
+ return clientCall(request, ListAggregatedVulnerabilityDataResponse::builder)
+ .logger(LOG, "listAggregatedVulnerabilityData")
+ .serviceDetails("DbLifeCycleManagement", "ListAggregatedVulnerabilityData", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListAggregatedVulnerabilityDataRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendPathParam("aggregatedVulnerabilityData")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("timeCreatedGreaterThan", request.getTimeCreatedGreaterThan())
+ .appendQueryParam("timeEndedLessThan", request.getTimeEndedLessThan())
+ .appendQueryParam("databaseRelease", request.getDatabaseRelease())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.AggregatedVulnerabilityCollection.class,
+ ListAggregatedVulnerabilityDataResponse.Builder
+ ::aggregatedVulnerabilityCollection)
+ .handleResponseHeaderString(
+ "etag", ListAggregatedVulnerabilityDataResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ListAggregatedVulnerabilityDataResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listNotifications(
+ ListNotificationsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListNotificationsRequest, ListNotificationsResponse>
+ handler) {
+ Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required");
+
+ return clientCall(request, ListNotificationsResponse::builder)
+ .logger(LOG, "listNotifications")
+ .serviceDetails("DbLifeCycleManagement", "ListNotifications", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListNotificationsRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendPathParam("notifications")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.NotificationCollection.class,
+ ListNotificationsResponse.Builder::notificationCollection)
+ .handleResponseHeaderString(
+ "opc-next-page", ListNotificationsResponse.Builder::opcNextPage)
+ .handleResponseHeaderString(
+ "opc-request-id", ListNotificationsResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listVulnerabilities(
+ ListVulnerabilitiesRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListVulnerabilitiesRequest, ListVulnerabilitiesResponse>
+ handler) {
+
+ return clientCall(request, ListVulnerabilitiesResponse::builder)
+ .logger(LOG, "listVulnerabilities")
+ .serviceDetails("DbLifeCycleManagement", "ListVulnerabilities", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListVulnerabilitiesRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendPathParam("vulnerabilities")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("databaseRelease", request.getDatabaseRelease())
+ .appendQueryParam("resourceId", request.getResourceId())
+ .appendListQueryParam(
+ "severityType",
+ request.getSeverityType(),
+ com.oracle.bmc.util.internal.CollectionFormatType.Multi)
+ .appendQueryParam("searchBy", request.getSearchBy())
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityCollection.class,
+ ListVulnerabilitiesResponse.Builder::vulnerabilityCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListVulnerabilitiesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListVulnerabilitiesResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ listVulnerabilityResources(
+ ListVulnerabilityResourcesRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListVulnerabilityResourcesRequest,
+ ListVulnerabilityResourcesResponse>
+ handler) {
+ Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required");
+
+ return clientCall(request, ListVulnerabilityResourcesResponse::builder)
+ .logger(LOG, "listVulnerabilityResources")
+ .serviceDetails("DbLifeCycleManagement", "ListVulnerabilityResources", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListVulnerabilityResourcesRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendPathParam("resources")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("databaseRelease", request.getDatabaseRelease())
+ .appendQueryParam("cveId", request.getCveId())
+ .appendListQueryParam(
+ "severityType",
+ request.getSeverityType(),
+ com.oracle.bmc.util.internal.CollectionFormatType.Multi)
+ .appendListQueryParam(
+ "patchRecommendation",
+ request.getPatchRecommendation(),
+ com.oracle.bmc.util.internal.CollectionFormatType.Multi)
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityResourceCollection.class,
+ ListVulnerabilityResourcesResponse.Builder::vulnerabilityResourceCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListVulnerabilityResourcesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListVulnerabilityResourcesResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listVulnerabilityScans(
+ ListVulnerabilityScansRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListVulnerabilityScansRequest, ListVulnerabilityScansResponse>
+ handler) {
+
+ return clientCall(request, ListVulnerabilityScansResponse::builder)
+ .logger(LOG, "listVulnerabilityScans")
+ .serviceDetails("DbLifeCycleManagement", "ListVulnerabilityScans", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListVulnerabilityScansRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerabilityScans")
+ .appendQueryParam("vulnerabilityScanId", request.getVulnerabilityScanId())
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendQueryParam("timeCreatedGreaterThan", request.getTimeCreatedGreaterThan())
+ .appendQueryParam("timeEndedLessThan", request.getTimeEndedLessThan())
+ .appendListQueryParam(
+ "vulnerabilityScanStatus",
+ request.getVulnerabilityScanStatus(),
+ com.oracle.bmc.util.internal.CollectionFormatType.Multi)
+ .appendEnumQueryParam("vulnerabilityScanType", request.getVulnerabilityScanType())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityScanCollection.class,
+ ListVulnerabilityScansResponse.Builder::vulnerabilityScanCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListVulnerabilityScansResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListVulnerabilityScansResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listWorkRequestErrors(
+ ListWorkRequestErrorsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListWorkRequestErrorsRequest, ListWorkRequestErrorsResponse>
+ handler) {
+
+ Validate.notBlank(request.getWorkRequestId(), "workRequestId must not be blank");
+
+ return clientCall(request, ListWorkRequestErrorsResponse::builder)
+ .logger(LOG, "listWorkRequestErrors")
+ .serviceDetails("DbLifeCycleManagement", "ListWorkRequestErrors", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListWorkRequestErrorsRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("workRequests")
+ .appendPathParam(request.getWorkRequestId())
+ .appendPathParam("errors")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.WorkRequestErrorCollection.class,
+ ListWorkRequestErrorsResponse.Builder::workRequestErrorCollection)
+ .handleResponseHeaderString(
+ "opc-next-page", ListWorkRequestErrorsResponse.Builder::opcNextPage)
+ .handleResponseHeaderString(
+ "opc-request-id", ListWorkRequestErrorsResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listWorkRequestLogs(
+ ListWorkRequestLogsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListWorkRequestLogsRequest, ListWorkRequestLogsResponse>
+ handler) {
+
+ Validate.notBlank(request.getWorkRequestId(), "workRequestId must not be blank");
+
+ return clientCall(request, ListWorkRequestLogsResponse::builder)
+ .logger(LOG, "listWorkRequestLogs")
+ .serviceDetails("DbLifeCycleManagement", "ListWorkRequestLogs", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListWorkRequestLogsRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("workRequests")
+ .appendPathParam(request.getWorkRequestId())
+ .appendPathParam("logs")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.WorkRequestLogEntryCollection.class,
+ ListWorkRequestLogsResponse.Builder::workRequestLogEntryCollection)
+ .handleResponseHeaderString(
+ "opc-next-page", ListWorkRequestLogsResponse.Builder::opcNextPage)
+ .handleResponseHeaderString(
+ "opc-request-id", ListWorkRequestLogsResponse.Builder::opcRequestId)
+ .callAsync(handler);
+ }
+
+ @Override
+ public java.util.concurrent.Future listWorkRequests(
+ ListWorkRequestsRequest request,
+ final com.oracle.bmc.responses.AsyncHandler<
+ ListWorkRequestsRequest, ListWorkRequestsResponse>
+ handler) {
+
+ return clientCall(request, ListWorkRequestsResponse::builder)
+ .logger(LOG, "listWorkRequests")
+ .serviceDetails("DbLifeCycleManagement", "ListWorkRequests", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListWorkRequestsRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("workRequests")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("workRequestId", request.getWorkRequestId())
+ .appendEnumQueryParam("status", request.getStatus())
+ .appendQueryParam("resourceId", request.getResourceId())
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .handleBody(
+ com.oracle.bmc.dblm.model.WorkRequestSummaryCollection.class,
+ ListWorkRequestsResponse.Builder::workRequestSummaryCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListWorkRequestsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListWorkRequestsResponse.Builder::opcNextPage)
+ .callAsync(handler);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider) {
+ this(builder(), authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration) {
+ this(builder().configuration(configuration), authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementAsyncClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator) {
+ this(
+ builder().configuration(configuration).clientConfigurator(clientConfigurator),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint),
+ authenticationDetailsProvider);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementAsyncClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider);
+ }
+}
diff --git a/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementClient.java b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementClient.java
new file mode 100644
index 00000000000..57a70dec245
--- /dev/null
+++ b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementClient.java
@@ -0,0 +1,730 @@
+/**
+ * Copyright (c) 2016, 2025, 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.dblm;
+
+import com.oracle.bmc.util.internal.Validate;
+import com.oracle.bmc.dblm.requests.*;
+import com.oracle.bmc.dblm.responses.*;
+import com.oracle.bmc.circuitbreaker.CircuitBreakerConfiguration;
+import com.oracle.bmc.util.CircuitBreakerUtils;
+
+import java.util.Objects;
+
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240102")
+public class DbLifeCycleManagementClient extends com.oracle.bmc.http.internal.BaseSyncClient
+ implements DbLifeCycleManagement {
+ /** Service instance for DbLifeCycleManagement. */
+ public static final com.oracle.bmc.Service SERVICE =
+ com.oracle.bmc.Services.serviceBuilder()
+ .serviceName("DBLIFECYCLEMANAGEMENT")
+ .serviceEndpointPrefix("")
+ .serviceEndpointTemplate("https://dbmgmt.{region}.oci.{secondLevelDomain}")
+ .build();
+
+ private static final org.slf4j.Logger LOG =
+ org.slf4j.LoggerFactory.getLogger(DbLifeCycleManagementClient.class);
+
+ private final DbLifeCycleManagementWaiters waiters;
+
+ private final DbLifeCycleManagementPaginators paginators;
+
+ DbLifeCycleManagementClient(
+ com.oracle.bmc.common.ClientBuilderBase, ?> builder,
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ java.util.concurrent.ExecutorService executorService) {
+ super(
+ builder,
+ authenticationDetailsProvider,
+ CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER_CONFIGURATION);
+
+ if (executorService == null) {
+ // up to 50 (core) threads, time out after 60s idle, all daemon
+ java.util.concurrent.ThreadPoolExecutor threadPoolExecutor =
+ new java.util.concurrent.ThreadPoolExecutor(
+ 50,
+ 50,
+ 60L,
+ java.util.concurrent.TimeUnit.SECONDS,
+ new java.util.concurrent.LinkedBlockingQueue(),
+ com.oracle.bmc.internal.ClientThreadFactory.builder()
+ .isDaemon(true)
+ .nameFormat("DbLifeCycleManagement-waiters-%d")
+ .build());
+ threadPoolExecutor.allowCoreThreadTimeOut(true);
+
+ executorService = threadPoolExecutor;
+ }
+ this.waiters = new DbLifeCycleManagementWaiters(executorService, this);
+
+ this.paginators = new DbLifeCycleManagementPaginators(this);
+ }
+
+ /**
+ * Create a builder for this client.
+ *
+ * @return builder
+ */
+ public static Builder builder() {
+ return new Builder(SERVICE);
+ }
+
+ /**
+ * Builder class for this client. The "authenticationDetailsProvider" is required and must be
+ * passed to the {@link #build(AbstractAuthenticationDetailsProvider)} method.
+ */
+ public static class Builder
+ extends com.oracle.bmc.common.RegionalClientBuilder<
+ Builder, DbLifeCycleManagementClient> {
+ private java.util.concurrent.ExecutorService executorService;
+
+ private Builder(com.oracle.bmc.Service service) {
+ super(service);
+ final String packageName = "dblm";
+ com.oracle.bmc.internal.Alloy.throwDisabledServiceExceptionIfAppropriate(packageName);
+ requestSignerFactory =
+ new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory(
+ com.oracle.bmc.http.signing.SigningStrategy.STANDARD);
+ }
+
+ /**
+ * Set the ExecutorService for the client to be created.
+ *
+ * @param executorService executorService
+ * @return this builder
+ */
+ public Builder executorService(java.util.concurrent.ExecutorService executorService) {
+ this.executorService = executorService;
+ return this;
+ }
+
+ /**
+ * Build the client.
+ *
+ * @param authenticationDetailsProvider authentication details provider
+ * @return the client
+ */
+ public DbLifeCycleManagementClient build(
+ @jakarta.annotation.Nonnull
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider
+ authenticationDetailsProvider) {
+ return new DbLifeCycleManagementClient(
+ this, authenticationDetailsProvider, executorService);
+ }
+ }
+
+ @Override
+ public void setRegion(com.oracle.bmc.Region region) {
+ super.setRegion(region);
+ }
+
+ @Override
+ public void setRegion(String regionId) {
+ super.setRegion(regionId);
+ }
+
+ @Override
+ public CreateVulnerabilityScanResponse createVulnerabilityScan(
+ CreateVulnerabilityScanRequest request) {
+ Objects.requireNonNull(
+ request.getCreateVulnerabilityScanDetails(),
+ "createVulnerabilityScanDetails is required");
+
+ return clientCall(request, CreateVulnerabilityScanResponse::builder)
+ .logger(LOG, "createVulnerabilityScan")
+ .serviceDetails("DbLifeCycleManagement", "CreateVulnerabilityScan", "")
+ .method(com.oracle.bmc.http.client.Method.POST)
+ .requestBuilder(CreateVulnerabilityScanRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerabilityScans")
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .hasBody()
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityScan.class,
+ CreateVulnerabilityScanResponse.Builder::vulnerabilityScan)
+ .handleResponseHeaderString(
+ "location", CreateVulnerabilityScanResponse.Builder::location)
+ .handleResponseHeaderString(
+ "content-location",
+ CreateVulnerabilityScanResponse.Builder::contentLocation)
+ .handleResponseHeaderString("etag", CreateVulnerabilityScanResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-work-request-id",
+ CreateVulnerabilityScanResponse.Builder::opcWorkRequestId)
+ .handleResponseHeaderString(
+ "opc-request-id", CreateVulnerabilityScanResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public GetVulnerabilityResponse getVulnerability(GetVulnerabilityRequest request) {
+ Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required");
+
+ return clientCall(request, GetVulnerabilityResponse::builder)
+ .logger(LOG, "getVulnerability")
+ .serviceDetails("DbLifeCycleManagement", "GetVulnerability", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetVulnerabilityRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("databaseRelease", request.getDatabaseRelease())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.DblmVulnerability.class,
+ GetVulnerabilityResponse.Builder::dblmVulnerability)
+ .handleResponseHeaderString("etag", GetVulnerabilityResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetVulnerabilityResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public GetVulnerabilityScanResponse getVulnerabilityScan(GetVulnerabilityScanRequest request) {
+
+ Validate.notBlank(
+ request.getVulnerabilityScanId(), "vulnerabilityScanId must not be blank");
+
+ return clientCall(request, GetVulnerabilityScanResponse::builder)
+ .logger(LOG, "getVulnerabilityScan")
+ .serviceDetails("DbLifeCycleManagement", "GetVulnerabilityScan", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetVulnerabilityScanRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerabilityScans")
+ .appendPathParam(request.getVulnerabilityScanId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityScan.class,
+ GetVulnerabilityScanResponse.Builder::vulnerabilityScan)
+ .handleResponseHeaderString("etag", GetVulnerabilityScanResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetVulnerabilityScanResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) {
+
+ Validate.notBlank(request.getWorkRequestId(), "workRequestId must not be blank");
+
+ return clientCall(request, GetWorkRequestResponse::builder)
+ .logger(LOG, "getWorkRequest")
+ .serviceDetails("DbLifeCycleManagement", "GetWorkRequest", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(GetWorkRequestRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("workRequests")
+ .appendPathParam(request.getWorkRequestId())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.WorkRequest.class,
+ GetWorkRequestResponse.Builder::workRequest)
+ .handleResponseHeaderString("etag", GetWorkRequestResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id", GetWorkRequestResponse.Builder::opcRequestId)
+ .handleResponseHeaderInteger(
+ "retry-after", GetWorkRequestResponse.Builder::retryAfter)
+ .callSync();
+ }
+
+ @Override
+ public ListAggregatedVulnerabilityDataResponse listAggregatedVulnerabilityData(
+ ListAggregatedVulnerabilityDataRequest request) {
+
+ return clientCall(request, ListAggregatedVulnerabilityDataResponse::builder)
+ .logger(LOG, "listAggregatedVulnerabilityData")
+ .serviceDetails("DbLifeCycleManagement", "ListAggregatedVulnerabilityData", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListAggregatedVulnerabilityDataRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendPathParam("aggregatedVulnerabilityData")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("timeCreatedGreaterThan", request.getTimeCreatedGreaterThan())
+ .appendQueryParam("timeEndedLessThan", request.getTimeEndedLessThan())
+ .appendQueryParam("databaseRelease", request.getDatabaseRelease())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.AggregatedVulnerabilityCollection.class,
+ ListAggregatedVulnerabilityDataResponse.Builder
+ ::aggregatedVulnerabilityCollection)
+ .handleResponseHeaderString(
+ "etag", ListAggregatedVulnerabilityDataResponse.Builder::etag)
+ .handleResponseHeaderString(
+ "opc-request-id",
+ ListAggregatedVulnerabilityDataResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public ListNotificationsResponse listNotifications(ListNotificationsRequest request) {
+ Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required");
+
+ return clientCall(request, ListNotificationsResponse::builder)
+ .logger(LOG, "listNotifications")
+ .serviceDetails("DbLifeCycleManagement", "ListNotifications", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListNotificationsRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendPathParam("notifications")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.NotificationCollection.class,
+ ListNotificationsResponse.Builder::notificationCollection)
+ .handleResponseHeaderString(
+ "opc-next-page", ListNotificationsResponse.Builder::opcNextPage)
+ .handleResponseHeaderString(
+ "opc-request-id", ListNotificationsResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public ListVulnerabilitiesResponse listVulnerabilities(ListVulnerabilitiesRequest request) {
+
+ return clientCall(request, ListVulnerabilitiesResponse::builder)
+ .logger(LOG, "listVulnerabilities")
+ .serviceDetails("DbLifeCycleManagement", "ListVulnerabilities", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListVulnerabilitiesRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendPathParam("vulnerabilities")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("databaseRelease", request.getDatabaseRelease())
+ .appendQueryParam("resourceId", request.getResourceId())
+ .appendListQueryParam(
+ "severityType",
+ request.getSeverityType(),
+ com.oracle.bmc.util.internal.CollectionFormatType.Multi)
+ .appendQueryParam("searchBy", request.getSearchBy())
+ .accept("application/json")
+ .appendHeader("opc-retry-token", request.getOpcRetryToken())
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityCollection.class,
+ ListVulnerabilitiesResponse.Builder::vulnerabilityCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListVulnerabilitiesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListVulnerabilitiesResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public ListVulnerabilityResourcesResponse listVulnerabilityResources(
+ ListVulnerabilityResourcesRequest request) {
+ Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required");
+
+ return clientCall(request, ListVulnerabilityResourcesResponse::builder)
+ .logger(LOG, "listVulnerabilityResources")
+ .serviceDetails("DbLifeCycleManagement", "ListVulnerabilityResources", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListVulnerabilityResourcesRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerability")
+ .appendPathParam("resources")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendEnumQueryParam("lifecycleState", request.getLifecycleState())
+ .appendQueryParam("databaseRelease", request.getDatabaseRelease())
+ .appendQueryParam("cveId", request.getCveId())
+ .appendListQueryParam(
+ "severityType",
+ request.getSeverityType(),
+ com.oracle.bmc.util.internal.CollectionFormatType.Multi)
+ .appendListQueryParam(
+ "patchRecommendation",
+ request.getPatchRecommendation(),
+ com.oracle.bmc.util.internal.CollectionFormatType.Multi)
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityResourceCollection.class,
+ ListVulnerabilityResourcesResponse.Builder::vulnerabilityResourceCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListVulnerabilityResourcesResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListVulnerabilityResourcesResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public ListVulnerabilityScansResponse listVulnerabilityScans(
+ ListVulnerabilityScansRequest request) {
+
+ return clientCall(request, ListVulnerabilityScansResponse::builder)
+ .logger(LOG, "listVulnerabilityScans")
+ .serviceDetails("DbLifeCycleManagement", "ListVulnerabilityScans", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListVulnerabilityScansRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("vulnerabilityScans")
+ .appendQueryParam("vulnerabilityScanId", request.getVulnerabilityScanId())
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("displayName", request.getDisplayName())
+ .appendQueryParam("limit", request.getLimit())
+ .appendQueryParam("page", request.getPage())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendQueryParam("timeCreatedGreaterThan", request.getTimeCreatedGreaterThan())
+ .appendQueryParam("timeEndedLessThan", request.getTimeEndedLessThan())
+ .appendListQueryParam(
+ "vulnerabilityScanStatus",
+ request.getVulnerabilityScanStatus(),
+ com.oracle.bmc.util.internal.CollectionFormatType.Multi)
+ .appendEnumQueryParam("vulnerabilityScanType", request.getVulnerabilityScanType())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.VulnerabilityScanCollection.class,
+ ListVulnerabilityScansResponse.Builder::vulnerabilityScanCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListVulnerabilityScansResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListVulnerabilityScansResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public ListWorkRequestErrorsResponse listWorkRequestErrors(
+ ListWorkRequestErrorsRequest request) {
+
+ Validate.notBlank(request.getWorkRequestId(), "workRequestId must not be blank");
+
+ return clientCall(request, ListWorkRequestErrorsResponse::builder)
+ .logger(LOG, "listWorkRequestErrors")
+ .serviceDetails("DbLifeCycleManagement", "ListWorkRequestErrors", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListWorkRequestErrorsRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("workRequests")
+ .appendPathParam(request.getWorkRequestId())
+ .appendPathParam("errors")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.WorkRequestErrorCollection.class,
+ ListWorkRequestErrorsResponse.Builder::workRequestErrorCollection)
+ .handleResponseHeaderString(
+ "opc-next-page", ListWorkRequestErrorsResponse.Builder::opcNextPage)
+ .handleResponseHeaderString(
+ "opc-request-id", ListWorkRequestErrorsResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) {
+
+ Validate.notBlank(request.getWorkRequestId(), "workRequestId must not be blank");
+
+ return clientCall(request, ListWorkRequestLogsResponse::builder)
+ .logger(LOG, "listWorkRequestLogs")
+ .serviceDetails("DbLifeCycleManagement", "ListWorkRequestLogs", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListWorkRequestLogsRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("workRequests")
+ .appendPathParam(request.getWorkRequestId())
+ .appendPathParam("logs")
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.WorkRequestLogEntryCollection.class,
+ ListWorkRequestLogsResponse.Builder::workRequestLogEntryCollection)
+ .handleResponseHeaderString(
+ "opc-next-page", ListWorkRequestLogsResponse.Builder::opcNextPage)
+ .handleResponseHeaderString(
+ "opc-request-id", ListWorkRequestLogsResponse.Builder::opcRequestId)
+ .callSync();
+ }
+
+ @Override
+ public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) {
+
+ return clientCall(request, ListWorkRequestsResponse::builder)
+ .logger(LOG, "listWorkRequests")
+ .serviceDetails("DbLifeCycleManagement", "ListWorkRequests", "")
+ .method(com.oracle.bmc.http.client.Method.GET)
+ .requestBuilder(ListWorkRequestsRequest::builder)
+ .basePath("/20240102")
+ .appendPathParam("workRequests")
+ .appendQueryParam("compartmentId", request.getCompartmentId())
+ .appendQueryParam("workRequestId", request.getWorkRequestId())
+ .appendEnumQueryParam("status", request.getStatus())
+ .appendQueryParam("resourceId", request.getResourceId())
+ .appendQueryParam("page", request.getPage())
+ .appendQueryParam("limit", request.getLimit())
+ .appendEnumQueryParam("sortOrder", request.getSortOrder())
+ .appendEnumQueryParam("sortBy", request.getSortBy())
+ .accept("application/json")
+ .appendHeader("opc-request-id", request.getOpcRequestId())
+ .operationUsesDefaultRetries()
+ .handleBody(
+ com.oracle.bmc.dblm.model.WorkRequestSummaryCollection.class,
+ ListWorkRequestsResponse.Builder::workRequestSummaryCollection)
+ .handleResponseHeaderString(
+ "opc-request-id", ListWorkRequestsResponse.Builder::opcRequestId)
+ .handleResponseHeaderString(
+ "opc-next-page", ListWorkRequestsResponse.Builder::opcNextPage)
+ .callSync();
+ }
+
+ @Override
+ public DbLifeCycleManagementWaiters getWaiters() {
+ return waiters;
+ }
+
+ @Override
+ public DbLifeCycleManagementPaginators getPaginators() {
+ return paginators;
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider) {
+ this(builder(), authenticationDetailsProvider, null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration) {
+ this(builder().configuration(configuration), authenticationDetailsProvider, null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementClient(
+ com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator) {
+ this(
+ builder().configuration(configuration).clientConfigurator(clientConfigurator),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider,
+ null);
+ }
+
+ /**
+ * Create a new client instance.
+ *
+ * @param authenticationDetailsProvider The authentication details (see {@link Builder#build})
+ * @param configuration {@link Builder#configuration}
+ * @param clientConfigurator {@link Builder#clientConfigurator}
+ * @param defaultRequestSignerFactory {@link Builder#requestSignerFactory}
+ * @param additionalClientConfigurators {@link Builder#additionalClientConfigurators}
+ * @param endpoint {@link Builder#endpoint}
+ * @param signingStrategyRequestSignerFactories {@link
+ * Builder#signingStrategyRequestSignerFactories}
+ * @param executorService {@link Builder#executorService}
+ * @deprecated Use the {@link #builder() builder} instead.
+ */
+ @Deprecated
+ public DbLifeCycleManagementClient(
+ com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
+ com.oracle.bmc.ClientConfiguration configuration,
+ com.oracle.bmc.http.ClientConfigurator clientConfigurator,
+ com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
+ java.util.Map<
+ com.oracle.bmc.http.signing.SigningStrategy,
+ com.oracle.bmc.http.signing.RequestSignerFactory>
+ signingStrategyRequestSignerFactories,
+ java.util.List additionalClientConfigurators,
+ String endpoint,
+ java.util.concurrent.ExecutorService executorService) {
+ this(
+ builder()
+ .configuration(configuration)
+ .clientConfigurator(clientConfigurator)
+ .requestSignerFactory(defaultRequestSignerFactory)
+ .additionalClientConfigurators(additionalClientConfigurators)
+ .endpoint(endpoint)
+ .signingStrategyRequestSignerFactories(
+ signingStrategyRequestSignerFactories),
+ authenticationDetailsProvider,
+ executorService);
+ }
+}
diff --git a/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementPaginators.java b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementPaginators.java
new file mode 100644
index 00000000000..182b89e3327
--- /dev/null
+++ b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementPaginators.java
@@ -0,0 +1,762 @@
+/**
+ * Copyright (c) 2016, 2025, 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.dblm;
+
+import com.oracle.bmc.dblm.requests.*;
+import com.oracle.bmc.dblm.responses.*;
+
+/**
+ * Collection of helper methods that can be used to provide an {@link java.lang.Iterable} interface
+ * to any list operations of DbLifeCycleManagement where multiple pages of data may be fetched. Two
+ * styles of iteration are supported:
+ *
+ *
+ * - Iterating over the Response objects returned by the list operation. These are referred to
+ * as ResponseIterators, and the methods are suffixed with ResponseIterator. For example:
+ * listUsersResponseIterator
+ *
- Iterating over the resources/records being listed. These are referred to as
+ * RecordIterators, and the methods are suffixed with RecordIterator. For example:
+ * listUsersRecordIterator
+ *
+ *
+ * These iterables abstract away the need to write code to manually handle pagination via looping
+ * and using the page tokens. They will automatically fetch more data from the service when
+ * required.
+ *
+ * As an example, if we were using the ListUsers operation in IdentityService, then the {@link
+ * java.lang.Iterable} returned by calling a ResponseIterator method would iterate over the
+ * ListUsersResponse objects returned by each ListUsers call, whereas the {@link java.lang.Iterable}
+ * returned by calling a RecordIterator method would iterate over the User records and we don't have
+ * to deal with ListUsersResponse objects at all. In either case, pagination will be automatically
+ * handled so we can iterate until there are no more responses or no more resources/records
+ * available.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240102")
+public class DbLifeCycleManagementPaginators {
+ private final DbLifeCycleManagement client;
+
+ public DbLifeCycleManagementPaginators(DbLifeCycleManagement client) {
+ this.client = client;
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listVulnerabilities 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 listVulnerabilitiesResponseIterator(
+ final ListVulnerabilitiesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListVulnerabilitiesRequest.Builder,
+ ListVulnerabilitiesRequest,
+ ListVulnerabilitiesResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListVulnerabilitiesRequest.Builder get() {
+ return ListVulnerabilitiesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListVulnerabilitiesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilitiesRequest.Builder>,
+ ListVulnerabilitiesRequest>() {
+ @Override
+ public ListVulnerabilitiesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilitiesRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListVulnerabilitiesRequest, ListVulnerabilitiesResponse>() {
+ @Override
+ public ListVulnerabilitiesResponse apply(ListVulnerabilitiesRequest request) {
+ return client.listVulnerabilities(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.dblm.model.VulnerabilitySummary} objects contained in responses from the
+ * listVulnerabilities 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.dblm.model.VulnerabilitySummary} objects contained in responses received
+ * from the service.
+ */
+ public Iterable
+ listVulnerabilitiesRecordIterator(final ListVulnerabilitiesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListVulnerabilitiesRequest.Builder,
+ ListVulnerabilitiesRequest,
+ ListVulnerabilitiesResponse,
+ com.oracle.bmc.dblm.model.VulnerabilitySummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListVulnerabilitiesRequest.Builder get() {
+ return ListVulnerabilitiesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListVulnerabilitiesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilitiesRequest.Builder>,
+ ListVulnerabilitiesRequest>() {
+ @Override
+ public ListVulnerabilitiesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilitiesRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListVulnerabilitiesRequest, ListVulnerabilitiesResponse>() {
+ @Override
+ public ListVulnerabilitiesResponse apply(ListVulnerabilitiesRequest request) {
+ return client.listVulnerabilities(request);
+ }
+ },
+ new java.util.function.Function<
+ ListVulnerabilitiesResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List apply(
+ ListVulnerabilitiesResponse response) {
+ return response.getVulnerabilityCollection().getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listVulnerabilityResources 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 listVulnerabilityResourcesResponseIterator(
+ final ListVulnerabilityResourcesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListVulnerabilityResourcesRequest.Builder,
+ ListVulnerabilityResourcesRequest,
+ ListVulnerabilityResourcesResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListVulnerabilityResourcesRequest.Builder get() {
+ return ListVulnerabilityResourcesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListVulnerabilityResourcesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilityResourcesRequest.Builder>,
+ ListVulnerabilityResourcesRequest>() {
+ @Override
+ public ListVulnerabilityResourcesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilityResourcesRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListVulnerabilityResourcesRequest, ListVulnerabilityResourcesResponse>() {
+ @Override
+ public ListVulnerabilityResourcesResponse apply(
+ ListVulnerabilityResourcesRequest request) {
+ return client.listVulnerabilityResources(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.dblm.model.VulnerabilityResourceSummary} objects contained in responses from
+ * the listVulnerabilityResources 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.dblm.model.VulnerabilityResourceSummary} objects contained in responses
+ * received from the service.
+ */
+ public Iterable
+ listVulnerabilityResourcesRecordIterator(
+ final ListVulnerabilityResourcesRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListVulnerabilityResourcesRequest.Builder,
+ ListVulnerabilityResourcesRequest,
+ ListVulnerabilityResourcesResponse,
+ com.oracle.bmc.dblm.model.VulnerabilityResourceSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListVulnerabilityResourcesRequest.Builder get() {
+ return ListVulnerabilityResourcesRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListVulnerabilityResourcesResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilityResourcesRequest.Builder>,
+ ListVulnerabilityResourcesRequest>() {
+ @Override
+ public ListVulnerabilityResourcesRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilityResourcesRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListVulnerabilityResourcesRequest, ListVulnerabilityResourcesResponse>() {
+ @Override
+ public ListVulnerabilityResourcesResponse apply(
+ ListVulnerabilityResourcesRequest request) {
+ return client.listVulnerabilityResources(request);
+ }
+ },
+ new java.util.function.Function<
+ ListVulnerabilityResourcesResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List
+ apply(ListVulnerabilityResourcesResponse response) {
+ return response.getVulnerabilityResourceCollection().getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listVulnerabilityScans 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 listVulnerabilityScansResponseIterator(
+ final ListVulnerabilityScansRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListVulnerabilityScansRequest.Builder,
+ ListVulnerabilityScansRequest,
+ ListVulnerabilityScansResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListVulnerabilityScansRequest.Builder get() {
+ return ListVulnerabilityScansRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListVulnerabilityScansResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilityScansRequest.Builder>,
+ ListVulnerabilityScansRequest>() {
+ @Override
+ public ListVulnerabilityScansRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilityScansRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListVulnerabilityScansRequest, ListVulnerabilityScansResponse>() {
+ @Override
+ public ListVulnerabilityScansResponse apply(
+ ListVulnerabilityScansRequest request) {
+ return client.listVulnerabilityScans(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.dblm.model.VulnerabilityScanSummary} objects contained in responses from the
+ * listVulnerabilityScans 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.dblm.model.VulnerabilityScanSummary} objects contained in responses
+ * received from the service.
+ */
+ public Iterable
+ listVulnerabilityScansRecordIterator(final ListVulnerabilityScansRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListVulnerabilityScansRequest.Builder,
+ ListVulnerabilityScansRequest,
+ ListVulnerabilityScansResponse,
+ com.oracle.bmc.dblm.model.VulnerabilityScanSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListVulnerabilityScansRequest.Builder get() {
+ return ListVulnerabilityScansRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListVulnerabilityScansResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilityScansRequest.Builder>,
+ ListVulnerabilityScansRequest>() {
+ @Override
+ public ListVulnerabilityScansRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListVulnerabilityScansRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListVulnerabilityScansRequest, ListVulnerabilityScansResponse>() {
+ @Override
+ public ListVulnerabilityScansResponse apply(
+ ListVulnerabilityScansRequest request) {
+ return client.listVulnerabilityScans(request);
+ }
+ },
+ new java.util.function.Function<
+ ListVulnerabilityScansResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List apply(
+ ListVulnerabilityScansResponse response) {
+ return response.getVulnerabilityScanCollection().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.
+ *
+ * @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 listWorkRequestErrorsResponseIterator(
+ final ListWorkRequestErrorsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListWorkRequestErrorsRequest.Builder,
+ ListWorkRequestErrorsRequest,
+ ListWorkRequestErrorsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListWorkRequestErrorsRequest.Builder get() {
+ return ListWorkRequestErrorsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListWorkRequestErrorsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestErrorsRequest.Builder>,
+ ListWorkRequestErrorsRequest>() {
+ @Override
+ public ListWorkRequestErrorsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestErrorsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListWorkRequestErrorsRequest, ListWorkRequestErrorsResponse>() {
+ @Override
+ public ListWorkRequestErrorsResponse apply(
+ ListWorkRequestErrorsRequest request) {
+ return client.listWorkRequestErrors(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.dblm.model.WorkRequestError} objects contained in responses from the
+ * listWorkRequestErrors 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.dblm.model.WorkRequestError} objects contained in responses received from
+ * the service.
+ */
+ public Iterable listWorkRequestErrorsRecordIterator(
+ final ListWorkRequestErrorsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListWorkRequestErrorsRequest.Builder,
+ ListWorkRequestErrorsRequest,
+ ListWorkRequestErrorsResponse,
+ com.oracle.bmc.dblm.model.WorkRequestError>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListWorkRequestErrorsRequest.Builder get() {
+ return ListWorkRequestErrorsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListWorkRequestErrorsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestErrorsRequest.Builder>,
+ ListWorkRequestErrorsRequest>() {
+ @Override
+ public ListWorkRequestErrorsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestErrorsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListWorkRequestErrorsRequest, ListWorkRequestErrorsResponse>() {
+ @Override
+ public ListWorkRequestErrorsResponse apply(
+ ListWorkRequestErrorsRequest request) {
+ return client.listWorkRequestErrors(request);
+ }
+ },
+ new java.util.function.Function<
+ ListWorkRequestErrorsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List apply(
+ ListWorkRequestErrorsResponse response) {
+ return response.getWorkRequestErrorCollection().getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listWorkRequestLogs 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 listWorkRequestLogsResponseIterator(
+ final ListWorkRequestLogsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListWorkRequestLogsRequest.Builder,
+ ListWorkRequestLogsRequest,
+ ListWorkRequestLogsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListWorkRequestLogsRequest.Builder get() {
+ return ListWorkRequestLogsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListWorkRequestLogsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestLogsRequest.Builder>,
+ ListWorkRequestLogsRequest>() {
+ @Override
+ public ListWorkRequestLogsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestLogsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListWorkRequestLogsRequest, ListWorkRequestLogsResponse>() {
+ @Override
+ public ListWorkRequestLogsResponse apply(ListWorkRequestLogsRequest request) {
+ return client.listWorkRequestLogs(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.dblm.model.WorkRequestLogEntry} objects contained in responses from the
+ * listWorkRequestLogs 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.dblm.model.WorkRequestLogEntry} objects contained in responses received
+ * from the service.
+ */
+ public Iterable
+ listWorkRequestLogsRecordIterator(final ListWorkRequestLogsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListWorkRequestLogsRequest.Builder,
+ ListWorkRequestLogsRequest,
+ ListWorkRequestLogsResponse,
+ com.oracle.bmc.dblm.model.WorkRequestLogEntry>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListWorkRequestLogsRequest.Builder get() {
+ return ListWorkRequestLogsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListWorkRequestLogsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestLogsRequest.Builder>,
+ ListWorkRequestLogsRequest>() {
+ @Override
+ public ListWorkRequestLogsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestLogsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListWorkRequestLogsRequest, ListWorkRequestLogsResponse>() {
+ @Override
+ public ListWorkRequestLogsResponse apply(ListWorkRequestLogsRequest request) {
+ return client.listWorkRequestLogs(request);
+ }
+ },
+ new java.util.function.Function<
+ ListWorkRequestLogsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List apply(
+ ListWorkRequestLogsResponse response) {
+ return response.getWorkRequestLogEntryCollection().getItems();
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the responses received from the
+ * listWorkRequests 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 listWorkRequestsResponseIterator(
+ final ListWorkRequestsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseIterable<
+ ListWorkRequestsRequest.Builder, ListWorkRequestsRequest, ListWorkRequestsResponse>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListWorkRequestsRequest.Builder get() {
+ return ListWorkRequestsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListWorkRequestsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestsRequest.Builder>,
+ ListWorkRequestsRequest>() {
+ @Override
+ public ListWorkRequestsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListWorkRequestsRequest, ListWorkRequestsResponse>() {
+ @Override
+ public ListWorkRequestsResponse apply(ListWorkRequestsRequest request) {
+ return client.listWorkRequests(request);
+ }
+ });
+ }
+
+ /**
+ * Creates a new iterable which will iterate over the {@link
+ * com.oracle.bmc.dblm.model.WorkRequestSummary} objects contained in responses from the
+ * listWorkRequests 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.dblm.model.WorkRequestSummary} objects contained in responses received
+ * from the service.
+ */
+ public Iterable listWorkRequestsRecordIterator(
+ final ListWorkRequestsRequest request) {
+ return new com.oracle.bmc.paginator.internal.ResponseRecordIterable<
+ ListWorkRequestsRequest.Builder,
+ ListWorkRequestsRequest,
+ ListWorkRequestsResponse,
+ com.oracle.bmc.dblm.model.WorkRequestSummary>(
+ new java.util.function.Supplier() {
+ @Override
+ public ListWorkRequestsRequest.Builder get() {
+ return ListWorkRequestsRequest.builder().copy(request);
+ }
+ },
+ new java.util.function.Function() {
+ @Override
+ public String apply(ListWorkRequestsResponse response) {
+ return response.getOpcNextPage();
+ }
+ },
+ new java.util.function.Function<
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestsRequest.Builder>,
+ ListWorkRequestsRequest>() {
+ @Override
+ public ListWorkRequestsRequest apply(
+ com.oracle.bmc.paginator.internal.RequestBuilderAndToken<
+ ListWorkRequestsRequest.Builder>
+ input) {
+ if (input.getNextPageToken() == null) {
+ return input.getRequestBuilder().build();
+ } else {
+ return input.getRequestBuilder()
+ .page(input.getNextPageToken().orElse(null))
+ .build();
+ }
+ }
+ },
+ new java.util.function.Function<
+ ListWorkRequestsRequest, ListWorkRequestsResponse>() {
+ @Override
+ public ListWorkRequestsResponse apply(ListWorkRequestsRequest request) {
+ return client.listWorkRequests(request);
+ }
+ },
+ new java.util.function.Function<
+ ListWorkRequestsResponse,
+ java.util.List>() {
+ @Override
+ public java.util.List apply(
+ ListWorkRequestsResponse response) {
+ return response.getWorkRequestSummaryCollection().getItems();
+ }
+ });
+ }
+}
diff --git a/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementWaiters.java b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementWaiters.java
new file mode 100644
index 00000000000..abc8bf0efda
--- /dev/null
+++ b/bmc-dblm/src/main/java/com/oracle/bmc/dblm/DbLifeCycleManagementWaiters.java
@@ -0,0 +1,190 @@
+/**
+ * Copyright (c) 2016, 2025, 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.dblm;
+
+import com.oracle.bmc.dblm.requests.*;
+import com.oracle.bmc.dblm.responses.*;
+
+/**
+ * Collection of helper methods to produce {@link com.oracle.bmc.waiter.Waiter}s for different
+ * resources of DbLifeCycleManagement.
+ *
+ * The default configuration used is defined by {@link
+ * com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER}.
+ */
+@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20240102")
+public class DbLifeCycleManagementWaiters {
+ private final java.util.concurrent.ExecutorService executorService;
+ private final DbLifeCycleManagement client;
+
+ public DbLifeCycleManagementWaiters(
+ java.util.concurrent.ExecutorService executorService, DbLifeCycleManagement client) {
+ this.executorService = executorService;
+ this.client = client;
+ }
+
+ /**
+ * 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
+ */
+ public com.oracle.bmc.waiter.Waiter
+ forVulnerabilityScan(
+ GetVulnerabilityScanRequest request,
+ com.oracle.bmc.dblm.model.VulnerabilityScan.LifecycleState... targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one targetState must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null targetState values are not permitted");
+
+ return forVulnerabilityScan(
+ com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request, targetStates);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param targetState the desired state to wait for
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter
+ forVulnerabilityScan(
+ GetVulnerabilityScanRequest request,
+ com.oracle.bmc.dblm.model.VulnerabilityScan.LifecycleState targetState,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
+ com.oracle.bmc.util.internal.Validate.notNull(
+ targetState, "The targetState cannot be null");
+
+ return forVulnerabilityScan(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetState);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@link com.oracle.bmc.waiter.DelayStrategy} to use
+ * @param targetStates the desired states to wait for. The waiter will return once the resource
+ * reaches any of the provided states
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter
+ forVulnerabilityScan(
+ GetVulnerabilityScanRequest request,
+ com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
+ com.oracle.bmc.waiter.DelayStrategy delayStrategy,
+ com.oracle.bmc.dblm.model.VulnerabilityScan.LifecycleState... targetStates) {
+ com.oracle.bmc.util.internal.Validate.notEmpty(
+ targetStates, "At least one target state must be provided");
+ com.oracle.bmc.util.internal.Validate.noNullElements(
+ targetStates, "Null target states are not permitted");
+
+ return forVulnerabilityScan(
+ com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
+ request,
+ targetStates);
+ }
+
+ // Helper method to create a new Waiter for VulnerabilityScan.
+ private com.oracle.bmc.waiter.Waiter
+ forVulnerabilityScan(
+ com.oracle.bmc.waiter.BmcGenericWaiter waiter,
+ final GetVulnerabilityScanRequest request,
+ final com.oracle.bmc.dblm.model.VulnerabilityScan.LifecycleState...
+ targetStates) {
+ final java.util.Set
+ targetStatesSet = new java.util.HashSet<>(java.util.Arrays.asList(targetStates));
+
+ return new com.oracle.bmc.waiter.internal.SimpleWaiterImpl<>(
+ executorService,
+ waiter.toCallable(
+ () -> request,
+ new java.util.function.Function<
+ GetVulnerabilityScanRequest, GetVulnerabilityScanResponse>() {
+ @Override
+ public GetVulnerabilityScanResponse apply(
+ GetVulnerabilityScanRequest request) {
+ return client.getVulnerabilityScan(request);
+ }
+ },
+ new java.util.function.Predicate() {
+ @Override
+ public boolean test(GetVulnerabilityScanResponse response) {
+ return targetStatesSet.contains(
+ response.getVulnerabilityScan().getLifecycleState());
+ }
+ },
+ targetStatesSet.contains(
+ com.oracle.bmc.dblm.model.VulnerabilityScan.LifecycleState
+ .Deleted)),
+ request);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using default configuration.
+ *
+ * @param request the request to send
+ * @return a new {@code Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter
+ forWorkRequest(GetWorkRequestRequest request) {
+ return forWorkRequest(com.oracle.bmc.waiter.Waiters.DEFAULT_POLLING_WAITER, request);
+ }
+
+ /**
+ * Creates a new {@link com.oracle.bmc.waiter.Waiter} using the provided configuration.
+ *
+ * @param request the request to send
+ * @param terminationStrategy the {@link com.oracle.bmc.waiter.TerminationStrategy} to use
+ * @param delayStrategy the {@linkcom.oracle.bmc.waiter. DelayStrategy} to use
+ * @return a new {@code com.oracle.bmc.waiter.Waiter} instance
+ */
+ public com.oracle.bmc.waiter.Waiter