Package com.oracle.bmc.bastion.responses
Class CreateBastionResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.bastion.responses.CreateBastionResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<CreateBastionResponse>
 - Enclosing class:
- CreateBastionResponse
 
 public static class CreateBastionResponse.Builder extends Object implements BmcResponse.Builder<CreateBastionResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateBastionResponse.Builder__httpStatusCode__(int __httpStatusCode__)CreateBastionResponse.Builderbastion(Bastion bastion)The returned Bastion instance.CreateBastionResponsebuild()Build the response object.CreateBastionResponse.Buildercopy(CreateBastionResponse o)Copy method to populate the builder with values from the given instance.CreateBastionResponse.Builderetag(String etag)For optimistic concurrency control.CreateBastionResponse.Builderheaders(Map<String,List<String>> headers)CreateBastionResponse.Builderlocation(String location)this contains the full URI for the get request, e.g.CreateBastionResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateBastionResponse.BuilderopcWorkRequestId(String opcWorkRequestId)Unique Oracle-assigned identifier for the asynchronous request.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public CreateBastionResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<CreateBastionResponse>
 
 - 
headerspublic CreateBastionResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<CreateBastionResponse>
 
 - 
opcWorkRequestIdpublic CreateBastionResponse.Builder opcWorkRequestId(String opcWorkRequestId) Unique Oracle-assigned identifier for the asynchronous request.You can use this to query status of the asynchronous operation. - Parameters:
- opcWorkRequestId- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic 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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
locationpublic 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/ ” - Parameters:
- location- the value to set
- Returns:
- this builder
 
 - 
etagpublic CreateBastionResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
bastionpublic CreateBastionResponse.Builder bastion(Bastion bastion) The returned Bastion instance.- Parameters:
- bastion- the value to set
- Returns:
- this builder
 
 - 
copypublic CreateBastionResponse.Builder copy(CreateBastionResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<CreateBastionResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateBastionResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<CreateBastionResponse>
- Returns:
- the response object
 
 
- 
 
-