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__)
ListDesktopsResponse
build()
Build the response object.ListDesktopsResponse.Builder
copy(ListDesktopsResponse o)
Copy method to populate the builder with values from the given instance.ListDesktopsResponse.Builder
desktopCollection(DesktopCollection desktopCollection)
The returned DesktopCollection instance.ListDesktopsResponse.Builder
headers(Map<String,List<String>> headers)
ListDesktopsResponse.Builder
opcNextPage(String opcNextPage)
For pagination.ListDesktopsResponse.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 ListDesktopsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<ListDesktopsResponse>
-
headers
public ListDesktopsResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in 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:
copy
in 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:
build
in interfaceBmcResponse.Builder<ListDesktopsResponse>
- Returns:
- the response object
-
-