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