Class ListAutonomousDatabasesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListAutonomousDatabasesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAutonomousDatabasesRequest,Void>
- Enclosing class:
- ListAutonomousDatabasesRequest
public static class ListAutonomousDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListAutonomousDatabasesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAutonomousDatabasesRequest.Builder
autonomousContainerDatabaseId(String autonomousContainerDatabaseId)
The Autonomous Container Database OCID.ListAutonomousDatabasesRequest
build()
Build the instance of ListAutonomousDatabasesRequest as configured by this builderListAutonomousDatabasesRequest
buildWithoutInvocationCallback()
Build the instance of ListAutonomousDatabasesRequest as configured by this builderListAutonomousDatabasesRequest.Builder
compartmentId(String compartmentId)
The compartment OCID.ListAutonomousDatabasesRequest.Builder
copy(ListAutonomousDatabasesRequest o)
Copy method to populate the builder with values from the given instance.ListAutonomousDatabasesRequest.Builder
dbVersion(String dbVersion)
A filter to return only autonomous database resources that match the specified dbVersion.ListAutonomousDatabasesRequest.Builder
dbWorkload(AutonomousDatabaseSummary.DbWorkload dbWorkload)
A filter to return only autonomous database resources that match the specified workload type.ListAutonomousDatabasesRequest.Builder
displayName(String displayName)
A filter to return only resources that match the entire display name given.ListAutonomousDatabasesRequest.Builder
infrastructureType(AutonomousDatabaseSummary.InfrastructureType infrastructureType)
A filter to return only resources that match the given Infrastructure Type.ListAutonomousDatabasesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListAutonomousDatabasesRequest.Builder
isDataGuardEnabled(Boolean isDataGuardEnabled)
A filter to return only resources that have Data Guard enabled.ListAutonomousDatabasesRequest.Builder
isFreeTier(Boolean isFreeTier)
Filter on the value of the resource’s ‘isFreeTier’ property.ListAutonomousDatabasesRequest.Builder
isRefreshableClone(Boolean isRefreshableClone)
Filter on the value of the resource’s ‘isRefreshableClone’ property.ListAutonomousDatabasesRequest.Builder
isResourcePoolLeader(Boolean isResourcePoolLeader)
Filter if the resource is the resource pool leader.ListAutonomousDatabasesRequest.Builder
lifecycleState(AutonomousDatabaseSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.ListAutonomousDatabasesRequest.Builder
lifecycleStateNotEqualTo(AutonomousDatabaseSummary.LifecycleState lifecycleStateNotEqualTo)
A filter to return only resources that not match the given lifecycle state.ListAutonomousDatabasesRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListAutonomousDatabasesRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListAutonomousDatabasesRequest.Builder
page(String page)
The pagination token to continue listing from.ListAutonomousDatabasesRequest.Builder
resourcePoolLeaderId(String resourcePoolLeaderId)
The database OCID of the resourcepool Leader Autonomous Database.ListAutonomousDatabasesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListAutonomousDatabasesRequest.Builder
sortBy(ListAutonomousDatabasesRequest.SortBy sortBy)
The field to sort by.ListAutonomousDatabasesRequest.Builder
sortOrder(ListAutonomousDatabasesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (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
-
compartmentId
public ListAutonomousDatabasesRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
autonomousContainerDatabaseId
public ListAutonomousDatabasesRequest.Builder autonomousContainerDatabaseId(String autonomousContainerDatabaseId)
The Autonomous Container Database OCID.- Parameters:
autonomousContainerDatabaseId
- the value to set- Returns:
- this builder instance
-
limit
public ListAutonomousDatabasesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListAutonomousDatabasesRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortBy
public ListAutonomousDatabasesRequest.Builder sortBy(ListAutonomousDatabasesRequest.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. The DISPLAYNAME sort order is case sensitive.
*Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListAutonomousDatabasesRequest.Builder sortOrder(ListAutonomousDatabasesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
infrastructureType
public ListAutonomousDatabasesRequest.Builder infrastructureType(AutonomousDatabaseSummary.InfrastructureType infrastructureType)
A filter to return only resources that match the given Infrastructure Type.- Parameters:
infrastructureType
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListAutonomousDatabasesRequest.Builder lifecycleState(AutonomousDatabaseSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
lifecycleStateNotEqualTo
public ListAutonomousDatabasesRequest.Builder lifecycleStateNotEqualTo(AutonomousDatabaseSummary.LifecycleState lifecycleStateNotEqualTo)
A filter to return only resources that not match the given lifecycle state.- Parameters:
lifecycleStateNotEqualTo
- the value to set- Returns:
- this builder instance
-
dbWorkload
public ListAutonomousDatabasesRequest.Builder dbWorkload(AutonomousDatabaseSummary.DbWorkload dbWorkload)
A filter to return only autonomous database resources that match the specified workload type.- Parameters:
dbWorkload
- the value to set- Returns:
- this builder instance
-
dbVersion
public ListAutonomousDatabasesRequest.Builder dbVersion(String dbVersion)
A filter to return only autonomous database resources that match the specified dbVersion.- Parameters:
dbVersion
- the value to set- Returns:
- this builder instance
-
isFreeTier
public ListAutonomousDatabasesRequest.Builder isFreeTier(Boolean isFreeTier)
Filter on the value of the resource’s ‘isFreeTier’ property.A value of true returns only Always Free resources. A value of false excludes Always Free resources from the returned results. Omitting this parameter returns both Always Free and paid resources.
- Parameters:
isFreeTier
- the value to set- Returns:
- this builder instance
-
displayName
public ListAutonomousDatabasesRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.The match is not case sensitive.
- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListAutonomousDatabasesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
isRefreshableClone
public ListAutonomousDatabasesRequest.Builder isRefreshableClone(Boolean isRefreshableClone)
Filter on the value of the resource’s ‘isRefreshableClone’ property.A value of true returns only refreshable clones. A value of false excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones.
- Parameters:
isRefreshableClone
- the value to set- Returns:
- this builder instance
-
isDataGuardEnabled
public ListAutonomousDatabasesRequest.Builder isDataGuardEnabled(Boolean isDataGuardEnabled)
A filter to return only resources that have Data Guard enabled.- Parameters:
isDataGuardEnabled
- the value to set- Returns:
- this builder instance
-
isResourcePoolLeader
public ListAutonomousDatabasesRequest.Builder isResourcePoolLeader(Boolean isResourcePoolLeader)
Filter if the resource is the resource pool leader.A value of true returns only resource pool leader.
- Parameters:
isResourcePoolLeader
- the value to set- Returns:
- this builder instance
-
resourcePoolLeaderId
public ListAutonomousDatabasesRequest.Builder resourcePoolLeaderId(String resourcePoolLeaderId)
The database OCID of the resourcepool Leader Autonomous Database.- Parameters:
resourcePoolLeaderId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAutonomousDatabasesRequest.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 ListAutonomousDatabasesRequest.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 ListAutonomousDatabasesRequest.Builder copy(ListAutonomousDatabasesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListAutonomousDatabasesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAutonomousDatabasesRequest build()
Build the instance of ListAutonomousDatabasesRequest 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:
build
in interfaceBmcRequest.Builder<ListAutonomousDatabasesRequest,Void>
- Returns:
- instance of ListAutonomousDatabasesRequest
-
buildWithoutInvocationCallback
public ListAutonomousDatabasesRequest buildWithoutInvocationCallback()
Build the instance of ListAutonomousDatabasesRequest 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 ListAutonomousDatabasesRequest
-
-