Class CreateDesktopPoolResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.responses.CreateDesktopPoolResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CreateDesktopPoolResponse>
- Enclosing class:
- CreateDesktopPoolResponse
public static class CreateDesktopPoolResponse.Builder extends Object implements BmcResponse.Builder<CreateDesktopPoolResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDesktopPoolResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
CreateDesktopPoolResponse
build()
Build the response object.CreateDesktopPoolResponse.Builder
contentLocation(String contentLocation)
A URL containing the location of the newly created resource.CreateDesktopPoolResponse.Builder
copy(CreateDesktopPoolResponse o)
Copy method to populate the builder with values from the given instance.CreateDesktopPoolResponse.Builder
desktopPool(DesktopPool desktopPool)
The returned DesktopPool instance.CreateDesktopPoolResponse.Builder
etag(String etag)
For optimistic concurrency.CreateDesktopPoolResponse.Builder
headers(Map<String,List<String>> headers)
CreateDesktopPoolResponse.Builder
location(String location)
A URL containing location of the newly created resource.CreateDesktopPoolResponse.Builder
opcRequestId(String opcRequestId)
The unique identifier of the request.CreateDesktopPoolResponse.Builder
opcWorkRequestId(String opcWorkRequestId)
A unique identifier for an asynchronous request.-
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 CreateDesktopPoolResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<CreateDesktopPoolResponse>
-
headers
public CreateDesktopPoolResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<CreateDesktopPoolResponse>
-
opcRequestId
public CreateDesktopPoolResponse.Builder opcRequestId(String opcRequestId)
The unique identifier of the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
opcWorkRequestId
public CreateDesktopPoolResponse.Builder opcWorkRequestId(String opcWorkRequestId)
A unique identifier for an asynchronous request.- Parameters:
opcWorkRequestId
- the value to set- Returns:
- this builder
-
location
public CreateDesktopPoolResponse.Builder location(String location)
A URL containing location of the newly created resource.- Parameters:
location
- the value to set- Returns:
- this builder
-
contentLocation
public CreateDesktopPoolResponse.Builder contentLocation(String contentLocation)
A URL containing the location of the newly created resource.- Parameters:
contentLocation
- the value to set- Returns:
- this builder
-
etag
public CreateDesktopPoolResponse.Builder etag(String etag)
For optimistic concurrency.See if-match.
- Parameters:
etag
- the value to set- Returns:
- this builder
-
desktopPool
public CreateDesktopPoolResponse.Builder desktopPool(DesktopPool desktopPool)
The returned DesktopPool instance.- Parameters:
desktopPool
- the value to set- Returns:
- this builder
-
copy
public CreateDesktopPoolResponse.Builder copy(CreateDesktopPoolResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<CreateDesktopPoolResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateDesktopPoolResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<CreateDesktopPoolResponse>
- Returns:
- the response object
-
-