Class ListDistributedDatabasesRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.distributeddatabase.requests.ListDistributedDatabasesRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListDistributedDatabasesRequest,Void>
 - Enclosing class:
- ListDistributedDatabasesRequest
 
 public static class ListDistributedDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListDistributedDatabasesRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDistributedDatabasesRequestbuild()Build the instance of ListDistributedDatabasesRequest as configured by this builderListDistributedDatabasesRequestbuildWithoutInvocationCallback()Build the instance of ListDistributedDatabasesRequest as configured by this builderListDistributedDatabasesRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListDistributedDatabasesRequest.Buildercopy(ListDistributedDatabasesRequest o)Copy method to populate the builder with values from the given instance.ListDistributedDatabasesRequest.BuilderdbDeploymentType(DistributedDatabase.DbDeploymentType dbDeploymentType)A filter to return only resources their dbDeploymentType matches the given dbDeploymentType.ListDistributedDatabasesRequest.BuilderdisplayName(String displayName)A filter to return only Globally distributed databases that match the entire name given.ListDistributedDatabasesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDistributedDatabasesRequest.BuilderlifecycleState(DistributedDatabase.LifecycleState lifecycleState)A filter to return only resources their lifecycleState matches the given lifecycleState.ListDistributedDatabasesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListDistributedDatabasesRequest.Buildermetadata(String metadata)Comma separated names of argument corresponding to which metadata need to be retrived.ListDistributedDatabasesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListDistributedDatabasesRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListDistributedDatabasesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDistributedDatabasesRequest.BuildersortBy(ListDistributedDatabasesRequest.SortBy sortBy)The field to sort by.ListDistributedDatabasesRequest.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- 
compartmentIdpublic ListDistributedDatabasesRequest.Builder compartmentId(String compartmentId) The ID of the compartment in which to list resources.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListDistributedDatabasesRequest.Builder lifecycleState(DistributedDatabase.LifecycleState lifecycleState) A filter to return only resources their lifecycleState matches the given lifecycleState.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListDistributedDatabasesRequest.Builder limit(Integer limit) The maximum number of items to return.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListDistributedDatabasesRequest.Builder page(String page) A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListDistributedDatabasesRequest.Builder sortOrder(SortOrder sortOrder) The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListDistributedDatabasesRequest.Builder sortBy(ListDistributedDatabasesRequest.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. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListDistributedDatabasesRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListDistributedDatabasesRequest.Builder displayName(String displayName) A filter to return only Globally distributed databases that match the entire name given.The match is not case sensitive. - Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
dbDeploymentTypepublic ListDistributedDatabasesRequest.Builder dbDeploymentType(DistributedDatabase.DbDeploymentType dbDeploymentType) A filter to return only resources their dbDeploymentType matches the given dbDeploymentType.- Parameters:
- dbDeploymentType- the value to set
- Returns:
- this builder instance
 
 - 
metadatapublic ListDistributedDatabasesRequest.Builder metadata(String metadata) Comma separated names of argument corresponding to which metadata need to be retrived.- Parameters:
- metadata- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListDistributedDatabasesRequest.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 ListDistributedDatabasesRequest.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 ListDistributedDatabasesRequest.Builder copy(ListDistributedDatabasesRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListDistributedDatabasesRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListDistributedDatabasesRequest build() Build the instance of ListDistributedDatabasesRequest 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<ListDistributedDatabasesRequest,Void>
- Returns:
- instance of ListDistributedDatabasesRequest
 
 - 
buildWithoutInvocationCallbackpublic ListDistributedDatabasesRequest buildWithoutInvocationCallback() Build the instance of ListDistributedDatabasesRequest 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 ListDistributedDatabasesRequest
 
 
- 
 
-