public static class ListAutonomousDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListAutonomousDatabasesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListAutonomousDatabasesRequest.Builder |
autonomousContainerDatabaseId(String autonomousContainerDatabaseId)
The Autonomous Container Database
OCID.
|
ListAutonomousDatabasesRequest |
build()
Build the instance of ListAutonomousDatabasesRequest as configured by this builder
|
ListAutonomousDatabasesRequest |
buildWithoutInvocationCallback()
Build the instance of ListAutonomousDatabasesRequest as configured by this builder
|
ListAutonomousDatabasesRequest.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 |
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 ). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListAutonomousDatabasesRequest.Builder compartmentId(String compartmentId)
The compartment OCID.
compartmentId
- the value to setpublic ListAutonomousDatabasesRequest.Builder autonomousContainerDatabaseId(String autonomousContainerDatabaseId)
The Autonomous Container Database OCID.
autonomousContainerDatabaseId
- the value to setpublic ListAutonomousDatabasesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListAutonomousDatabasesRequest.Builder page(String page)
The pagination token to continue listing from.
page
- the value to setpublic 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.
sortBy
- the value to setpublic ListAutonomousDatabasesRequest.Builder sortOrder(ListAutonomousDatabasesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListAutonomousDatabasesRequest.Builder infrastructureType(AutonomousDatabaseSummary.InfrastructureType infrastructureType)
A filter to return only resources that match the given Infrastructure Type.
infrastructureType
- the value to setpublic ListAutonomousDatabasesRequest.Builder lifecycleState(AutonomousDatabaseSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.
lifecycleState
- the value to setpublic ListAutonomousDatabasesRequest.Builder dbWorkload(AutonomousDatabaseSummary.DbWorkload dbWorkload)
A filter to return only autonomous database resources that match the specified workload type.
dbWorkload
- the value to setpublic ListAutonomousDatabasesRequest.Builder dbVersion(String dbVersion)
A filter to return only autonomous database resources that match the specified dbVersion.
dbVersion
- the value to setpublic 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.
isFreeTier
- the value to setpublic ListAutonomousDatabasesRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given. The match is not case sensitive.
displayName
- the value to setpublic ListAutonomousDatabasesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.
opcRequestId
- the value to setpublic 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.
isRefreshableClone
- the value to setpublic ListAutonomousDatabasesRequest.Builder isDataGuardEnabled(Boolean isDataGuardEnabled)
A filter to return only resources that have Data Guard enabled.
isDataGuardEnabled
- the value to setpublic ListAutonomousDatabasesRequest.Builder isResourcePoolLeader(Boolean isResourcePoolLeader)
Filter if the resource is the resource pool leader. A value of true
returns only
resource pool leader.
isResourcePoolLeader
- the value to setpublic ListAutonomousDatabasesRequest.Builder resourcePoolLeaderId(String resourcePoolLeaderId)
The database OCID of the resourcepool Leader Autonomous Database.
resourcePoolLeaderId
- the value to setpublic ListAutonomousDatabasesRequest.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 ListAutonomousDatabasesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListAutonomousDatabasesRequest.Builder copy(ListAutonomousDatabasesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListAutonomousDatabasesRequest,Void>
o
- other request from which to copy valuespublic ListAutonomousDatabasesRequest build()
Build the instance of ListAutonomousDatabasesRequest 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<ListAutonomousDatabasesRequest,Void>
public ListAutonomousDatabasesRequest buildWithoutInvocationCallback()
Build the instance of ListAutonomousDatabasesRequest 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–2023. All rights reserved.