Package com.oracle.bmc.mysql.requests
Class GetReplicaRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.mysql.requests.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetReplicaRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetReplicaRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetReplicaRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getIfNoneMatch()
For conditional requests.String
getOpcRequestId()
Customer-defined unique identifier for the request.String
getReplicaId()
The Replica OCID.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetReplicaRequest.Builder
toBuilder()
Return an instance ofGetReplicaRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
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.
-
toBuilder
public GetReplicaRequest.Builder toBuilder()
Return an instance ofGetReplicaRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetReplicaRequest.Builder
that allows you to modify request properties.
-
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 classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-