Class ListMigrationPlansRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudmigrations.requests.ListMigrationPlansRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListMigrationPlansRequest,Void>
 - Enclosing class:
- ListMigrationPlansRequest
 
 public static class ListMigrationPlansRequest.Builder extends Object implements BmcRequest.Builder<ListMigrationPlansRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListMigrationPlansRequestbuild()Build the instance of ListMigrationPlansRequest as configured by this builderListMigrationPlansRequestbuildWithoutInvocationCallback()Build the instance of ListMigrationPlansRequest as configured by this builderListMigrationPlansRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListMigrationPlansRequest.Buildercopy(ListMigrationPlansRequest o)Copy method to populate the builder with values from the given instance.ListMigrationPlansRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire given display name.ListMigrationPlansRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListMigrationPlansRequest.BuilderlifecycleState(MigrationPlan.LifecycleState lifecycleState)The current state of the migration plan.ListMigrationPlansRequest.Builderlimit(Integer limit)The maximum number of items to return.ListMigrationPlansRequest.BuildermigrationId(String migrationId)Unique migration identifierListMigrationPlansRequest.BuildermigrationPlanId(String migrationPlanId)Unique migration plan identifierListMigrationPlansRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListMigrationPlansRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListMigrationPlansRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListMigrationPlansRequest.BuildersortBy(ListMigrationPlansRequest.SortBy sortBy)The field to sort by.ListMigrationPlansRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘ASC’ or ‘DESC’.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
compartmentIdpublic ListMigrationPlansRequest.Builder compartmentId(String compartmentId) The ID of the compartment in which to list resources.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
migrationIdpublic ListMigrationPlansRequest.Builder migrationId(String migrationId) Unique migration identifier- Parameters:
- migrationId- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListMigrationPlansRequest.Builder displayName(String displayName) A filter to return only resources that match the entire given display name.- Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
migrationPlanIdpublic ListMigrationPlansRequest.Builder migrationPlanId(String migrationPlanId) Unique migration plan identifier- Parameters:
- migrationPlanId- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListMigrationPlansRequest.Builder limit(Integer limit) The maximum number of items to return.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListMigrationPlansRequest.Builder page(String page) A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of the previous response. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListMigrationPlansRequest.Builder lifecycleState(MigrationPlan.LifecycleState lifecycleState) The current state of the migration plan.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListMigrationPlansRequest.Builder sortOrder(SortOrder sortOrder) The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListMigrationPlansRequest.Builder sortBy(ListMigrationPlansRequest.SortBy sortBy) The field to sort by.Only one sort order can be provided. The default order for ‘timeCreated’ is descending. The default order for ‘displayName’ is ascending. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListMigrationPlansRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListMigrationPlansRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback) Set the invocation callback for the request to be built.- Parameters:
- invocationCallback- the invocation callback to be set for the request
- Returns:
- this builder instance
 
 - 
retryConfigurationpublic ListMigrationPlansRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration) Set the retry configuration for the request to be built.- Parameters:
- retryConfiguration- the retry configuration to be used for the request
- Returns:
- this builder instance
 
 - 
copypublic ListMigrationPlansRequest.Builder copy(ListMigrationPlansRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListMigrationPlansRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListMigrationPlansRequest build() Build the instance of ListMigrationPlansRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<ListMigrationPlansRequest,Void>
- Returns:
- instance of ListMigrationPlansRequest
 
 - 
buildWithoutInvocationCallbackpublic ListMigrationPlansRequest buildWithoutInvocationCallback() Build the instance of ListMigrationPlansRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ListMigrationPlansRequest
 
 
- 
 
-