Class CreatePoolResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.responses.CreatePoolResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreatePoolResponse>
- Enclosing class:
- CreatePoolResponse
public static class CreatePoolResponse.Builder extends Object implements BmcResponse.Builder<CreatePoolResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePoolResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
CreatePoolResponse
build()
Build the response object.CreatePoolResponse.Builder
copy(CreatePoolResponse o)
Copy method to populate the builder with values from the given instance.CreatePoolResponse.Builder
etag(String etag)
For optimistic concurrency control.CreatePoolResponse.Builder
headers(Map<String,List<String>> headers)
CreatePoolResponse.Builder
location(String location)
Provides information about the location of a newly created resource.CreatePoolResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle assigned identifier for the request.CreatePoolResponse.Builder
opcWorkRequestId(String opcWorkRequestId)
Unique Oracle assigned identifier for a work request.CreatePoolResponse.Builder
pool(Pool pool)
The returned Pool instance.-
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 CreatePoolResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<CreatePoolResponse>
-
headers
public CreatePoolResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<CreatePoolResponse>
-
etag
public CreatePoolResponse.Builder etag(String etag)
For optimistic concurrency control.- Parameters:
etag
- the value to set- Returns:
- this builder
-
opcRequestId
public CreatePoolResponse.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
-
opcWorkRequestId
public CreatePoolResponse.Builder opcWorkRequestId(String opcWorkRequestId)
Unique Oracle assigned identifier for a work request.- Parameters:
opcWorkRequestId
- the value to set- Returns:
- this builder
-
location
public CreatePoolResponse.Builder location(String location)
Provides information about the location of a newly created resource.- Parameters:
location
- the value to set- Returns:
- this builder
-
pool
public CreatePoolResponse.Builder pool(Pool pool)
The returned Pool instance.- Parameters:
pool
- the value to set- Returns:
- this builder
-
copy
public CreatePoolResponse.Builder copy(CreatePoolResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<CreatePoolResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public CreatePoolResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<CreatePoolResponse>
- Returns:
- the response object
-
-