Class GetPreferencesResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.responses.GetPreferencesResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetPreferencesResponse>
- Enclosing class:
- GetPreferencesResponse
public static class GetPreferencesResponse.Builder extends Object implements BmcResponse.Builder<GetPreferencesResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPreferencesResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
GetPreferencesResponse
build()
Build the response object.GetPreferencesResponse.Builder
copy(GetPreferencesResponse o)
Copy method to populate the builder with values from the given instance.GetPreferencesResponse.Builder
headers(Map<String,List<String>> headers)
GetPreferencesResponse.Builder
logAnalyticsPreferenceCollection(LogAnalyticsPreferenceCollection logAnalyticsPreferenceCollection)
The returned LogAnalyticsPreferenceCollection instance.GetPreferencesResponse.Builder
opcNextPage(String opcNextPage)
For pagination of a list of items.GetPreferencesResponse.Builder
opcPrevPage(String opcPrevPage)
For pagination of a list of items.GetPreferencesResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for 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 GetPreferencesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<GetPreferencesResponse>
-
headers
public GetPreferencesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<GetPreferencesResponse>
-
opcPrevPage
public GetPreferencesResponse.Builder opcPrevPage(String opcPrevPage)
For pagination of a list of items.When paging through a list, if this header appears in the response, then additional items may be available on the previous page of the list. Include this value as the page parameter for the subsequent request to get the previous batch of items.
- Parameters:
opcPrevPage
- the value to set- Returns:
- this builder
-
opcNextPage
public GetPreferencesResponse.Builder opcNextPage(String opcNextPage)
For pagination of a list of items.When paging through a list, if this header appears in the response, then additional items may be available on the next page of the list. Include this value as the page parameter for the subsequent request to get the next batch of items.
- Parameters:
opcNextPage
- the value to set- Returns:
- this builder
-
opcRequestId
public GetPreferencesResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.When you contact Oracle about a specific request, provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
logAnalyticsPreferenceCollection
public GetPreferencesResponse.Builder logAnalyticsPreferenceCollection(LogAnalyticsPreferenceCollection logAnalyticsPreferenceCollection)
The returned LogAnalyticsPreferenceCollection instance.- Parameters:
logAnalyticsPreferenceCollection
- the value to set- Returns:
- this builder
-
copy
public GetPreferencesResponse.Builder copy(GetPreferencesResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<GetPreferencesResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetPreferencesResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<GetPreferencesResponse>
- Returns:
- the response object
-
-