public static class CreateBackupResponse.Builder extends Object implements BmcResponse.Builder<CreateBackupResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateBackupResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
CreateBackupResponse.Builder |
backup(Backup backup)
The returned
Backup instance. |
CreateBackupResponse |
build()
Build the response object.
|
CreateBackupResponse.Builder |
copy(CreateBackupResponse o)
Copy method to populate the builder with values from the given instance.
|
CreateBackupResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
CreateBackupResponse.Builder |
headers(Map<String,List<String>> headers) |
CreateBackupResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateBackupResponse.Builder |
opcWorkRequestId(String opcWorkRequestId)
The OCID of the
work request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public CreateBackupResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<CreateBackupResponse>
public CreateBackupResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<CreateBackupResponse>
public CreateBackupResponse.Builder opcWorkRequestId(String opcWorkRequestId)
The OCID of the
work request. Multiple OCID values are returned in a comma-separated list. Use getWorkRequest
with a work request OCID to track
the status of the request.
opcWorkRequestId
- the value to setpublic CreateBackupResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic CreateBackupResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic CreateBackupResponse.Builder backup(Backup backup)
The returned Backup
instance.
backup
- the value to setpublic CreateBackupResponse.Builder copy(CreateBackupResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<CreateBackupResponse>
o
- other request from which to copy valuespublic CreateBackupResponse build()
Build the response object.
build
in interface BmcResponse.Builder<CreateBackupResponse>
Copyright © 2016–2024. All rights reserved.