Package com.oracle.bmc.recovery.requests
Class ListProtectedDatabasesRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.recovery.requests.ListProtectedDatabasesRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListProtectedDatabasesRequest,Void>
 - Enclosing class:
- ListProtectedDatabasesRequest
 
 public static class ListProtectedDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListProtectedDatabasesRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListProtectedDatabasesRequestbuild()Build the instance of ListProtectedDatabasesRequest as configured by this builderListProtectedDatabasesRequestbuildWithoutInvocationCallback()Build the instance of ListProtectedDatabasesRequest as configured by this builderListProtectedDatabasesRequest.BuildercompartmentId(String compartmentId)The compartment OCID.ListProtectedDatabasesRequest.Buildercopy(ListProtectedDatabasesRequest o)Copy method to populate the builder with values from the given instance.ListProtectedDatabasesRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire ‘displayname’ given.ListProtectedDatabasesRequest.Builderid(String id)The protected database OCID.ListProtectedDatabasesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListProtectedDatabasesRequest.BuilderlifecycleState(LifecycleState lifecycleState)A filter to return only the resources that match the specified lifecycle state.ListProtectedDatabasesRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListProtectedDatabasesRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListProtectedDatabasesRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListProtectedDatabasesRequest.BuilderprotectionPolicyId(String protectionPolicyId)The protection policy OCID.ListProtectedDatabasesRequest.BuilderrecoveryServiceSubnetId(String recoveryServiceSubnetId)The recovery service subnet OCID.ListProtectedDatabasesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListProtectedDatabasesRequest.BuildersortBy(ListProtectedDatabasesRequest.SortBy sortBy)The field to sort by.ListProtectedDatabasesRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (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 ListProtectedDatabasesRequest.Builder compartmentId(String compartmentId) The compartment OCID.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListProtectedDatabasesRequest.Builder lifecycleState(LifecycleState lifecycleState) A filter to return only the resources that match the specified lifecycle state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListProtectedDatabasesRequest.Builder displayName(String displayName) A filter to return only resources that match the entire ‘displayname’ given.- Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
idpublic ListProtectedDatabasesRequest.Builder id(String id) The protected database OCID.- Parameters:
- id- the value to set
- Returns:
- this builder instance
 
 - 
protectionPolicyIdpublic ListProtectedDatabasesRequest.Builder protectionPolicyId(String protectionPolicyId) The protection policy OCID.- Parameters:
- protectionPolicyId- the value to set
- Returns:
- this builder instance
 
 - 
recoveryServiceSubnetIdpublic ListProtectedDatabasesRequest.Builder recoveryServiceSubnetId(String recoveryServiceSubnetId) The recovery service subnet OCID.- Parameters:
- recoveryServiceSubnetId- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListProtectedDatabasesRequest.Builder limit(Integer limit) The maximum number of items to return per page.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListProtectedDatabasesRequest.Builder page(String page) The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListProtectedDatabasesRequest.Builder sortOrder(SortOrder sortOrder) The sort order to use, either ascending (ASC) or descending (DESC).Allowed values are: - ASC - DESC - Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListProtectedDatabasesRequest.Builder sortBy(ListProtectedDatabasesRequest.SortBy sortBy) The field to sort by.You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If you do not specify a value, then TIMECREATED is used as the default sort order. Allowed values are: - TIMECREATED - DISPLAYNAME
 - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListProtectedDatabasesRequest.Builder opcRequestId(String opcRequestId) Unique identifier for the request.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListProtectedDatabasesRequest.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 ListProtectedDatabasesRequest.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 ListProtectedDatabasesRequest.Builder copy(ListProtectedDatabasesRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListProtectedDatabasesRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListProtectedDatabasesRequest build() Build the instance of ListProtectedDatabasesRequest 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<ListProtectedDatabasesRequest,Void>
- Returns:
- instance of ListProtectedDatabasesRequest
 
 - 
buildWithoutInvocationCallbackpublic ListProtectedDatabasesRequest buildWithoutInvocationCallback() Build the instance of ListProtectedDatabasesRequest 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 ListProtectedDatabasesRequest
 
 
- 
 
-