Class ListAutomaticDrConfigurationsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.requests.ListAutomaticDrConfigurationsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAutomaticDrConfigurationsRequest,Void>
- Enclosing class:
- ListAutomaticDrConfigurationsRequest
public static class ListAutomaticDrConfigurationsRequest.Builder extends Object implements BmcRequest.Builder<ListAutomaticDrConfigurationsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAutomaticDrConfigurationsRequest.BuilderautomaticDrConfigurationId(String automaticDrConfigurationId)The OCID of the automatic DR configuration.ListAutomaticDrConfigurationsRequestbuild()Build the instance of ListAutomaticDrConfigurationsRequest as configured by this builderListAutomaticDrConfigurationsRequestbuildWithoutInvocationCallback()Build the instance of ListAutomaticDrConfigurationsRequest as configured by this builderListAutomaticDrConfigurationsRequest.Buildercopy(ListAutomaticDrConfigurationsRequest o)Copy method to populate the builder with values from the given instance.ListAutomaticDrConfigurationsRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the given display name.ListAutomaticDrConfigurationsRequest.BuilderdrProtectionGroupId(String drProtectionGroupId)The OCID of the DR protection group.ListAutomaticDrConfigurationsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListAutomaticDrConfigurationsRequest.BuilderlifecycleState(AutomaticDrConfigurationLifecycleState lifecycleState)A filter to return only Automatic DR configurations that match the given lifecycle state.ListAutomaticDrConfigurationsRequest.BuilderlifecycleStateNotEqualTo(AutomaticDrConfigurationLifecycleState lifecycleStateNotEqualTo)A filter to return only Automatic DR configurations that do not match the given lifecycle state.ListAutomaticDrConfigurationsRequest.Builderlimit(Integer limit)For list pagination.ListAutomaticDrConfigurationsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListAutomaticDrConfigurationsRequest.Builderpage(String page)For list pagination.ListAutomaticDrConfigurationsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListAutomaticDrConfigurationsRequest.BuildersortBy(ListAutomaticDrConfigurationsRequest.SortBy sortBy)The field to sort by.ListAutomaticDrConfigurationsRequest.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 ListAutomaticDrConfigurationsRequest.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
-
automaticDrConfigurationId
public ListAutomaticDrConfigurationsRequest.Builder automaticDrConfigurationId(String automaticDrConfigurationId)
The OCID of the automatic DR configuration.Example: ocid1.automaticDrConfiguration.oc1..uniqueID
- Parameters:
automaticDrConfigurationId- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListAutomaticDrConfigurationsRequest.Builder lifecycleState(AutomaticDrConfigurationLifecycleState lifecycleState)
A filter to return only Automatic DR configurations that match the given lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
lifecycleStateNotEqualTo
public ListAutomaticDrConfigurationsRequest.Builder lifecycleStateNotEqualTo(AutomaticDrConfigurationLifecycleState lifecycleStateNotEqualTo)
A filter to return only Automatic DR configurations that do not match the given lifecycle state.- Parameters:
lifecycleStateNotEqualTo- the value to set- Returns:
- this builder instance
-
displayName
public ListAutomaticDrConfigurationsRequest.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 ListAutomaticDrConfigurationsRequest.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 ListAutomaticDrConfigurationsRequest.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 ListAutomaticDrConfigurationsRequest.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 ListAutomaticDrConfigurationsRequest.Builder sortBy(ListAutomaticDrConfigurationsRequest.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 ListAutomaticDrConfigurationsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAutomaticDrConfigurationsRequest.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 ListAutomaticDrConfigurationsRequest.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 ListAutomaticDrConfigurationsRequest.Builder copy(ListAutomaticDrConfigurationsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListAutomaticDrConfigurationsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAutomaticDrConfigurationsRequest build()
Build the instance of ListAutomaticDrConfigurationsRequest 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<ListAutomaticDrConfigurationsRequest,Void>- Returns:
- instance of ListAutomaticDrConfigurationsRequest
-
buildWithoutInvocationCallback
public ListAutomaticDrConfigurationsRequest buildWithoutInvocationCallback()
Build the instance of ListAutomaticDrConfigurationsRequest 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 ListAutomaticDrConfigurationsRequest
-
-