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