Class DeleteInfrastructureRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20251101")
    public class DeleteInfrastructureRequest
    extends BmcRequest<Void>

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

    • Constructor Detail

      • DeleteInfrastructureRequest

        public DeleteInfrastructureRequest()
    • Method Detail

      • getInfrastructureId

        public String getInfrastructureId()
        The OCID of the Database Infrastructure.
      • 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 is updated or deleted only if the Etag that you provide matches the current Etag value for the resource.

      • getOpcRequestId

        public String getOpcRequestId()
        The client request identifier.
      • getIsForceDeleteInfrastructure

        public Boolean getIsForceDeleteInfrastructure()
        When set to true, infrastructure will be deleted even if it has dependent resources.

        If set to false, deletion will fail if the infrastructure has dependent resources. Default is false.

      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>