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__)CreatePoolResponsebuild()Build the response object.CreatePoolResponse.Buildercopy(CreatePoolResponse o)Copy method to populate the builder with values from the given instance.CreatePoolResponse.Builderetag(String etag)For optimistic concurrency control.CreatePoolResponse.Builderheaders(Map<String,List<String>> headers)CreatePoolResponse.Builderlocation(String location)Provides information about the location of a newly created resource.CreatePoolResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle assigned identifier for the request.CreatePoolResponse.BuilderopcWorkRequestId(String opcWorkRequestId)Unique Oracle assigned identifier for a work request.CreatePoolResponse.Builderpool(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:
headersin 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:
copyin 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:
buildin interfaceBmcResponse.Builder<CreatePoolResponse>- Returns:
- the response object
-
-