Class ListDrPlanExecutionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.requests.ListDrPlanExecutionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDrPlanExecutionsRequest,Void>
- Enclosing class:
- ListDrPlanExecutionsRequest
public static class ListDrPlanExecutionsRequest.Builder extends Object implements BmcRequest.Builder<ListDrPlanExecutionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDrPlanExecutionsRequestbuild()Build the instance of ListDrPlanExecutionsRequest as configured by this builderListDrPlanExecutionsRequestbuildWithoutInvocationCallback()Build the instance of ListDrPlanExecutionsRequest as configured by this builderListDrPlanExecutionsRequest.Buildercopy(ListDrPlanExecutionsRequest o)Copy method to populate the builder with values from the given instance.ListDrPlanExecutionsRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the given display name.ListDrPlanExecutionsRequest.BuilderdrPlanExecutionId(String drPlanExecutionId)The OCID of the DR plan execution.ListDrPlanExecutionsRequest.BuilderdrProtectionGroupId(String drProtectionGroupId)The OCID of the DR protection group.ListDrPlanExecutionsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDrPlanExecutionsRequest.BuilderlifecycleState(DrPlanExecutionLifecycleState lifecycleState)A filter to return only DR plan executions that match the given lifecycle state.ListDrPlanExecutionsRequest.Builderlimit(Integer limit)For list pagination.ListDrPlanExecutionsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListDrPlanExecutionsRequest.Builderpage(String page)For list pagination.ListDrPlanExecutionsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDrPlanExecutionsRequest.BuildersortBy(ListDrPlanExecutionsRequest.SortBy sortBy)The field to sort by.ListDrPlanExecutionsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘asc’ or ‘desc’.-
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.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
drProtectionGroupId
public ListDrPlanExecutionsRequest.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
-
lifecycleState
public ListDrPlanExecutionsRequest.Builder lifecycleState(DrPlanExecutionLifecycleState lifecycleState)
A filter to return only DR plan executions that match the given lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
drPlanExecutionId
public ListDrPlanExecutionsRequest.Builder drPlanExecutionId(String drPlanExecutionId)
The OCID of the DR plan execution.Example: ocid1.drplanexecution.oc1..uniqueID
- Parameters:
drPlanExecutionId- the value to set- Returns:
- this builder instance
-
displayName
public ListDrPlanExecutionsRequest.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
-
limit
public ListDrPlanExecutionsRequest.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
-
page
public ListDrPlanExecutionsRequest.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
-
sortOrder
public ListDrPlanExecutionsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListDrPlanExecutionsRequest.Builder sortBy(ListDrPlanExecutionsRequest.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
-
opcRequestId
public ListDrPlanExecutionsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDrPlanExecutionsRequest.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
-
retryConfiguration
public ListDrPlanExecutionsRequest.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
-
copy
public ListDrPlanExecutionsRequest.Builder copy(ListDrPlanExecutionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListDrPlanExecutionsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDrPlanExecutionsRequest build()
Build the instance of ListDrPlanExecutionsRequest 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 interfaceBmcRequest.Builder<ListDrPlanExecutionsRequest,Void>- Returns:
- instance of ListDrPlanExecutionsRequest
-
buildWithoutInvocationCallback
public ListDrPlanExecutionsRequest buildWithoutInvocationCallback()
Build the instance of ListDrPlanExecutionsRequest 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 ListDrPlanExecutionsRequest
-
-