();
}
diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml
index 0d203456b1d..f9de5203778 100644
--- a/bmc-bom/pom.xml
+++ b/bmc-bom/pom.xml
@@ -7,7 +7,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.2.18
+ 1.2.20
../pom.xml
@@ -24,7 +24,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.2.18
+ 1.2.20
false
@@ -33,37 +33,37 @@
com.oracle.oci.sdk
oci-java-sdk-audit
- 1.2.18
+ 1.2.20
false
com.oracle.oci.sdk
oci-java-sdk-core
- 1.2.18
+ 1.2.20
false
com.oracle.oci.sdk
oci-java-sdk-database
- 1.2.18
+ 1.2.20
false
com.oracle.oci.sdk
oci-java-sdk-identity
- 1.2.18
+ 1.2.20
false
com.oracle.oci.sdk
oci-java-sdk-loadbalancer
- 1.2.18
+ 1.2.20
false
com.oracle.oci.sdk
oci-java-sdk-objectstorage
- 1.2.18
+ 1.2.20
false
diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml
index 4c53745bda0..cbd84ea8675 100644
--- a/bmc-common/pom.xml
+++ b/bmc-common/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.2.18
+ 1.2.20
../pom.xml
diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml
index b37fcb69c5d..6dfc1520752 100644
--- a/bmc-core/pom.xml
+++ b/bmc-core/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.2.18
+ 1.2.20
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.2.18
+ 1.2.20
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 85c9cbdf441..b62407d449d 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
@@ -36,6 +36,32 @@ public interface VirtualNetwork extends AutoCloseable {
*/
void setRegion(String regionId);
+ /**
+ * Adds one or more customer public IP prefixes to the specified public virtual circuit.
+ * Use this operation (and not {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest) updateVirtualCircuit})
+ * to add prefixes to the virtual circuit. Oracle must verify the customer's ownership
+ * of each prefix before traffic for that prefix will flow across the virtual circuit.
+ *
+ * @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.
+ */
+ BulkAddVirtualCircuitPublicPrefixesResponse bulkAddVirtualCircuitPublicPrefixes(
+ BulkAddVirtualCircuitPublicPrefixesRequest request);
+
+ /**
+ * Removes one or more customer public IP prefixes from the specified public virtual circuit.
+ * Use this operation (and not {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest) updateVirtualCircuit})
+ * to remove prefixes from the virtual circuit. When the virtual circuit's state switches
+ * back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection.
+ *
+ * @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.
+ */
+ BulkDeleteVirtualCircuitPublicPrefixesResponse bulkDeleteVirtualCircuitPublicPrefixes(
+ BulkDeleteVirtualCircuitPublicPrefixesRequest request);
+
/**
* Connects this local peering gateway (LPG) to another one in the same region.
*
@@ -675,6 +701,17 @@ GetCrossConnectLetterOfAuthorityResponse getCrossConnectLetterOfAuthority(
*/
GetDrgAttachmentResponse getDrgAttachment(GetDrgAttachmentRequest request);
+ /**
+ * Gets the specified provider service.
+ * For more information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.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.
+ */
+ GetFastConnectProviderServiceResponse getFastConnectProviderService(
+ GetFastConnectProviderServiceRequest request);
+
/**
* Gets the specified IPSec connection's basic information, including the static routes for the
* on-premises router. If you want the status of the connection (whether it's up or down), use
@@ -884,6 +921,20 @@ ListCrossconnectPortSpeedShapesResponse listCrossconnectPortSpeedShapes(
ListFastConnectProviderServicesResponse listFastConnectProviderServices(
ListFastConnectProviderServicesRequest request);
+ /**
+ * Gets the list of available virtual circuit bandwidth levels for a provider.
+ * You need this information so you can specify your desired bandwidth level (shape) when you create a virtual circuit.
+ *
+ * For more information about virtual circuits, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.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.
+ */
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse
+ listFastConnectProviderVirtualCircuitBandwidthShapes(
+ ListFastConnectProviderVirtualCircuitBandwidthShapesRequest request);
+
/**
* Lists the IPSec connections for the specified compartment. You can filter the
* results by DRG or CPE.
@@ -974,10 +1025,7 @@ ListLocalPeeringGatewaysResponse listLocalPeeringGateways(
ListVcnsResponse listVcns(ListVcnsRequest request);
/**
- * Lists the available bandwidth levels for virtual circuits. You need this
- * information so you can specify your desired bandwidth level (that is, shape)
- * when you create a virtual circuit.
- * For the compartment ID, provide the OCID of your tenancy (the root compartment).
+ * The deprecated operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID of your tenancy (the root compartment).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
@@ -986,6 +1034,17 @@ ListLocalPeeringGatewaysResponse listLocalPeeringGateways(
ListVirtualCircuitBandwidthShapesResponse listVirtualCircuitBandwidthShapes(
ListVirtualCircuitBandwidthShapesRequest request);
+ /**
+ * Lists the public IP prefixes and their details for the specified
+ * public virtual circuit.
+ *
+ * @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.
+ */
+ ListVirtualCircuitPublicPrefixesResponse listVirtualCircuitPublicPrefixes(
+ ListVirtualCircuitPublicPrefixesRequest request);
+
/**
* Lists the virtual circuits in the specified compartment.
*
@@ -1166,6 +1225,14 @@ UpdateLocalPeeringGatewayResponse updateLocalPeeringGateway(
* the associated BGP session is back up. For more information
* about the various states and how to test connectivity, see
* [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
+ *
+ * To change the list of public IP prefixes for a public virtual circuit,
+ * use {@link #bulkAddVirtualCircuitPublicPrefixes(BulkAddVirtualCircuitPublicPrefixesRequest) bulkAddVirtualCircuitPublicPrefixes}
+ * and
+ * {@link #bulkDeleteVirtualCircuitPublicPrefixes(BulkDeleteVirtualCircuitPublicPrefixesRequest) bulkDeleteVirtualCircuitPublicPrefixes}.
+ * Updating the list of prefixes does NOT cause the BGP session to go down. However,
+ * Oracle must verify the customer's ownership of each added prefix before
+ * traffic for that prefix will flow across the virtual circuit.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
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 3c40e65e41b..8ac8ca7e583 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
@@ -36,6 +36,50 @@ public interface VirtualNetworkAsync extends AutoCloseable {
*/
void setRegion(String regionId);
+ /**
+ * Adds one or more customer public IP prefixes to the specified public virtual circuit.
+ * Use this operation (and not {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest, Consumer, Consumer) updateVirtualCircuit})
+ * to add prefixes to the virtual circuit. Oracle must verify the customer's ownership
+ * of each prefix before traffic for that prefix will flow across the virtual circuit.
+ *
+ *
+ * @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
+ bulkAddVirtualCircuitPublicPrefixes(
+ BulkAddVirtualCircuitPublicPrefixesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ BulkAddVirtualCircuitPublicPrefixesRequest,
+ BulkAddVirtualCircuitPublicPrefixesResponse>
+ handler);
+
+ /**
+ * Removes one or more customer public IP prefixes from the specified public virtual circuit.
+ * Use this operation (and not {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest, Consumer, Consumer) updateVirtualCircuit})
+ * to remove prefixes from the virtual circuit. When the virtual circuit's state switches
+ * back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection.
+ *
+ *
+ * @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
+ bulkDeleteVirtualCircuitPublicPrefixes(
+ BulkDeleteVirtualCircuitPublicPrefixesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ BulkDeleteVirtualCircuitPublicPrefixesRequest,
+ BulkDeleteVirtualCircuitPublicPrefixesResponse>
+ handler);
+
/**
* Connects this local peering gateway (LPG) to another one in the same region.
*
@@ -960,6 +1004,26 @@ java.util.concurrent.Future getDrgAttachment(
com.oracle.bmc.responses.AsyncHandler
handler);
+ /**
+ * Gets the specified provider service.
+ * For more information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.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
+ getFastConnectProviderService(
+ GetFastConnectProviderServiceRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetFastConnectProviderServiceRequest,
+ GetFastConnectProviderServiceResponse>
+ handler);
+
/**
* Gets the specified IPSec connection's basic information, including the static routes for the
* on-premises router. If you want the status of the connection (whether it's up or down), use
@@ -1326,6 +1390,28 @@ java.util.concurrent.Future listDrgs(
ListFastConnectProviderServicesResponse>
handler);
+ /**
+ * Gets the list of available virtual circuit bandwidth levels for a provider.
+ * You need this information so you can specify your desired bandwidth level (shape) when you create a virtual circuit.
+ *
+ * For more information about virtual circuits, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.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
+ listFastConnectProviderVirtualCircuitBandwidthShapes(
+ ListFastConnectProviderVirtualCircuitBandwidthShapesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListFastConnectProviderVirtualCircuitBandwidthShapesRequest,
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse>
+ handler);
+
/**
* Lists the IPSec connections for the specified compartment. You can filter the
* results by DRG or CPE.
@@ -1473,10 +1559,7 @@ java.util.concurrent.Future listVcns(
com.oracle.bmc.responses.AsyncHandler handler);
/**
- * Lists the available bandwidth levels for virtual circuits. You need this
- * information so you can specify your desired bandwidth level (that is, shape)
- * when you create a virtual circuit.
- * For the compartment ID, provide the OCID of your tenancy (the root compartment).
+ * The deprecated operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID of your tenancy (the root compartment).
*
*
* @param request The request object containing the details to send
@@ -1494,6 +1577,26 @@ java.util.concurrent.Future listVcns(
ListVirtualCircuitBandwidthShapesResponse>
handler);
+ /**
+ * Lists the public IP prefixes and their details for the specified
+ * public virtual circuit.
+ *
+ *
+ * @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
+ listVirtualCircuitPublicPrefixes(
+ ListVirtualCircuitPublicPrefixesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListVirtualCircuitPublicPrefixesRequest,
+ ListVirtualCircuitPublicPrefixesResponse>
+ handler);
+
/**
* Lists the virtual circuits in the specified compartment.
*
@@ -1784,6 +1887,14 @@ java.util.concurrent.Future updateVcn(
* the associated BGP session is back up. For more information
* about the various states and how to test connectivity, see
* [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
+ *
+ * To change the list of public IP prefixes for a public virtual circuit,
+ * use {@link #bulkAddVirtualCircuitPublicPrefixes(BulkAddVirtualCircuitPublicPrefixesRequest, Consumer, Consumer) bulkAddVirtualCircuitPublicPrefixes}
+ * and
+ * {@link #bulkDeleteVirtualCircuitPublicPrefixes(BulkDeleteVirtualCircuitPublicPrefixesRequest, Consumer, Consumer) bulkDeleteVirtualCircuitPublicPrefixes}.
+ * Updating the list of prefixes does NOT cause the BGP session to go down. However,
+ * Oracle must verify the customer's ownership of each added prefix before
+ * traffic for that prefix will flow across the virtual circuit.
*
*
* @param request The request object containing the details to send
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 dd6f48e2602..75abb98c525 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
@@ -118,6 +118,68 @@ public void close() {
client.close();
}
+ @Override
+ public java.util.concurrent.Future
+ bulkAddVirtualCircuitPublicPrefixes(
+ BulkAddVirtualCircuitPublicPrefixesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ BulkAddVirtualCircuitPublicPrefixesRequest,
+ BulkAddVirtualCircuitPublicPrefixesResponse>
+ handler) {
+ LOG.trace("Called async bulkAddVirtualCircuitPublicPrefixes");
+ request = BulkAddVirtualCircuitPublicPrefixesConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ BulkAddVirtualCircuitPublicPrefixesConverter.fromRequest(client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response, BulkAddVirtualCircuitPublicPrefixesResponse>
+ transformer = BulkAddVirtualCircuitPublicPrefixesConverter.fromResponse();
+
+ com.oracle.bmc.util.internal.Consumer onSuccess =
+ new com.oracle.bmc.http.internal.SuccessConsumer<>(handler, transformer, request);
+ com.oracle.bmc.util.internal.Consumer onError =
+ new com.oracle.bmc.http.internal.ErrorConsumer<>(handler, request);
+
+ java.util.concurrent.Future responseFuture =
+ client.post(
+ ib,
+ request.getBulkAddVirtualCircuitPublicPrefixesDetails(),
+ request,
+ onSuccess,
+ onError);
+ return new com.oracle.bmc.util.internal.TransformingFuture<>(responseFuture, transformer);
+ }
+
+ @Override
+ public java.util.concurrent.Future
+ bulkDeleteVirtualCircuitPublicPrefixes(
+ BulkDeleteVirtualCircuitPublicPrefixesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ BulkDeleteVirtualCircuitPublicPrefixesRequest,
+ BulkDeleteVirtualCircuitPublicPrefixesResponse>
+ handler) {
+ LOG.trace("Called async bulkDeleteVirtualCircuitPublicPrefixes");
+ request = BulkDeleteVirtualCircuitPublicPrefixesConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ BulkDeleteVirtualCircuitPublicPrefixesConverter.fromRequest(client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response, BulkDeleteVirtualCircuitPublicPrefixesResponse>
+ transformer = BulkDeleteVirtualCircuitPublicPrefixesConverter.fromResponse();
+
+ com.oracle.bmc.util.internal.Consumer onSuccess =
+ new com.oracle.bmc.http.internal.SuccessConsumer<>(handler, transformer, request);
+ com.oracle.bmc.util.internal.Consumer onError =
+ new com.oracle.bmc.http.internal.ErrorConsumer<>(handler, request);
+
+ java.util.concurrent.Future responseFuture =
+ client.post(
+ ib,
+ request.getBulkDeleteVirtualCircuitPublicPrefixesDetails(),
+ request,
+ onSuccess,
+ onError);
+ return new com.oracle.bmc.util.internal.TransformingFuture<>(responseFuture, transformer);
+ }
+
@Override
public java.util.concurrent.Future
connectLocalPeeringGateways(
@@ -1019,6 +1081,32 @@ public java.util.concurrent.Future getDrgAttachment(
return new com.oracle.bmc.util.internal.TransformingFuture<>(responseFuture, transformer);
}
+ @Override
+ public java.util.concurrent.Future
+ getFastConnectProviderService(
+ GetFastConnectProviderServiceRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ GetFastConnectProviderServiceRequest,
+ GetFastConnectProviderServiceResponse>
+ handler) {
+ LOG.trace("Called async getFastConnectProviderService");
+ request = GetFastConnectProviderServiceConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetFastConnectProviderServiceConverter.fromRequest(client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response, GetFastConnectProviderServiceResponse>
+ transformer = GetFastConnectProviderServiceConverter.fromResponse();
+
+ com.oracle.bmc.util.internal.Consumer onSuccess =
+ new com.oracle.bmc.http.internal.SuccessConsumer<>(handler, transformer, request);
+ com.oracle.bmc.util.internal.Consumer onError =
+ new com.oracle.bmc.http.internal.ErrorConsumer<>(handler, request);
+
+ java.util.concurrent.Future responseFuture =
+ client.get(ib, request, onSuccess, onError);
+ return new com.oracle.bmc.util.internal.TransformingFuture<>(responseFuture, transformer);
+ }
+
@Override
public java.util.concurrent.Future getIPSecConnection(
GetIPSecConnectionRequest request,
@@ -1501,6 +1589,38 @@ public java.util.concurrent.Future listDrgs(
return new com.oracle.bmc.util.internal.TransformingFuture<>(responseFuture, transformer);
}
+ @Override
+ public java.util.concurrent.Future
+ listFastConnectProviderVirtualCircuitBandwidthShapes(
+ ListFastConnectProviderVirtualCircuitBandwidthShapesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListFastConnectProviderVirtualCircuitBandwidthShapesRequest,
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse>
+ handler) {
+ LOG.trace("Called async listFastConnectProviderVirtualCircuitBandwidthShapes");
+ request =
+ ListFastConnectProviderVirtualCircuitBandwidthShapesConverter.interceptRequest(
+ request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListFastConnectProviderVirtualCircuitBandwidthShapesConverter.fromRequest(
+ client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse>
+ transformer =
+ ListFastConnectProviderVirtualCircuitBandwidthShapesConverter
+ .fromResponse();
+
+ com.oracle.bmc.util.internal.Consumer onSuccess =
+ new com.oracle.bmc.http.internal.SuccessConsumer<>(handler, transformer, request);
+ com.oracle.bmc.util.internal.Consumer onError =
+ new com.oracle.bmc.http.internal.ErrorConsumer<>(handler, request);
+
+ java.util.concurrent.Future responseFuture =
+ client.get(ib, request, onSuccess, onError);
+ return new com.oracle.bmc.util.internal.TransformingFuture<>(responseFuture, transformer);
+ }
+
@Override
public java.util.concurrent.Future listIPSecConnections(
ListIPSecConnectionsRequest request,
@@ -1706,6 +1826,32 @@ public java.util.concurrent.Future listVcns(
return new com.oracle.bmc.util.internal.TransformingFuture<>(responseFuture, transformer);
}
+ @Override
+ public java.util.concurrent.Future
+ listVirtualCircuitPublicPrefixes(
+ ListVirtualCircuitPublicPrefixesRequest request,
+ com.oracle.bmc.responses.AsyncHandler<
+ ListVirtualCircuitPublicPrefixesRequest,
+ ListVirtualCircuitPublicPrefixesResponse>
+ handler) {
+ LOG.trace("Called async listVirtualCircuitPublicPrefixes");
+ request = ListVirtualCircuitPublicPrefixesConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListVirtualCircuitPublicPrefixesConverter.fromRequest(client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response, ListVirtualCircuitPublicPrefixesResponse>
+ transformer = ListVirtualCircuitPublicPrefixesConverter.fromResponse();
+
+ com.oracle.bmc.util.internal.Consumer onSuccess =
+ new com.oracle.bmc.http.internal.SuccessConsumer<>(handler, transformer, request);
+ com.oracle.bmc.util.internal.Consumer onError =
+ new com.oracle.bmc.http.internal.ErrorConsumer<>(handler, request);
+
+ java.util.concurrent.Future responseFuture =
+ client.get(ib, request, onSuccess, onError);
+ return new com.oracle.bmc.util.internal.TransformingFuture<>(responseFuture, transformer);
+ }
+
@Override
public java.util.concurrent.Future listVirtualCircuits(
ListVirtualCircuitsRequest request,
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 123557b9197..d454632ec5d 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
@@ -137,6 +137,39 @@ public void close() {
client.close();
}
+ @Override
+ public BulkAddVirtualCircuitPublicPrefixesResponse bulkAddVirtualCircuitPublicPrefixes(
+ BulkAddVirtualCircuitPublicPrefixesRequest request) {
+ LOG.trace("Called bulkAddVirtualCircuitPublicPrefixes");
+ request = BulkAddVirtualCircuitPublicPrefixesConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ BulkAddVirtualCircuitPublicPrefixesConverter.fromRequest(client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response, BulkAddVirtualCircuitPublicPrefixesResponse>
+ transformer = BulkAddVirtualCircuitPublicPrefixesConverter.fromResponse();
+
+ javax.ws.rs.core.Response response =
+ client.post(ib, request.getBulkAddVirtualCircuitPublicPrefixesDetails(), request);
+ return transformer.apply(response);
+ }
+
+ @Override
+ public BulkDeleteVirtualCircuitPublicPrefixesResponse bulkDeleteVirtualCircuitPublicPrefixes(
+ BulkDeleteVirtualCircuitPublicPrefixesRequest request) {
+ LOG.trace("Called bulkDeleteVirtualCircuitPublicPrefixes");
+ request = BulkDeleteVirtualCircuitPublicPrefixesConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ BulkDeleteVirtualCircuitPublicPrefixesConverter.fromRequest(client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response, BulkDeleteVirtualCircuitPublicPrefixesResponse>
+ transformer = BulkDeleteVirtualCircuitPublicPrefixesConverter.fromResponse();
+
+ javax.ws.rs.core.Response response =
+ client.post(
+ ib, request.getBulkDeleteVirtualCircuitPublicPrefixesDetails(), request);
+ return transformer.apply(response);
+ }
+
@Override
public ConnectLocalPeeringGatewaysResponse connectLocalPeeringGateways(
ConnectLocalPeeringGatewaysRequest request) {
@@ -675,6 +708,21 @@ public GetDrgAttachmentResponse getDrgAttachment(GetDrgAttachmentRequest request
return transformer.apply(response);
}
+ @Override
+ public GetFastConnectProviderServiceResponse getFastConnectProviderService(
+ GetFastConnectProviderServiceRequest request) {
+ LOG.trace("Called getFastConnectProviderService");
+ request = GetFastConnectProviderServiceConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ GetFastConnectProviderServiceConverter.fromRequest(client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response, GetFastConnectProviderServiceResponse>
+ transformer = GetFastConnectProviderServiceConverter.fromResponse();
+
+ javax.ws.rs.core.Response response = client.get(ib, request);
+ return transformer.apply(response);
+ }
+
@Override
public GetIPSecConnectionResponse getIPSecConnection(GetIPSecConnectionRequest request) {
LOG.trace("Called getIPSecConnection");
@@ -960,6 +1008,28 @@ public ListFastConnectProviderServicesResponse listFastConnectProviderServices(
return transformer.apply(response);
}
+ @Override
+ public ListFastConnectProviderVirtualCircuitBandwidthShapesResponse
+ listFastConnectProviderVirtualCircuitBandwidthShapes(
+ ListFastConnectProviderVirtualCircuitBandwidthShapesRequest request) {
+ LOG.trace("Called listFastConnectProviderVirtualCircuitBandwidthShapes");
+ request =
+ ListFastConnectProviderVirtualCircuitBandwidthShapesConverter.interceptRequest(
+ request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListFastConnectProviderVirtualCircuitBandwidthShapesConverter.fromRequest(
+ client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse>
+ transformer =
+ ListFastConnectProviderVirtualCircuitBandwidthShapesConverter
+ .fromResponse();
+
+ javax.ws.rs.core.Response response = client.get(ib, request);
+ return transformer.apply(response);
+ }
+
@Override
public ListIPSecConnectionsResponse listIPSecConnections(ListIPSecConnectionsRequest request) {
LOG.trace("Called listIPSecConnections");
@@ -1080,6 +1150,21 @@ public ListVirtualCircuitBandwidthShapesResponse listVirtualCircuitBandwidthShap
return transformer.apply(response);
}
+ @Override
+ public ListVirtualCircuitPublicPrefixesResponse listVirtualCircuitPublicPrefixes(
+ ListVirtualCircuitPublicPrefixesRequest request) {
+ LOG.trace("Called listVirtualCircuitPublicPrefixes");
+ request = ListVirtualCircuitPublicPrefixesConverter.interceptRequest(request);
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib =
+ ListVirtualCircuitPublicPrefixesConverter.fromRequest(client, request);
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response, ListVirtualCircuitPublicPrefixesResponse>
+ transformer = ListVirtualCircuitPublicPrefixesConverter.fromResponse();
+
+ javax.ws.rs.core.Response response = client.get(ib, request);
+ return transformer.apply(response);
+ }
+
@Override
public ListVirtualCircuitsResponse listVirtualCircuits(ListVirtualCircuitsRequest request) {
LOG.trace("Called listVirtualCircuits");
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/BulkAddVirtualCircuitPublicPrefixesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/BulkAddVirtualCircuitPublicPrefixesConverter.java
new file mode 100644
index 00000000000..751b39e72bd
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/BulkAddVirtualCircuitPublicPrefixesConverter.java
@@ -0,0 +1,91 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.extern.slf4j.Slf4j
+public class BulkAddVirtualCircuitPublicPrefixesConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static BulkAddVirtualCircuitPublicPrefixesRequest interceptRequest(
+ BulkAddVirtualCircuitPublicPrefixesRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ BulkAddVirtualCircuitPublicPrefixesRequest request) {
+ if (request == null) {
+ throw new NullPointerException("request instance is required");
+ }
+
+ if (request.getVirtualCircuitId() == null) {
+ throw new NullPointerException("virtualCircuitId is required");
+ }
+
+ if (request.getBulkAddVirtualCircuitPublicPrefixesDetails() == null) {
+ throw new NullPointerException(
+ "bulkAddVirtualCircuitPublicPrefixesDetails is required");
+ }
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("virtualCircuits")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getVirtualCircuitId()))
+ .path("actions")
+ .path("bulkAddPublicPrefixes");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response, BulkAddVirtualCircuitPublicPrefixesResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response, BulkAddVirtualCircuitPublicPrefixesResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ BulkAddVirtualCircuitPublicPrefixesResponse>() {
+ @Override
+ public BulkAddVirtualCircuitPublicPrefixesResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for BulkAddVirtualCircuitPublicPrefixesResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ BulkAddVirtualCircuitPublicPrefixesResponse.Builder builder =
+ BulkAddVirtualCircuitPublicPrefixesResponse.builder();
+
+ BulkAddVirtualCircuitPublicPrefixesResponse responseWrapper =
+ builder.build();
+
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/BulkDeleteVirtualCircuitPublicPrefixesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/BulkDeleteVirtualCircuitPublicPrefixesConverter.java
new file mode 100644
index 00000000000..628e540c4c5
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/BulkDeleteVirtualCircuitPublicPrefixesConverter.java
@@ -0,0 +1,91 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.extern.slf4j.Slf4j
+public class BulkDeleteVirtualCircuitPublicPrefixesConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static BulkDeleteVirtualCircuitPublicPrefixesRequest interceptRequest(
+ BulkDeleteVirtualCircuitPublicPrefixesRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ BulkDeleteVirtualCircuitPublicPrefixesRequest request) {
+ if (request == null) {
+ throw new NullPointerException("request instance is required");
+ }
+
+ if (request.getVirtualCircuitId() == null) {
+ throw new NullPointerException("virtualCircuitId is required");
+ }
+
+ if (request.getBulkDeleteVirtualCircuitPublicPrefixesDetails() == null) {
+ throw new NullPointerException(
+ "bulkDeleteVirtualCircuitPublicPrefixesDetails is required");
+ }
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("virtualCircuits")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getVirtualCircuitId()))
+ .path("actions")
+ .path("bulkDeletePublicPrefixes");
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response, BulkDeleteVirtualCircuitPublicPrefixesResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response, BulkDeleteVirtualCircuitPublicPrefixesResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ BulkDeleteVirtualCircuitPublicPrefixesResponse>() {
+ @Override
+ public BulkDeleteVirtualCircuitPublicPrefixesResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for BulkDeleteVirtualCircuitPublicPrefixesResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders>
+ responseFn = RESPONSE_CONVERSION_FACTORY.create();
+
+ com.oracle.bmc.http.internal.WithHeaders response =
+ responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ BulkDeleteVirtualCircuitPublicPrefixesResponse.Builder builder =
+ BulkDeleteVirtualCircuitPublicPrefixesResponse.builder();
+
+ BulkDeleteVirtualCircuitPublicPrefixesResponse responseWrapper =
+ builder.build();
+
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetFastConnectProviderServiceConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetFastConnectProviderServiceConverter.java
new file mode 100644
index 00000000000..42b7e55ed47
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/GetFastConnectProviderServiceConverter.java
@@ -0,0 +1,101 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.extern.slf4j.Slf4j
+public class GetFastConnectProviderServiceConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static GetFastConnectProviderServiceRequest interceptRequest(
+ GetFastConnectProviderServiceRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ GetFastConnectProviderServiceRequest request) {
+ if (request == null) {
+ throw new NullPointerException("request instance is required");
+ }
+
+ if (request.getProviderServiceId() == null) {
+ throw new NullPointerException("providerServiceId is required");
+ }
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("fastConnectProviderServices")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getProviderServiceId()));
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response, GetFastConnectProviderServiceResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response, GetFastConnectProviderServiceResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ GetFastConnectProviderServiceResponse>() {
+ @Override
+ public GetFastConnectProviderServiceResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for GetFastConnectProviderServiceResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ FastConnectProviderService>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ FastConnectProviderService.class);
+
+ com.oracle.bmc.http.internal.WithHeaders
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ GetFastConnectProviderServiceResponse.Builder builder =
+ GetFastConnectProviderServiceResponse.builder();
+
+ builder.fastConnectProviderService(response.getItem());
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ GetFastConnectProviderServiceResponse responseWrapper =
+ builder.build();
+
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListConsoleHistoriesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListConsoleHistoriesConverter.java
index 60a8be3e1dd..6c7abadc2c8 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListConsoleHistoriesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListConsoleHistoriesConverter.java
@@ -92,7 +92,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectGroupsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectGroupsConverter.java
index ac42dff5dd6..d8f83aa3b49 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectGroupsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectGroupsConverter.java
@@ -84,7 +84,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectsConverter.java
index b5404677f97..f4a1519f998 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListCrossConnectsConverter.java
@@ -91,7 +91,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListDhcpOptionsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListDhcpOptionsConverter.java
index 33cd635f5b0..5b28aadd18a 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListDhcpOptionsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListDhcpOptionsConverter.java
@@ -93,7 +93,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListFastConnectProviderVirtualCircuitBandwidthShapesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListFastConnectProviderVirtualCircuitBandwidthShapesConverter.java
new file mode 100644
index 00000000000..326a424ca5c
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListFastConnectProviderVirtualCircuitBandwidthShapesConverter.java
@@ -0,0 +1,138 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.extern.slf4j.Slf4j
+public class ListFastConnectProviderVirtualCircuitBandwidthShapesConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static ListFastConnectProviderVirtualCircuitBandwidthShapesRequest interceptRequest(
+ ListFastConnectProviderVirtualCircuitBandwidthShapesRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ ListFastConnectProviderVirtualCircuitBandwidthShapesRequest request) {
+ if (request == null) {
+ throw new NullPointerException("request instance is required");
+ }
+
+ if (request.getProviderServiceId() == null) {
+ throw new NullPointerException("providerServiceId is required");
+ }
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("fastConnectProviderServices")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getProviderServiceId()))
+ .path("virtualCircuitBandwidthShapes");
+
+ if (request.getLimit() != null) {
+ target =
+ target.queryParam(
+ "limit",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getLimit()));
+ }
+
+ if (request.getPage() != null) {
+ target =
+ target.queryParam(
+ "page",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getPage()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse>() {
+ @Override
+ public ListFastConnectProviderVirtualCircuitBandwidthShapesResponse
+ apply(javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for ListFastConnectProviderVirtualCircuitBandwidthShapesResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ java.util.List<
+ VirtualCircuitBandwidthShape>>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ new javax.ws.rs.core.GenericType<
+ java.util.List<
+ VirtualCircuitBandwidthShape>>() {});
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ java.util.List>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse.Builder
+ builder =
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse
+ .builder();
+
+ builder.items(response.getItem());
+
+ com.google.common.base.Optional>
+ opcNextPageHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-next-page");
+ if (opcNextPageHeader.isPresent()) {
+ builder.opcNextPage(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-next-page",
+ opcNextPageHeader.get().get(0),
+ String.class));
+ }
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ ListFastConnectProviderVirtualCircuitBandwidthShapesResponse
+ responseWrapper = builder.build();
+
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListImagesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListImagesConverter.java
index 2ef24ed20ef..55ce6c459ae 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListImagesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListImagesConverter.java
@@ -99,7 +99,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInstancesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInstancesConverter.java
index 48afbecd8af..0ebe806059c 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInstancesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInstancesConverter.java
@@ -91,7 +91,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInternetGatewaysConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInternetGatewaysConverter.java
index fe8818d0983..ea2083a99e9 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInternetGatewaysConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListInternetGatewaysConverter.java
@@ -94,7 +94,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListRouteTablesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListRouteTablesConverter.java
index 72f98ef81dd..c4b78868405 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListRouteTablesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListRouteTablesConverter.java
@@ -93,7 +93,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSecurityListsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSecurityListsConverter.java
index e03dce4cbbb..bc2668b2dde 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSecurityListsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSecurityListsConverter.java
@@ -93,7 +93,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSubnetsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSubnetsConverter.java
index 204198f1935..1a8b2917cc4 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSubnetsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListSubnetsConverter.java
@@ -93,7 +93,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVcnsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVcnsConverter.java
index ba05bac970f..658e6329111 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVcnsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVcnsConverter.java
@@ -83,7 +83,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitPublicPrefixesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitPublicPrefixesConverter.java
new file mode 100644
index 00000000000..9f27284ebd0
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitPublicPrefixesConverter.java
@@ -0,0 +1,113 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.internal.http;
+
+import com.oracle.bmc.core.model.*;
+import com.oracle.bmc.core.requests.*;
+import com.oracle.bmc.core.responses.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.extern.slf4j.Slf4j
+public class ListVirtualCircuitPublicPrefixesConverter {
+ private static final com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
+ RESPONSE_CONVERSION_FACTORY =
+ new com.oracle.bmc.http.internal.ResponseConversionFunctionFactory();
+
+ public static ListVirtualCircuitPublicPrefixesRequest interceptRequest(
+ ListVirtualCircuitPublicPrefixesRequest request) {
+
+ return request;
+ }
+
+ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
+ com.oracle.bmc.http.internal.RestClient client,
+ ListVirtualCircuitPublicPrefixesRequest request) {
+ if (request == null) {
+ throw new NullPointerException("request instance is required");
+ }
+
+ if (request.getVirtualCircuitId() == null) {
+ throw new NullPointerException("virtualCircuitId is required");
+ }
+
+ com.oracle.bmc.http.internal.WrappedWebTarget target =
+ client.getBaseTarget()
+ .path("/20160918")
+ .path("virtualCircuits")
+ .path(
+ com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
+ request.getVirtualCircuitId()))
+ .path("publicPrefixes");
+
+ if (request.getVerificationState() != null) {
+ target =
+ target.queryParam(
+ "verificationState",
+ com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
+ request.getVerificationState().getValue()));
+ }
+
+ com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
+
+ ib.accept(javax.ws.rs.core.MediaType.APPLICATION_JSON);
+
+ return ib;
+ }
+
+ public static com.google.common.base.Function<
+ javax.ws.rs.core.Response, ListVirtualCircuitPublicPrefixesResponse>
+ fromResponse() {
+ final com.google.common.base.Function<
+ javax.ws.rs.core.Response, ListVirtualCircuitPublicPrefixesResponse>
+ transformer =
+ new com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ ListVirtualCircuitPublicPrefixesResponse>() {
+ @Override
+ public ListVirtualCircuitPublicPrefixesResponse apply(
+ javax.ws.rs.core.Response rawResponse) {
+ LOG.trace(
+ "Transform function invoked for ListVirtualCircuitPublicPrefixesResponse");
+ com.google.common.base.Function<
+ javax.ws.rs.core.Response,
+ com.oracle.bmc.http.internal.WithHeaders<
+ java.util.List>>
+ responseFn =
+ RESPONSE_CONVERSION_FACTORY.create(
+ new javax.ws.rs.core.GenericType<
+ java.util.List<
+ VirtualCircuitPublicPrefix>>() {});
+
+ com.oracle.bmc.http.internal.WithHeaders<
+ java.util.List>
+ response = responseFn.apply(rawResponse);
+ javax.ws.rs.core.MultivaluedMap headers =
+ response.getHeaders();
+
+ ListVirtualCircuitPublicPrefixesResponse.Builder builder =
+ ListVirtualCircuitPublicPrefixesResponse.builder();
+
+ builder.items(response.getItem());
+
+ com.google.common.base.Optional>
+ opcRequestIdHeader =
+ com.oracle.bmc.http.internal.HeaderUtils.get(
+ headers, "opc-request-id");
+ if (opcRequestIdHeader.isPresent()) {
+ builder.opcRequestId(
+ com.oracle.bmc.http.internal.HeaderUtils.toValue(
+ "opc-request-id",
+ opcRequestIdHeader.get().get(0),
+ String.class));
+ }
+
+ ListVirtualCircuitPublicPrefixesResponse responseWrapper =
+ builder.build();
+
+ return responseWrapper;
+ }
+ };
+ return transformer;
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitsConverter.java
index 472a454cb4f..d736ca9f62e 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVirtualCircuitsConverter.java
@@ -83,7 +83,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumeBackupsConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumeBackupsConverter.java
index 06f65edbd6d..59f59b682f8 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumeBackupsConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumeBackupsConverter.java
@@ -91,7 +91,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumesConverter.java b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumesConverter.java
index dd339c61190..605b2bcdd33 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumesConverter.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/internal/http/ListVolumesConverter.java
@@ -91,7 +91,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/BulkAddVirtualCircuitPublicPrefixesDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/BulkAddVirtualCircuitPublicPrefixesDetails.java
new file mode 100644
index 00000000000..43dc77fbc49
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/BulkAddVirtualCircuitPublicPrefixesDetails.java
@@ -0,0 +1,60 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.model;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BulkAddVirtualCircuitPublicPrefixesDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class BulkAddVirtualCircuitPublicPrefixesDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPrefixes")
+ private java.util.List publicPrefixes;
+
+ public Builder publicPrefixes(
+ java.util.List publicPrefixes) {
+ this.publicPrefixes = publicPrefixes;
+ this.__explicitlySet__.add("publicPrefixes");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public BulkAddVirtualCircuitPublicPrefixesDetails build() {
+ BulkAddVirtualCircuitPublicPrefixesDetails __instance__ =
+ new BulkAddVirtualCircuitPublicPrefixesDetails(publicPrefixes);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BulkAddVirtualCircuitPublicPrefixesDetails o) {
+ Builder copiedBuilder = publicPrefixes(o.getPublicPrefixes());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * The public IP prefixes (CIDRs) to add to the public virtual circuit.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPrefixes")
+ java.util.List publicPrefixes;
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/BulkDeleteVirtualCircuitPublicPrefixesDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/BulkDeleteVirtualCircuitPublicPrefixesDetails.java
new file mode 100644
index 00000000000..ac3b94f9f7c
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/BulkDeleteVirtualCircuitPublicPrefixesDetails.java
@@ -0,0 +1,60 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.model;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = BulkDeleteVirtualCircuitPublicPrefixesDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class BulkDeleteVirtualCircuitPublicPrefixesDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPrefixes")
+ private java.util.List publicPrefixes;
+
+ public Builder publicPrefixes(
+ java.util.List publicPrefixes) {
+ this.publicPrefixes = publicPrefixes;
+ this.__explicitlySet__.add("publicPrefixes");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public BulkDeleteVirtualCircuitPublicPrefixesDetails build() {
+ BulkDeleteVirtualCircuitPublicPrefixesDetails __instance__ =
+ new BulkDeleteVirtualCircuitPublicPrefixesDetails(publicPrefixes);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(BulkDeleteVirtualCircuitPublicPrefixesDetails o) {
+ Builder copiedBuilder = publicPrefixes(o.getPublicPrefixes());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * The public IP prefixes (CIDRs) to remove from the public virtual circuit.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPrefixes")
+ java.util.List publicPrefixes;
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitDetails.java
index 8139127e85d..28660ebcc59 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitDetails.java
@@ -77,6 +77,15 @@ public Builder providerName(String providerName) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("providerServiceId")
+ private String providerServiceId;
+
+ public Builder providerServiceId(String providerServiceId) {
+ this.providerServiceId = providerServiceId;
+ this.__explicitlySet__.add("providerServiceId");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("providerServiceName")
private String providerServiceName;
@@ -86,6 +95,16 @@ public Builder providerServiceName(String providerServiceName) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPrefixes")
+ private java.util.List publicPrefixes;
+
+ public Builder publicPrefixes(
+ java.util.List publicPrefixes) {
+ this.publicPrefixes = publicPrefixes;
+ this.__explicitlySet__.add("publicPrefixes");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("region")
private String region;
@@ -117,7 +136,9 @@ public CreateVirtualCircuitDetails build() {
displayName,
gatewayId,
providerName,
+ providerServiceId,
providerServiceName,
+ publicPrefixes,
region,
type);
__instance__.__explicitlySet__.addAll(__explicitlySet__);
@@ -134,7 +155,9 @@ public Builder copy(CreateVirtualCircuitDetails o) {
.displayName(o.getDisplayName())
.gatewayId(o.getGatewayId())
.providerName(o.getProviderName())
+ .providerServiceId(o.getProviderServiceId())
.providerServiceName(o.getProviderServiceName())
+ .publicPrefixes(o.getPublicPrefixes())
.region(o.getRegion())
.type(o.getType());
@@ -153,7 +176,7 @@ public static Builder builder() {
/**
* The provisioned data rate of the connection. To get a list of the
* available bandwidth levels (that is, shapes), see
- * {@link #listVirtualCircuitBandwidthShapes(ListVirtualCircuitBandwidthShapesRequest) listVirtualCircuitBandwidthShapes}.
+ * {@link #listFastConnectProviderVirtualCircuitBandwidthShapes(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) listFastConnectProviderVirtualCircuitBandwidthShapes}.
*
* Example: `10 Gbps`
*
@@ -193,7 +216,7 @@ public static Builder builder() {
String displayName;
/**
- * The OCID of the {@link Drg}
+ * For private virtual circuits only. The OCID of the {@link Drg}
* that this virtual circuit uses.
*
**/
@@ -201,7 +224,7 @@ public static Builder builder() {
String gatewayId;
/**
- * The name of the provider (if you're connecting via a provider).
+ * Deprecated. Instead use `providerServiceId`.
* To get a list of the provider names, see
* {@link #listFastConnectProviderServices(ListFastConnectProviderServicesRequest) listFastConnectProviderServices}.
*
@@ -210,7 +233,16 @@ public static Builder builder() {
String providerName;
/**
- * The name of the provider (if you're connecting via a provider).
+ * The OCID of the service offered by the provider (if you're connecting
+ * via a provider). To get a list of the available service offerings, see
+ * {@link #listFastConnectProviderServices(ListFastConnectProviderServicesRequest) listFastConnectProviderServices}.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("providerServiceId")
+ String providerServiceId;
+
+ /**
+ * Deprecated. Instead use `providerServiceId`.
* To get a list of the provider names, see
* {@link #listFastConnectProviderServices(ListFastConnectProviderServicesRequest) listFastConnectProviderServices}.
*
@@ -218,6 +250,14 @@ public static Builder builder() {
@com.fasterxml.jackson.annotation.JsonProperty("providerServiceName")
String providerServiceName;
+ /**
+ * For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to
+ * advertise across the connection.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPrefixes")
+ java.util.List publicPrefixes;
+
/**
* The Oracle Cloud Infrastructure region where this virtual
* circuit is located.
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitPublicPrefixDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitPublicPrefixDetails.java
new file mode 100644
index 00000000000..276339feb7d
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CreateVirtualCircuitPublicPrefixDetails.java
@@ -0,0 +1,61 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.model;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = CreateVirtualCircuitPublicPrefixDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class CreateVirtualCircuitPublicPrefixDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock")
+ private String cidrBlock;
+
+ public Builder cidrBlock(String cidrBlock) {
+ this.cidrBlock = cidrBlock;
+ this.__explicitlySet__.add("cidrBlock");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public CreateVirtualCircuitPublicPrefixDetails build() {
+ CreateVirtualCircuitPublicPrefixDetails __instance__ =
+ new CreateVirtualCircuitPublicPrefixDetails(cidrBlock);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(CreateVirtualCircuitPublicPrefixDetails o) {
+ Builder copiedBuilder = cidrBlock(o.getCidrBlock());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * An individual public IP prefix (CIDR) to add to the public virtual circuit.
+ * Must be /24 or less specific.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock")
+ String cidrBlock;
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectMapping.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectMapping.java
index 3eac357c048..521c8e57432 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectMapping.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/CrossConnectMapping.java
@@ -15,7 +15,9 @@
*
* If you're a customer who is colocated with Oracle, that means you own both
* the virtual circuit and the physical connection it runs on (cross-connect or
- * cross-connect group), so you specify all the information in the mapping.
+ * cross-connect group), so you specify all the information in the mapping. There's
+ * one exception: for a public virtual circuit, Oracle specifies the BGP IP
+ * addresses.
*
* If you're a provider, then you own the physical connection that the customer's
* virtual circuit runs on, so you contribute information about the cross-connect
@@ -25,7 +27,8 @@
* provider? If the BGP session goes from Oracle to the provider's edge router, then
* the provider also specifies the BGP peering information. If the BGP session instead
* goes from Oracle to the customer's edge router, then the customer specifies the BGP
- * peering information.
+ * peering information. There's one exception: for a public virtual circuit, Oracle
+ * specifies the BGP IP addresses.
*
**/
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
@@ -146,6 +149,8 @@ public static Builder builder() {
* session goes from Oracle to a provider, this is the BGP IP address of the
* provider's edge router. Must use a /30 or /31 subnet mask.
*
+ * There's one exception: for a public virtual circuit, Oracle specifies the BGP IP addresses.
+ *
* Example: `10.0.0.18/31`
*
**/
@@ -158,6 +163,8 @@ public static Builder builder() {
* the customer specifies this information. If the session goes from Oracle to
* a provider's edge router, the provider specifies this.
*
+ * There's one exception: for a public virtual circuit, Oracle specifies the BGP IP addresses.
+ *
* Example: `10.0.0.19/31`
*
**/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/DeleteVirtualCircuitPublicPrefixDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/DeleteVirtualCircuitPublicPrefixDetails.java
new file mode 100644
index 00000000000..27d81c21cf6
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/DeleteVirtualCircuitPublicPrefixDetails.java
@@ -0,0 +1,59 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.model;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = DeleteVirtualCircuitPublicPrefixDetails.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class DeleteVirtualCircuitPublicPrefixDetails {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock")
+ private String cidrBlock;
+
+ public Builder cidrBlock(String cidrBlock) {
+ this.cidrBlock = cidrBlock;
+ this.__explicitlySet__.add("cidrBlock");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public DeleteVirtualCircuitPublicPrefixDetails build() {
+ DeleteVirtualCircuitPublicPrefixDetails __instance__ =
+ new DeleteVirtualCircuitPublicPrefixDetails(cidrBlock);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(DeleteVirtualCircuitPublicPrefixDetails o) {
+ Builder copiedBuilder = cidrBlock(o.getCidrBlock());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * An individual public IP prefix (CIDR) to remove from the public virtual circuit.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock")
+ String cidrBlock;
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/FastConnectProviderService.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/FastConnectProviderService.java
index 8cc60b6b285..8c5c712415d 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/FastConnectProviderService.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/FastConnectProviderService.java
@@ -27,6 +27,25 @@ public Builder description(String description) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ private String id;
+
+ public Builder id(String id) {
+ this.id = id;
+ this.__explicitlySet__.add("id");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("privatePeeringBgpManagement")
+ private PrivatePeeringBgpManagement privatePeeringBgpManagement;
+
+ public Builder privatePeeringBgpManagement(
+ PrivatePeeringBgpManagement privatePeeringBgpManagement) {
+ this.privatePeeringBgpManagement = privatePeeringBgpManagement;
+ this.__explicitlySet__.add("privatePeeringBgpManagement");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("providerName")
private String providerName;
@@ -45,12 +64,49 @@ public Builder providerServiceName(String providerServiceName) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPeeringBgpManagement")
+ private PublicPeeringBgpManagement publicPeeringBgpManagement;
+
+ public Builder publicPeeringBgpManagement(
+ PublicPeeringBgpManagement publicPeeringBgpManagement) {
+ this.publicPeeringBgpManagement = publicPeeringBgpManagement;
+ this.__explicitlySet__.add("publicPeeringBgpManagement");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("supportedVirtualCircuitTypes")
+ private java.util.List supportedVirtualCircuitTypes;
+
+ public Builder supportedVirtualCircuitTypes(
+ java.util.List supportedVirtualCircuitTypes) {
+ this.supportedVirtualCircuitTypes = supportedVirtualCircuitTypes;
+ this.__explicitlySet__.add("supportedVirtualCircuitTypes");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("type")
+ private Type type;
+
+ public Builder type(Type type) {
+ this.type = type;
+ this.__explicitlySet__.add("type");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
public FastConnectProviderService build() {
FastConnectProviderService __instance__ =
- new FastConnectProviderService(description, providerName, providerServiceName);
+ new FastConnectProviderService(
+ description,
+ id,
+ privatePeeringBgpManagement,
+ providerName,
+ providerServiceName,
+ publicPeeringBgpManagement,
+ supportedVirtualCircuitTypes,
+ type);
__instance__.__explicitlySet__.addAll(__explicitlySet__);
return __instance__;
}
@@ -59,8 +115,13 @@ public FastConnectProviderService build() {
public Builder copy(FastConnectProviderService o) {
Builder copiedBuilder =
description(o.getDescription())
+ .id(o.getId())
+ .privatePeeringBgpManagement(o.getPrivatePeeringBgpManagement())
.providerName(o.getProviderName())
- .providerServiceName(o.getProviderServiceName());
+ .providerServiceName(o.getProviderServiceName())
+ .publicPeeringBgpManagement(o.getPublicPeeringBgpManagement())
+ .supportedVirtualCircuitTypes(o.getSupportedVirtualCircuitTypes())
+ .type(o.getType());
copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
return copiedBuilder;
@@ -81,6 +142,67 @@ public static Builder builder() {
@com.fasterxml.jackson.annotation.JsonProperty("description")
String description;
+ /**
+ * The OCID of the service offered by the provider.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("id")
+ String id;
+ /**
+ * Private peering BGP management.
+ *
+ **/
+ @lombok.extern.slf4j.Slf4j
+ public enum PrivatePeeringBgpManagement {
+ CustomerManaged("CUSTOMER_MANAGED"),
+ ProviderManaged("PROVIDER_MANAGED"),
+ OracleManaged("ORACLE_MANAGED"),
+
+ /**
+ * 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 final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (PrivatePeeringBgpManagement v : PrivatePeeringBgpManagement.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ PrivatePeeringBgpManagement(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static PrivatePeeringBgpManagement create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'PrivatePeeringBgpManagement', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * Private peering BGP management.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("privatePeeringBgpManagement")
+ PrivatePeeringBgpManagement privatePeeringBgpManagement;
+
/**
* The name of the provider.
*
@@ -94,6 +216,163 @@ public static Builder builder() {
**/
@com.fasterxml.jackson.annotation.JsonProperty("providerServiceName")
String providerServiceName;
+ /**
+ * Public peering BGP management.
+ *
+ **/
+ @lombok.extern.slf4j.Slf4j
+ public enum PublicPeeringBgpManagement {
+ CustomerManaged("CUSTOMER_MANAGED"),
+ ProviderManaged("PROVIDER_MANAGED"),
+ OracleManaged("ORACLE_MANAGED"),
+
+ /**
+ * 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 final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (PublicPeeringBgpManagement v : PublicPeeringBgpManagement.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ PublicPeeringBgpManagement(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static PublicPeeringBgpManagement create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'PublicPeeringBgpManagement', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * Public peering BGP management.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPeeringBgpManagement")
+ PublicPeeringBgpManagement publicPeeringBgpManagement;
+ /**
+ **/
+ @lombok.extern.slf4j.Slf4j
+ public enum SupportedVirtualCircuitTypes {
+ Public("PUBLIC"),
+ Private("PRIVATE"),
+
+ /**
+ * 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 final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (SupportedVirtualCircuitTypes v : SupportedVirtualCircuitTypes.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ SupportedVirtualCircuitTypes(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static SupportedVirtualCircuitTypes create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'SupportedVirtualCircuitTypes', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * An array of virtual circuit types supported by this service.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("supportedVirtualCircuitTypes")
+ java.util.List supportedVirtualCircuitTypes;
+ /**
+ * Provider service type.
+ *
+ **/
+ @lombok.extern.slf4j.Slf4j
+ public enum Type {
+ Layer2("LAYER2"),
+ Layer3("LAYER3"),
+
+ /**
+ * 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 final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (Type v : Type.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ Type(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static Type create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * Provider service type.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("type")
+ Type type;
@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set __explicitlySet__ = new java.util.HashSet();
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java
index 1b43829683e..6c86dea1f40 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/LaunchInstanceDetails.java
@@ -3,6 +3,11 @@
*/
package com.oracle.bmc.core.model;
+/**
+ * Instance launch details.
+ * Use the sourceDetails parameter to specify whether a boot volume should be used for a new instance launch.
+ *
+ **/
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
@lombok.Value
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/LetterOfAuthority.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/LetterOfAuthority.java
index fff97611f72..83442cefb78 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/LetterOfAuthority.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/LetterOfAuthority.java
@@ -18,6 +18,15 @@ public class LetterOfAuthority {
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
@lombok.experimental.Accessors(fluent = true)
public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("authorizedEntityName")
+ private String authorizedEntityName;
+
+ public Builder authorizedEntityName(String authorizedEntityName) {
+ this.authorizedEntityName = authorizedEntityName;
+ this.__explicitlySet__.add("authorizedEntityName");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("circuitType")
private CircuitType circuitType;
@@ -78,6 +87,7 @@ public Builder timeIssued(java.util.Date timeIssued) {
public LetterOfAuthority build() {
LetterOfAuthority __instance__ =
new LetterOfAuthority(
+ authorizedEntityName,
circuitType,
crossConnectId,
facilityLocation,
@@ -91,7 +101,8 @@ public LetterOfAuthority build() {
@com.fasterxml.jackson.annotation.JsonIgnore
public Builder copy(LetterOfAuthority o) {
Builder copiedBuilder =
- circuitType(o.getCircuitType())
+ authorizedEntityName(o.getAuthorizedEntityName())
+ .circuitType(o.getCircuitType())
.crossConnectId(o.getCrossConnectId())
.facilityLocation(o.getFacilityLocation())
.portName(o.getPortName())
@@ -110,6 +121,11 @@ public static Builder builder() {
return new Builder();
}
+ /**
+ * The name of the entity authorized by this Letter of Authority.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("authorizedEntityName")
+ String authorizedEntityName;
/**
* The type of cross-connect fiber, termination, and optical specification.
**/
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVirtualCircuitDetails.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVirtualCircuitDetails.java
index 050d778924c..2a65680bef7 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVirtualCircuitDetails.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/UpdateVirtualCircuitDetails.java
@@ -120,7 +120,7 @@ public static Builder builder() {
/**
* The provisioned data rate of the connection. To get a list of the
* available bandwidth levels (that is, shapes), see
- * {@link #listVirtualCircuitBandwidthShapes(ListVirtualCircuitBandwidthShapesRequest) listVirtualCircuitBandwidthShapes}.
+ * {@link #listFastConnectProviderVirtualCircuitBandwidthShapes(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) listFastConnectProviderVirtualCircuitBandwidthShapes}.
* To be updated only by the customer who owns the virtual circuit.
*
**/
@@ -167,7 +167,7 @@ public static Builder builder() {
/**
* The OCID of the {@link Drg}
- * that this virtual circuit uses.
+ * that this private virtual circuit uses.
*
* To be updated only by the customer who owns the virtual circuit.
*
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuit.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuit.java
index 9824d5bd8b0..5ced58b11a0 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuit.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuit.java
@@ -8,9 +8,9 @@
*
* A virtual circuit is an isolated network path that runs over one or more physical
* network connections to provide a single, logical connection between the edge router
- * on the customer's existing network and a DRG. A customer could have multiple virtual
- * circuits, for example, to isolate traffic from different parts of their organization
- * (one virtual circuit for 10.0.1.0/24, another for 172.16.0.0/16), or to provide redundancy.
+ * on the customer's existing network and Oracle Cloud Infrastructure. *Private*
+ * virtual circuits support private peering, and *public* virtual circuits support
+ * public peering. For more information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
*
* Each virtual circuit is made up of information shared between a customer, Oracle,
* and a provider (if the customer is using FastConnect via a provider). Who fills in
@@ -20,8 +20,6 @@
* for some of the properties may not be present immediately, but may get filled in as the
* provider and Oracle each do their part to provision the virtual circuit.
*
- * For more information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
- *
* 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 give users access, see
* [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
@@ -44,6 +42,15 @@ public Builder bandwidthShapeName(String bandwidthShapeName) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("bgpManagement")
+ private BgpManagement bgpManagement;
+
+ public Builder bgpManagement(BgpManagement bgpManagement) {
+ this.bgpManagement = bgpManagement;
+ this.__explicitlySet__.add("bgpManagement");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("bgpSessionState")
private BgpSessionState bgpSessionState;
@@ -135,6 +142,15 @@ public Builder providerName(String providerName) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("providerServiceId")
+ private String providerServiceId;
+
+ public Builder providerServiceId(String providerServiceId) {
+ this.providerServiceId = providerServiceId;
+ this.__explicitlySet__.add("providerServiceId");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("providerServiceName")
private String providerServiceName;
@@ -153,6 +169,15 @@ public Builder providerState(ProviderState providerState) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPrefixes")
+ private java.util.List publicPrefixes;
+
+ public Builder publicPrefixes(java.util.List publicPrefixes) {
+ this.publicPrefixes = publicPrefixes;
+ this.__explicitlySet__.add("publicPrefixes");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("referenceComment")
private String referenceComment;
@@ -171,6 +196,15 @@ public Builder region(String region) {
return this;
}
+ @com.fasterxml.jackson.annotation.JsonProperty("serviceType")
+ private ServiceType serviceType;
+
+ public Builder serviceType(ServiceType serviceType) {
+ this.serviceType = serviceType;
+ this.__explicitlySet__.add("serviceType");
+ return this;
+ }
+
@com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
private java.util.Date timeCreated;
@@ -196,6 +230,7 @@ public VirtualCircuit build() {
VirtualCircuit __instance__ =
new VirtualCircuit(
bandwidthShapeName,
+ bgpManagement,
bgpSessionState,
compartmentId,
crossConnectMappings,
@@ -206,10 +241,13 @@ public VirtualCircuit build() {
lifecycleState,
oracleBgpAsn,
providerName,
+ providerServiceId,
providerServiceName,
providerState,
+ publicPrefixes,
referenceComment,
region,
+ serviceType,
timeCreated,
type);
__instance__.__explicitlySet__.addAll(__explicitlySet__);
@@ -220,6 +258,7 @@ public VirtualCircuit build() {
public Builder copy(VirtualCircuit o) {
Builder copiedBuilder =
bandwidthShapeName(o.getBandwidthShapeName())
+ .bgpManagement(o.getBgpManagement())
.bgpSessionState(o.getBgpSessionState())
.compartmentId(o.getCompartmentId())
.crossConnectMappings(o.getCrossConnectMappings())
@@ -230,10 +269,13 @@ public Builder copy(VirtualCircuit o) {
.lifecycleState(o.getLifecycleState())
.oracleBgpAsn(o.getOracleBgpAsn())
.providerName(o.getProviderName())
+ .providerServiceId(o.getProviderServiceId())
.providerServiceName(o.getProviderServiceName())
.providerState(o.getProviderState())
+ .publicPrefixes(o.getPublicPrefixes())
.referenceComment(o.getReferenceComment())
.region(o.getRegion())
+ .serviceType(o.getServiceType())
.timeCreated(o.getTimeCreated())
.type(o.getType());
@@ -254,6 +296,60 @@ public static Builder builder() {
**/
@com.fasterxml.jackson.annotation.JsonProperty("bandwidthShapeName")
String bandwidthShapeName;
+ /**
+ * BGP management option.
+ *
+ **/
+ @lombok.extern.slf4j.Slf4j
+ public enum BgpManagement {
+ CustomerManaged("CUSTOMER_MANAGED"),
+ ProviderManaged("PROVIDER_MANAGED"),
+ OracleManaged("ORACLE_MANAGED"),
+
+ /**
+ * 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 final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (BgpManagement v : BgpManagement.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ BgpManagement(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static BgpManagement create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'BgpManagement', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * BGP management option.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("bgpManagement")
+ BgpManagement bgpManagement;
/**
* The state of the BGP session associated with the virtual circuit.
**/
@@ -342,7 +438,7 @@ public static BgpSessionState create(String key) {
/**
* The OCID of the customer's {@link Drg}
- * that this virtual circuit uses.
+ * that this virtual circuit uses. Applicable only to private virtual circuits.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("gatewayId")
@@ -424,14 +520,21 @@ public static LifecycleState create(String key) {
Integer oracleBgpAsn;
/**
- * The name of the provider (if you're connecting via a provider).
+ * Deprecated. Instead use `providerServiceId`.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("providerName")
String providerName;
/**
- * The name of the service offered by the provider.
+ * The OCID of the service offered by the provider (if the customer is connecting via a provider).
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("providerServiceId")
+ String providerServiceId;
+
+ /**
+ * Deprecated. Instead use `providerServiceId`.
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("providerServiceName")
@@ -498,6 +601,14 @@ public static ProviderState create(String key) {
@com.fasterxml.jackson.annotation.JsonProperty("providerState")
ProviderState providerState;
+ /**
+ * For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to
+ * advertise across the connection. Each prefix must be /24 or less specific.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("publicPrefixes")
+ java.util.List publicPrefixes;
+
/**
* Provider-supplied reference information about this virtual circuit
* (if the customer is connecting via a provider).
@@ -513,6 +624,60 @@ public static ProviderState create(String key) {
**/
@com.fasterxml.jackson.annotation.JsonProperty("region")
String region;
+ /**
+ * Provider service type.
+ *
+ **/
+ @lombok.extern.slf4j.Slf4j
+ public enum ServiceType {
+ Colocated("COLOCATED"),
+ Layer2("LAYER2"),
+ Layer3("LAYER3"),
+
+ /**
+ * 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 final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (ServiceType v : ServiceType.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ ServiceType(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static ServiceType create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'ServiceType', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * Provider service type.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("serviceType")
+ ServiceType serviceType;
/**
* The date and time the virtual circuit was created,
@@ -524,9 +689,8 @@ public static ProviderState create(String key) {
@com.fasterxml.jackson.annotation.JsonProperty("timeCreated")
java.util.Date timeCreated;
/**
- * The type of IP addresses used in this virtual circuit. PRIVATE means
- * [RFC 1918](https://tools.ietf.org/html/rfc1918) addresses
- * (10.0.0.0/8, 172.16/12, and 192.168/16). Only PRIVATE is supported.
+ * Whether the virtual circuit supports private or public peering. For more information,
+ * see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
*
**/
@lombok.extern.slf4j.Slf4j
@@ -572,9 +736,8 @@ public static Type create(String key) {
}
};
/**
- * The type of IP addresses used in this virtual circuit. PRIVATE means
- * [RFC 1918](https://tools.ietf.org/html/rfc1918) addresses
- * (10.0.0.0/8, 172.16/12, and 192.168/16). Only PRIVATE is supported.
+ * Whether the virtual circuit supports private or public peering. For more information,
+ * see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
*
**/
@com.fasterxml.jackson.annotation.JsonProperty("type")
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuitPublicPrefix.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuitPublicPrefix.java
new file mode 100644
index 00000000000..bebedd26d17
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/VirtualCircuitPublicPrefix.java
@@ -0,0 +1,137 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.model;
+
+/**
+ * A public IP prefix and its details. With a public virtual circuit, the customer
+ * specifies the customer-owned public IP prefixes to advertise across the connection.
+ * For more information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
+ *
+ **/
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Value
+@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
+ builder = VirtualCircuitPublicPrefix.Builder.class
+)
+@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)
+public class VirtualCircuitPublicPrefix {
+ @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "")
+ @lombok.experimental.Accessors(fluent = true)
+ public static class Builder {
+ @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock")
+ private String cidrBlock;
+
+ public Builder cidrBlock(String cidrBlock) {
+ this.cidrBlock = cidrBlock;
+ this.__explicitlySet__.add("cidrBlock");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonProperty("verificationState")
+ private VerificationState verificationState;
+
+ public Builder verificationState(VerificationState verificationState) {
+ this.verificationState = verificationState;
+ this.__explicitlySet__.add("verificationState");
+ return this;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+
+ public VirtualCircuitPublicPrefix build() {
+ VirtualCircuitPublicPrefix __instance__ =
+ new VirtualCircuitPublicPrefix(cidrBlock, verificationState);
+ __instance__.__explicitlySet__.addAll(__explicitlySet__);
+ return __instance__;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ public Builder copy(VirtualCircuitPublicPrefix o) {
+ Builder copiedBuilder =
+ cidrBlock(o.getCidrBlock()).verificationState(o.getVerificationState());
+
+ copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
+ return copiedBuilder;
+ }
+ }
+
+ /**
+ * Create a new builder.
+ */
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ /**
+ * Publix IP prefix (CIDR) that the customer specified.
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock")
+ String cidrBlock;
+ /**
+ * Oracle must verify that the customer owns the public IP prefix before traffic
+ * for that prefix can flow across the virtual circuit. Verification can take a
+ * few business days. `IN_PROGRESS` means Oracle is verifying the prefix. `COMPLETED`
+ * means verification succeeded. `FAILED` means verification failed and traffic for
+ * this prefix will not flow across the connection.
+ *
+ **/
+ @lombok.extern.slf4j.Slf4j
+ public enum VerificationState {
+ InProgress("IN_PROGRESS"),
+ Completed("COMPLETED"),
+ Failed("FAILED"),
+
+ /**
+ * 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 final String value;
+ private static java.util.Map map;
+
+ static {
+ map = new java.util.HashMap<>();
+ for (VerificationState v : VerificationState.values()) {
+ if (v != UnknownEnumValue) {
+ map.put(v.getValue(), v);
+ }
+ }
+ }
+
+ VerificationState(String value) {
+ this.value = value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @com.fasterxml.jackson.annotation.JsonCreator
+ public static VerificationState create(String key) {
+ if (map.containsKey(key)) {
+ return map.get(key);
+ }
+ LOG.warn(
+ "Received unknown value '{}' for enum 'VerificationState', returning UnknownEnumValue",
+ key);
+ return UnknownEnumValue;
+ }
+ };
+ /**
+ * Oracle must verify that the customer owns the public IP prefix before traffic
+ * for that prefix can flow across the virtual circuit. Verification can take a
+ * few business days. `IN_PROGRESS` means Oracle is verifying the prefix. `COMPLETED`
+ * means verification succeeded. `FAILED` means verification failed and traffic for
+ * this prefix will not flow across the connection.
+ *
+ **/
+ @com.fasterxml.jackson.annotation.JsonProperty("verificationState")
+ VerificationState verificationState;
+
+ @com.fasterxml.jackson.annotation.JsonIgnore
+ private final java.util.Set __explicitlySet__ = new java.util.HashSet();
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/BulkAddVirtualCircuitPublicPrefixesRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/BulkAddVirtualCircuitPublicPrefixesRequest.java
new file mode 100644
index 00000000000..16ead609b06
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/BulkAddVirtualCircuitPublicPrefixesRequest.java
@@ -0,0 +1,66 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.requests;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder", buildMethodName = "buildWithoutInvocationCallback")
+@lombok.Getter
+public class BulkAddVirtualCircuitPublicPrefixesRequest extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The OCID of the virtual circuit.
+ */
+ private String virtualCircuitId;
+
+ /**
+ * Request with publix prefixes to be added to the virtual circuit
+ */
+ private BulkAddVirtualCircuitPublicPrefixesDetails bulkAddVirtualCircuitPublicPrefixesDetails;
+
+ public static class Builder {
+ private com.oracle.bmc.util.internal.Consumer
+ invocationCallback = null;
+
+ /**
+ * 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.util.internal.Consumer
+ invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(BulkAddVirtualCircuitPublicPrefixesRequest o) {
+ virtualCircuitId(o.getVirtualCircuitId());
+ bulkAddVirtualCircuitPublicPrefixesDetails(
+ o.getBulkAddVirtualCircuitPublicPrefixesDetails());
+ return this;
+ }
+
+ /**
+ * Build the instance of BulkAddVirtualCircuitPublicPrefixesRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ * This is the preferred method to build an instance.
+ *
+ * @return instance of BulkAddVirtualCircuitPublicPrefixesRequest
+ */
+ public BulkAddVirtualCircuitPublicPrefixesRequest build() {
+ BulkAddVirtualCircuitPublicPrefixesRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ return request;
+ }
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/BulkDeleteVirtualCircuitPublicPrefixesRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/BulkDeleteVirtualCircuitPublicPrefixesRequest.java
new file mode 100644
index 00000000000..68374e2d34d
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/BulkDeleteVirtualCircuitPublicPrefixesRequest.java
@@ -0,0 +1,69 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.requests;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder", buildMethodName = "buildWithoutInvocationCallback")
+@lombok.Getter
+public class BulkDeleteVirtualCircuitPublicPrefixesRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The OCID of the virtual circuit.
+ */
+ private String virtualCircuitId;
+
+ /**
+ * Request with publix prefixes to be deleted from the virtual circuit
+ */
+ private BulkDeleteVirtualCircuitPublicPrefixesDetails
+ bulkDeleteVirtualCircuitPublicPrefixesDetails;
+
+ public static class Builder {
+ private com.oracle.bmc.util.internal.Consumer
+ invocationCallback = null;
+
+ /**
+ * 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.util.internal.Consumer
+ invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(BulkDeleteVirtualCircuitPublicPrefixesRequest o) {
+ virtualCircuitId(o.getVirtualCircuitId());
+ bulkDeleteVirtualCircuitPublicPrefixesDetails(
+ o.getBulkDeleteVirtualCircuitPublicPrefixesDetails());
+ return this;
+ }
+
+ /**
+ * Build the instance of BulkDeleteVirtualCircuitPublicPrefixesRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ * This is the preferred method to build an instance.
+ *
+ * @return instance of BulkDeleteVirtualCircuitPublicPrefixesRequest
+ */
+ public BulkDeleteVirtualCircuitPublicPrefixesRequest build() {
+ BulkDeleteVirtualCircuitPublicPrefixesRequest request =
+ buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ return request;
+ }
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/GetFastConnectProviderServiceRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/GetFastConnectProviderServiceRequest.java
new file mode 100644
index 00000000000..48b1b1a1d1e
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/GetFastConnectProviderServiceRequest.java
@@ -0,0 +1,59 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.requests;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder", buildMethodName = "buildWithoutInvocationCallback")
+@lombok.Getter
+public class GetFastConnectProviderServiceRequest extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The OCID of the provider service.
+ */
+ private String providerServiceId;
+
+ public static class Builder {
+ private com.oracle.bmc.util.internal.Consumer
+ invocationCallback = null;
+
+ /**
+ * 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.util.internal.Consumer
+ invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(GetFastConnectProviderServiceRequest o) {
+ providerServiceId(o.getProviderServiceId());
+ return this;
+ }
+
+ /**
+ * Build the instance of GetFastConnectProviderServiceRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ * This is the preferred method to build an instance.
+ *
+ * @return instance of GetFastConnectProviderServiceRequest
+ */
+ public GetFastConnectProviderServiceRequest build() {
+ GetFastConnectProviderServiceRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ return request;
+ }
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListFastConnectProviderVirtualCircuitBandwidthShapesRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListFastConnectProviderVirtualCircuitBandwidthShapesRequest.java
new file mode 100644
index 00000000000..d1c8bda0abe
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListFastConnectProviderVirtualCircuitBandwidthShapesRequest.java
@@ -0,0 +1,77 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.requests;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder", buildMethodName = "buildWithoutInvocationCallback")
+@lombok.Getter
+public class ListFastConnectProviderVirtualCircuitBandwidthShapesRequest
+ extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The OCID of the provider service.
+ */
+ private String providerServiceId;
+
+ /**
+ * The maximum number of items to return in a paginated \"List\" call.
+ *
+ * Example: `500`
+ *
+ */
+ private Integer limit;
+
+ /**
+ * The value of the `opc-next-page` response header from the previous \"List\" call.
+ *
+ */
+ private String page;
+
+ public static class Builder {
+ private com.oracle.bmc.util.internal.Consumer
+ invocationCallback = null;
+
+ /**
+ * 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.util.internal.Consumer
+ invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest o) {
+ providerServiceId(o.getProviderServiceId());
+ limit(o.getLimit());
+ page(o.getPage());
+ return this;
+ }
+
+ /**
+ * Build the instance of ListFastConnectProviderVirtualCircuitBandwidthShapesRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ * This is the preferred method to build an instance.
+ *
+ * @return instance of ListFastConnectProviderVirtualCircuitBandwidthShapesRequest
+ */
+ public ListFastConnectProviderVirtualCircuitBandwidthShapesRequest build() {
+ ListFastConnectProviderVirtualCircuitBandwidthShapesRequest request =
+ buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ return request;
+ }
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListVirtualCircuitPublicPrefixesRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListVirtualCircuitPublicPrefixesRequest.java
new file mode 100644
index 00000000000..0a3324d11fd
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/ListVirtualCircuitPublicPrefixesRequest.java
@@ -0,0 +1,67 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.requests;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder", buildMethodName = "buildWithoutInvocationCallback")
+@lombok.Getter
+public class ListVirtualCircuitPublicPrefixesRequest extends com.oracle.bmc.requests.BmcRequest {
+
+ /**
+ * The OCID of the virtual circuit.
+ */
+ private String virtualCircuitId;
+
+ /**
+ * A filter to only return resources that match the given verification state.
+ * The state value is case-insensitive.
+ *
+ */
+ private VirtualCircuitPublicPrefix.VerificationState verificationState;
+
+ public static class Builder {
+ private com.oracle.bmc.util.internal.Consumer
+ invocationCallback = null;
+
+ /**
+ * 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.util.internal.Consumer
+ invocationCallback) {
+ this.invocationCallback = invocationCallback;
+ return this;
+ }
+
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(ListVirtualCircuitPublicPrefixesRequest o) {
+ virtualCircuitId(o.getVirtualCircuitId());
+ verificationState(o.getVerificationState());
+ return this;
+ }
+
+ /**
+ * Build the instance of ListVirtualCircuitPublicPrefixesRequest as configured by this builder
+ *
+ * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
+ * while the method {@link Builder#buildWithoutInvocationCallback} does not.
+ *
+ * This is the preferred method to build an instance.
+ *
+ * @return instance of ListVirtualCircuitPublicPrefixesRequest
+ */
+ public ListVirtualCircuitPublicPrefixesRequest build() {
+ ListVirtualCircuitPublicPrefixesRequest request = buildWithoutInvocationCallback();
+ request.setInvocationCallback(invocationCallback);
+ return request;
+ }
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/requests/TerminateInstanceRequest.java b/bmc-core/src/main/java/com/oracle/bmc/core/requests/TerminateInstanceRequest.java
index bb9784aea94..7c944790b75 100644
--- a/bmc-core/src/main/java/com/oracle/bmc/core/requests/TerminateInstanceRequest.java
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/requests/TerminateInstanceRequest.java
@@ -25,6 +25,8 @@ public class TerminateInstanceRequest extends com.oracle.bmc.requests.BmcRequest
/**
* Specifies whether to delete or preserve the boot volume when terminating an instance.
+ * The default value is false.
+ *
*/
private Boolean preserveBootVolume;
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/BulkAddVirtualCircuitPublicPrefixesResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/BulkAddVirtualCircuitPublicPrefixesResponse.java
new file mode 100644
index 00000000000..44d14ff3803
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/BulkAddVirtualCircuitPublicPrefixesResponse.java
@@ -0,0 +1,23 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder")
+@lombok.Getter
+public class BulkAddVirtualCircuitPublicPrefixesResponse {
+
+ public static class Builder {
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(BulkAddVirtualCircuitPublicPrefixesResponse o) {
+
+ return this;
+ }
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/BulkDeleteVirtualCircuitPublicPrefixesResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/BulkDeleteVirtualCircuitPublicPrefixesResponse.java
new file mode 100644
index 00000000000..a0d16619a91
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/BulkDeleteVirtualCircuitPublicPrefixesResponse.java
@@ -0,0 +1,23 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder")
+@lombok.Getter
+public class BulkDeleteVirtualCircuitPublicPrefixesResponse {
+
+ public static class Builder {
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(BulkDeleteVirtualCircuitPublicPrefixesResponse o) {
+
+ return this;
+ }
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/GetFastConnectProviderServiceResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/GetFastConnectProviderServiceResponse.java
new file mode 100644
index 00000000000..43cf8993449
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/GetFastConnectProviderServiceResponse.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder")
+@lombok.Getter
+public class GetFastConnectProviderServiceResponse {
+
+ /**
+ * 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;
+
+ /**
+ * The returned FastConnectProviderService instance.
+ */
+ private FastConnectProviderService fastConnectProviderService;
+
+ public static class Builder {
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(GetFastConnectProviderServiceResponse o) {
+ opcRequestId(o.getOpcRequestId());
+ fastConnectProviderService(o.getFastConnectProviderService());
+
+ return this;
+ }
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListFastConnectProviderVirtualCircuitBandwidthShapesResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListFastConnectProviderVirtualCircuitBandwidthShapesResponse.java
new file mode 100644
index 00000000000..3f7fbc2efbe
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListFastConnectProviderVirtualCircuitBandwidthShapesResponse.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder")
+@lombok.Getter
+public class ListFastConnectProviderVirtualCircuitBandwidthShapesResponse {
+
+ /**
+ * For pagination of a list of items. When paging through a list, if this header appears in the response,
+ * then a partial list might have been returned. Include this value as the `page` parameter for the
+ * subsequent GET request to get the next batch of items.
+ *
+ */
+ private String opcNextPage;
+
+ /**
+ * 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;
+
+ /**
+ * A list of VirtualCircuitBandwidthShape instances.
+ */
+ private java.util.List items;
+
+ public static class Builder {
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(ListFastConnectProviderVirtualCircuitBandwidthShapesResponse o) {
+ opcNextPage(o.getOpcNextPage());
+ opcRequestId(o.getOpcRequestId());
+ items(o.getItems());
+
+ return this;
+ }
+ }
+}
diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListVirtualCircuitPublicPrefixesResponse.java b/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListVirtualCircuitPublicPrefixesResponse.java
new file mode 100644
index 00000000000..2ba2b8345ab
--- /dev/null
+++ b/bmc-core/src/main/java/com/oracle/bmc/core/responses/ListVirtualCircuitPublicPrefixesResponse.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ */
+package com.oracle.bmc.core.responses;
+
+import com.oracle.bmc.core.model.*;
+
+@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
+@lombok.Builder(builderClassName = "Builder")
+@lombok.Getter
+public class ListVirtualCircuitPublicPrefixesResponse {
+
+ /**
+ * 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;
+
+ /**
+ * A list of VirtualCircuitPublicPrefix instances.
+ */
+ private java.util.List items;
+
+ public static class Builder {
+ /**
+ * Copy method to populate the builder with values from the given instance.
+ * @return this builder instance
+ */
+ public Builder copy(ListVirtualCircuitPublicPrefixesResponse o) {
+ opcRequestId(o.getOpcRequestId());
+ items(o.getItems());
+
+ return this;
+ }
+ }
+}
diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml
index ddcca626b42..797549cd68a 100644
--- a/bmc-database/pom.xml
+++ b/bmc-database/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.2.18
+ 1.2.20
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.2.18
+ 1.2.20
diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml
index 406a7e7d09d..bdb55546850 100644
--- a/bmc-examples/pom.xml
+++ b/bmc-examples/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.2.18
+ 1.2.20
../pom.xml
@@ -19,7 +19,7 @@
com.oracle.oci.sdk
oci-java-sdk-bom
- 1.2.18
+ 1.2.20
pom
import
diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml
index 581dcbdc9ed..b1fbd3cee74 100644
--- a/bmc-identity/pom.xml
+++ b/bmc-identity/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.2.18
+ 1.2.20
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.2.18
+ 1.2.20
diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml
index 005fe366cba..ab517fb27f1 100644
--- a/bmc-loadbalancer/pom.xml
+++ b/bmc-loadbalancer/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.2.18
+ 1.2.20
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.2.18
+ 1.2.20
diff --git a/bmc-loadbalancer/src/main/java/com/oracle/bmc/loadbalancer/internal/http/ListLoadBalancersConverter.java b/bmc-loadbalancer/src/main/java/com/oracle/bmc/loadbalancer/internal/http/ListLoadBalancersConverter.java
index bc4f76ecece..f6048d3ed63 100644
--- a/bmc-loadbalancer/src/main/java/com/oracle/bmc/loadbalancer/internal/http/ListLoadBalancersConverter.java
+++ b/bmc-loadbalancer/src/main/java/com/oracle/bmc/loadbalancer/internal/http/ListLoadBalancersConverter.java
@@ -91,7 +91,7 @@ public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
target.queryParam(
"lifecycleState",
com.oracle.bmc.util.internal.HttpUtils.attemptEncodeQueryParam(
- request.getLifecycleState()));
+ request.getLifecycleState().getValue()));
}
com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = target.request();
diff --git a/bmc-objectstorage/pom.xml b/bmc-objectstorage/pom.xml
index a139726a0b5..51d09760a70 100644
--- a/bmc-objectstorage/pom.xml
+++ b/bmc-objectstorage/pom.xml
@@ -5,7 +5,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.2.18
+ 1.2.20
../pom.xml
@@ -18,7 +18,7 @@
com.oracle.oci.sdk
oci-java-sdk-common
- 1.2.18
+ 1.2.20
diff --git a/pom.xml b/pom.xml
index f8dd88ebf72..df9270f7f34 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.oracle.oci.sdk
oci-java-sdk
- 1.2.18
+ 1.2.20
pom
Oracle Cloud Infrastructure SDK