Class GetReplicaRequest


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

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

    • Constructor Detail

      • GetReplicaRequest

        public GetReplicaRequest()
    • Method Detail

      • getReplicaId

        public String getReplicaId()
        The Replica OCID.
      • getOpcRequestId

        public String getOpcRequestId()
        Customer-defined unique identifier for the request.

        If you need to contact Oracle about a specific request, please provide the request ID that you supplied in this header with the request.

      • getIfNoneMatch

        public String getIfNoneMatch()
        For conditional requests.

        In the GET call for a resource, set the If-None-Match header to the value of the ETag from a previous GET (or POST or PUT) response for that resource. The server will return with either a 304 Not Modified response if the resource has not changed, or a 200 OK response with the updated representation.

      • builder

        public static GetReplicaRequest.Builder builder()
        Return a new builder for this request object.
        Returns:
        builder for the request object
      • 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>