public static class CreateBastionResponse.Builder extends Object implements BmcResponse.Builder<CreateBastionResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateBastionResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
CreateBastionResponse.Builder |
bastion(Bastion bastion)
The returned
Bastion instance. |
CreateBastionResponse |
build()
Build the response object.
|
CreateBastionResponse.Builder |
copy(CreateBastionResponse o)
Copy method to populate the builder with values from the given instance.
|
CreateBastionResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
CreateBastionResponse.Builder |
headers(Map<String,List<String>> headers) |
CreateBastionResponse.Builder |
location(String location)
this contains the full URI for the get request, e.g.
|
CreateBastionResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateBastionResponse.Builder |
opcWorkRequestId(String opcWorkRequestId)
Unique Oracle-assigned identifier for the asynchronous request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public CreateBastionResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<CreateBastionResponse>
public CreateBastionResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<CreateBastionResponse>
public CreateBastionResponse.Builder opcWorkRequestId(String opcWorkRequestId)
Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
opcWorkRequestId
- the value to setpublic CreateBastionResponse.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 CreateBastionResponse.Builder location(String location)
this contains the full URI for the get request, e.g.
“https://iaas.us-phoenix-1.oraclecloud.com/20210331/bastions/
location
- the value to setpublic CreateBastionResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic CreateBastionResponse.Builder bastion(Bastion bastion)
The returned Bastion
instance.
bastion
- the value to setpublic CreateBastionResponse.Builder copy(CreateBastionResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<CreateBastionResponse>
o
- other request from which to copy valuespublic CreateBastionResponse build()
Build the response object.
build
in interface BmcResponse.Builder<CreateBastionResponse>
Copyright © 2016–2024. All rights reserved.