Class ListTemplatesResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.responses.ListTemplatesResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<ListTemplatesResponse>
- Enclosing class:
- ListTemplatesResponse
public static class ListTemplatesResponse.Builder extends Object implements BmcResponse.Builder<ListTemplatesResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTemplatesResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
ListTemplatesResponse
build()
Build the response object.ListTemplatesResponse.Builder
copy(ListTemplatesResponse o)
Copy method to populate the builder with values from the given instance.ListTemplatesResponse.Builder
headers(Map<String,List<String>> headers)
ListTemplatesResponse.Builder
opcNextPage(String opcNextPage)
Retrieves the next page of paginated list items.ListTemplatesResponse.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListTemplatesResponse.Builder
templateSummaryCollection(TemplateSummaryCollection templateSummaryCollection)
The returned TemplateSummaryCollection instance.-
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 ListTemplatesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<ListTemplatesResponse>
-
headers
public ListTemplatesResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<ListTemplatesResponse>
-
opcRequestId
public ListTemplatesResponse.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
opcNextPage
public ListTemplatesResponse.Builder opcNextPage(String opcNextPage)
Retrieves the next page of paginated list items.If the opc-next-page header appears in the response, additional pages of results remain. To receive the next page, include the header value in the page param. If the opc-next-page header does not appear in the response, there are no more list items to get. For more information about list pagination, see List Pagination.
- Parameters:
opcNextPage
- the value to set- Returns:
- this builder
-
templateSummaryCollection
public ListTemplatesResponse.Builder templateSummaryCollection(TemplateSummaryCollection templateSummaryCollection)
The returned TemplateSummaryCollection instance.- Parameters:
templateSummaryCollection
- the value to set- Returns:
- this builder
-
copy
public ListTemplatesResponse.Builder copy(ListTemplatesResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<ListTemplatesResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListTemplatesResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<ListTemplatesResponse>
- Returns:
- the response object
-
-