Package com.oracle.bmc.lockbox.responses
Class CreateAccessRequestResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.lockbox.responses.CreateAccessRequestResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateAccessRequestResponse>
- Enclosing class:
- CreateAccessRequestResponse
public static class CreateAccessRequestResponse.Builder extends Object implements BmcResponse.Builder<CreateAccessRequestResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAccessRequestResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateAccessRequestResponse.BuilderaccessRequest(AccessRequest accessRequest)The returned AccessRequest instance.CreateAccessRequestResponsebuild()Build the response object.CreateAccessRequestResponse.Buildercopy(CreateAccessRequestResponse o)Copy method to populate the builder with values from the given instance.CreateAccessRequestResponse.Builderetag(String etag)For optimistic concurrency control.CreateAccessRequestResponse.Builderheaders(Map<String,List<String>> headers)CreateAccessRequestResponse.Builderlocation(String location)this contains the full URI for the get request, e.g.CreateAccessRequestResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateAccessRequestResponse.BuilderopcWorkRequestId(String opcWorkRequestId)Unique Oracle-assigned identifier for the asynchronous work.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public CreateAccessRequestResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<CreateAccessRequestResponse>
-
headers
public CreateAccessRequestResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<CreateAccessRequestResponse>
-
opcWorkRequestId
public CreateAccessRequestResponse.Builder opcWorkRequestId(String opcWorkRequestId)
Unique Oracle-assigned identifier for the asynchronous work.You can use this to query its status.
- Parameters:
opcWorkRequestId- the value to set- Returns:
- this builder
-
opcRequestId
public CreateAccessRequestResponse.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.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
location
public CreateAccessRequestResponse.Builder location(String location)
this contains the full URI for the get request, e.g.“https://iaas.us-phoenix-1.oraclecloud.com/20210331/lockbox/
” - Parameters:
location- the value to set- Returns:
- this builder
-
etag
public CreateAccessRequestResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
accessRequest
public CreateAccessRequestResponse.Builder accessRequest(AccessRequest accessRequest)
The returned AccessRequest instance.- Parameters:
accessRequest- the value to set- Returns:
- this builder
-
copy
public CreateAccessRequestResponse.Builder copy(CreateAccessRequestResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<CreateAccessRequestResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateAccessRequestResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<CreateAccessRequestResponse>- Returns:
- the response object
-
-