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