public static class SwitchoverAutonomousDatabaseResponse.Builder extends Object implements BmcResponse.Builder<SwitchoverAutonomousDatabaseResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SwitchoverAutonomousDatabaseResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
SwitchoverAutonomousDatabaseResponse.Builder |
autonomousDatabase(AutonomousDatabase autonomousDatabase)
The returned
AutonomousDatabase instance. |
SwitchoverAutonomousDatabaseResponse |
build()
Build the response object.
|
SwitchoverAutonomousDatabaseResponse.Builder |
copy(SwitchoverAutonomousDatabaseResponse o)
Copy method to populate the builder with values from the given instance.
|
SwitchoverAutonomousDatabaseResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
SwitchoverAutonomousDatabaseResponse.Builder |
headers(Map<String,List<String>> headers) |
SwitchoverAutonomousDatabaseResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
SwitchoverAutonomousDatabaseResponse.Builder |
opcWorkRequestId(String opcWorkRequestId)
The OCID of the
work request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public SwitchoverAutonomousDatabaseResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<SwitchoverAutonomousDatabaseResponse>
public SwitchoverAutonomousDatabaseResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<SwitchoverAutonomousDatabaseResponse>
public SwitchoverAutonomousDatabaseResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic SwitchoverAutonomousDatabaseResponse.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 SwitchoverAutonomousDatabaseResponse.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 SwitchoverAutonomousDatabaseResponse.Builder autonomousDatabase(AutonomousDatabase autonomousDatabase)
The returned AutonomousDatabase
instance.
autonomousDatabase
- the value to setpublic SwitchoverAutonomousDatabaseResponse.Builder copy(SwitchoverAutonomousDatabaseResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<SwitchoverAutonomousDatabaseResponse>
o
- other request from which to copy valuespublic SwitchoverAutonomousDatabaseResponse build()
Build the response object.
build
in interface BmcResponse.Builder<SwitchoverAutonomousDatabaseResponse>
Copyright © 2016–2024. All rights reserved.