public static class ListDrPlansRequest.Builder extends Object implements BmcRequest.Builder<ListDrPlansRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListDrPlansRequest |
build()
Build the instance of ListDrPlansRequest as configured by this builder
|
ListDrPlansRequest |
buildWithoutInvocationCallback()
Build the instance of ListDrPlansRequest as configured by this builder
|
ListDrPlansRequest.Builder |
copy(ListDrPlansRequest o)
Copy method to populate the builder with values from the given instance.
|
ListDrPlansRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the given display name.
|
ListDrPlansRequest.Builder |
drPlanId(String drPlanId)
The OCID of the DR plan.
|
ListDrPlansRequest.Builder |
drPlanType(DrPlanType drPlanType)
The DR plan type.
|
ListDrPlansRequest.Builder |
drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group.
|
ListDrPlansRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListDrPlansRequest.Builder |
lifecycleState(DrPlanLifecycleState lifecycleState)
A filter to return only DR plans that match the given lifecycle state.
|
ListDrPlansRequest.Builder |
lifecycleSubState(DrPlanLifecycleSubState lifecycleSubState)
A filter to return only DR plans that match the given lifecycle sub-state.
|
ListDrPlansRequest.Builder |
limit(Integer limit)
For list pagination.
|
ListDrPlansRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListDrPlansRequest.Builder |
page(String page)
For list pagination.
|
ListDrPlansRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListDrPlansRequest.Builder |
sortBy(ListDrPlansRequest.SortBy sortBy)
The field to sort by.
|
ListDrPlansRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListDrPlansRequest.Builder drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group. Mandatory query param.
Example: ocid1.drprotectiongroup.oc1..uniqueID
drProtectionGroupId
- the value to setpublic ListDrPlansRequest.Builder lifecycleState(DrPlanLifecycleState lifecycleState)
A filter to return only DR plans that match the given lifecycle state.
lifecycleState
- the value to setpublic ListDrPlansRequest.Builder drPlanId(String drPlanId)
The OCID of the DR plan.
Example: ocid1.drplan.oc1..uniqueID
drPlanId
- the value to setpublic ListDrPlansRequest.Builder drPlanType(DrPlanType drPlanType)
The DR plan type.
drPlanType
- the value to setpublic ListDrPlansRequest.Builder displayName(String displayName)
A filter to return only resources that match the given display name.
Example: MyResourceDisplayName
displayName
- the value to setpublic 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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
Example: 100
limit
- the value to setpublic 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.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
page
- the value to setpublic ListDrPlansRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
sortOrder
- the value to setpublic 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
sortBy
- the value to setpublic ListDrPlansRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListDrPlansRequest.Builder lifecycleSubState(DrPlanLifecycleSubState lifecycleSubState)
A filter to return only DR plans that match the given lifecycle sub-state.
lifecycleSubState
- the value to setpublic ListDrPlansRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListDrPlansRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListDrPlansRequest.Builder copy(ListDrPlansRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListDrPlansRequest,Void>
o
- other request from which to copy valuespublic ListDrPlansRequest build()
Build the instance of ListDrPlansRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListDrPlansRequest,Void>
public ListDrPlansRequest buildWithoutInvocationCallback()
Build the instance of ListDrPlansRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.