Package com.oracle.bmc.mysql.requests
Class GetBackupRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.mysql.requests.GetBackupRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public class GetBackupRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/mysql/GetBackupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetBackupRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetBackupRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetBackupRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetBackupRequest.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
getBackupId()
The OCID of the BackupString
getIfNoneMatch()
For conditional requests.String
getOpcRequestId()
Customer-defined unique identifier for the request.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetBackupRequest.Builder
toBuilder()
Return an instance ofGetBackupRequest.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
-
getBackupId
public String getBackupId()
The OCID of the Backup
-
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 GetBackupRequest.Builder toBuilder()
Return an instance ofGetBackupRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetBackupRequest.Builder
that allows you to modify request properties.
-
builder
public static GetBackupRequest.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>
-
-