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__)GetDesktopResponsebuild()Build the response object.GetDesktopResponse.Buildercopy(GetDesktopResponse o)Copy method to populate the builder with values from the given instance.GetDesktopResponse.Builderdesktop(Desktop desktop)The returned Desktop instance.GetDesktopResponse.Builderetag(String etag)For optimistic concurrency.GetDesktopResponse.Builderheaders(Map<String,List<String>> headers)GetDesktopResponse.BuilderopcRequestId(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:
headersin 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:
copyin 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:
buildin interfaceBmcResponse.Builder<GetDesktopResponse>- Returns:
- the response object
-
-