Package com.oracle.bmc.datacc.responses
Class CreateInfrastructureResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.responses.CreateInfrastructureResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateInfrastructureResponse>
- Enclosing class:
- CreateInfrastructureResponse
public static class CreateInfrastructureResponse.Builder extends Object implements BmcResponse.Builder<CreateInfrastructureResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
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 CreateInfrastructureResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<CreateInfrastructureResponse>
-
headers
public CreateInfrastructureResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<CreateInfrastructureResponse>
-
opcWorkRequestId
public CreateInfrastructureResponse.Builder opcWorkRequestId(String opcWorkRequestId)
Unique identifier created by Oracle for the asynchronous request.You can use this identifier to query the status of the asynchronous operation.
- Parameters:
opcWorkRequestId- the value to set- Returns:
- this builder
-
opcRequestId
public CreateInfrastructureResponse.Builder opcRequestId(String opcRequestId)
Unique identifier assigned by Oracle for the request.If you need to contact Oracle about a particular request, then please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
etag
public CreateInfrastructureResponse.Builder etag(String etag)
For Optimistic concurrency control.See the if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
location
public CreateInfrastructureResponse.Builder location(String location)
The full URI of the resource.- Parameters:
location- the value to set- Returns:
- this builder
-
infrastructure
public CreateInfrastructureResponse.Builder infrastructure(Infrastructure infrastructure)
The returned Infrastructure instance.- Parameters:
infrastructure- the value to set- Returns:
- this builder
-
copy
public CreateInfrastructureResponse.Builder copy(CreateInfrastructureResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<CreateInfrastructureResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateInfrastructureResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<CreateInfrastructureResponse>- Returns:
- the response object
-
-