Class ListDesktopsResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.responses.ListDesktopsResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListDesktopsResponse>
- Enclosing class:
- ListDesktopsResponse
public static class ListDesktopsResponse.Builder extends Object implements BmcResponse.Builder<ListDesktopsResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDesktopsResponse.Builder__httpStatusCode__(int __httpStatusCode__)ListDesktopsResponsebuild()Build the response object.ListDesktopsResponse.Buildercopy(ListDesktopsResponse o)Copy method to populate the builder with values from the given instance.ListDesktopsResponse.BuilderdesktopCollection(DesktopCollection desktopCollection)The returned DesktopCollection instance.ListDesktopsResponse.Builderheaders(Map<String,List<String>> headers)ListDesktopsResponse.BuilderopcNextPage(String opcNextPage)For pagination.ListDesktopsResponse.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 ListDesktopsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<ListDesktopsResponse>
-
headers
public ListDesktopsResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<ListDesktopsResponse>
-
opcRequestId
public ListDesktopsResponse.Builder opcRequestId(String opcRequestId)
The unique identifier of the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
opcNextPage
public ListDesktopsResponse.Builder opcNextPage(String opcNextPage)
For pagination.- Parameters:
opcNextPage- the value to set- Returns:
- this builder
-
desktopCollection
public ListDesktopsResponse.Builder desktopCollection(DesktopCollection desktopCollection)
The returned DesktopCollection instance.- Parameters:
desktopCollection- the value to set- Returns:
- this builder
-
copy
public ListDesktopsResponse.Builder copy(ListDesktopsResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<ListDesktopsResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDesktopsResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<ListDesktopsResponse>- Returns:
- the response object
-
-