Class ChangeDbSystemCompartmentRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public class ChangeDbSystemCompartmentRequest
    extends BmcRequest<ChangeCompartmentDetails>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/database/ChangeDbSystemCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeDbSystemCompartmentRequest.

    • Constructor Detail

      • ChangeDbSystemCompartmentRequest

        public ChangeDbSystemCompartmentRequest()
    • Method Detail

      • getChangeCompartmentDetails

        public ChangeCompartmentDetails getChangeCompartmentDetails()
        Request to move the DB system to a different compartment.

        *Note:** Deprecated for Exadata Cloud Service systems. Use the [new resource model APIs](https://docs.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model) instead.

        For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See [Switching an Exadata DB System to the New Resource Model and APIs](https://docs.oracle.com/iaas/Content/Database/Concepts/exaflexsystem_topic-resource_model_conversion.htm) for details on converting existing Exadata DB systems to the new resource model.

      • getDbSystemId

        public String getDbSystemId()
        The DB system OCID.
      • getOpcRetryToken

        public String getOpcRetryToken()
        A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.

        Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).

      • getOpcRequestId

        public String getOpcRequestId()
        Unique identifier for the request.
      • getIfMatch

        public String getIfMatch()
        For optimistic concurrency control.

        In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.