Class ListDrPlansRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.requests.ListDrPlansRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListDrPlansRequest,Void>
 - Enclosing class:
- ListDrPlansRequest
 
 public static class ListDrPlansRequest.Builder extends Object implements BmcRequest.Builder<ListDrPlansRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDrPlansRequestbuild()Build the instance of ListDrPlansRequest as configured by this builderListDrPlansRequestbuildWithoutInvocationCallback()Build the instance of ListDrPlansRequest as configured by this builderListDrPlansRequest.Buildercopy(ListDrPlansRequest o)Copy method to populate the builder with values from the given instance.ListDrPlansRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the given display name.ListDrPlansRequest.BuilderdrPlanId(String drPlanId)The OCID of the DR plan.ListDrPlansRequest.BuilderdrPlanType(DrPlanType drPlanType)The DR plan type.ListDrPlansRequest.BuilderdrProtectionGroupId(String drProtectionGroupId)The OCID of the DR protection group.ListDrPlansRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDrPlansRequest.BuilderlifecycleState(DrPlanLifecycleState lifecycleState)A filter to return only DR plans that match the given lifecycle state.ListDrPlansRequest.BuilderlifecycleSubState(DrPlanLifecycleSubState lifecycleSubState)A filter to return only DR plans that match the given lifecycle sub-state.ListDrPlansRequest.Builderlimit(Integer limit)For list pagination.ListDrPlansRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListDrPlansRequest.Builderpage(String page)For list pagination.ListDrPlansRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDrPlansRequest.BuildersortBy(ListDrPlansRequest.SortBy sortBy)The field to sort by.ListDrPlansRequest.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- 
drProtectionGroupIdpublic ListDrPlansRequest.Builder drProtectionGroupId(String drProtectionGroupId) The OCID of the DR protection group.Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID - Parameters:
- drProtectionGroupId- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListDrPlansRequest.Builder lifecycleState(DrPlanLifecycleState lifecycleState) A filter to return only DR plans that match the given lifecycle state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
drPlanIdpublic ListDrPlansRequest.Builder drPlanId(String drPlanId) The OCID of the DR plan.Example: ocid1.drplan.oc1..uniqueID - Parameters:
- drPlanId- the value to set
- Returns:
- this builder instance
 
 - 
drPlanTypepublic ListDrPlansRequest.Builder drPlanType(DrPlanType drPlanType) The DR plan type.- Parameters:
- drPlanType- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListDrPlansRequest.Builder displayName(String displayName) A filter to return only resources that match the given display name.Example: MyResourceDisplayName - Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListDrPlansRequest.Builder limit(Integer limit) For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. 1 is the minimum, 1000 is the maximum. For important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Example: 100 - Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListDrPlansRequest.Builder page(String page) For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListDrPlansRequest.Builder sortOrder(SortOrder sortOrder) The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListDrPlansRequest.Builder sortBy(ListDrPlansRequest.SortBy sortBy) The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Example: MyResourceDisplayName - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListDrPlansRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleSubStatepublic ListDrPlansRequest.Builder lifecycleSubState(DrPlanLifecycleSubState lifecycleSubState) A filter to return only DR plans that match the given lifecycle sub-state.- Parameters:
- lifecycleSubState- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListDrPlansRequest.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 ListDrPlansRequest.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 ListDrPlansRequest.Builder copy(ListDrPlansRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListDrPlansRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListDrPlansRequest build() Build the instance of ListDrPlansRequest 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<ListDrPlansRequest,Void>
- Returns:
- instance of ListDrPlansRequest
 
 - 
buildWithoutInvocationCallbackpublic ListDrPlansRequest buildWithoutInvocationCallback() Build the instance of ListDrPlansRequest 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 ListDrPlansRequest
 
 
- 
 
-