public static class ListAutonomousDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListAutonomousDatabasesRequest,Void>
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() |
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(Consumer<javax.ws.rs.client.Invocation.Builder> 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 |
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 |
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 ). |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListAutonomousDatabasesRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> 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.util.internal.Consumer)
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.Builder compartmentId(String compartmentId)
The compartment OCID.
this
.public ListAutonomousDatabasesRequest.Builder autonomousContainerDatabaseId(String autonomousContainerDatabaseId)
The Autonomous Container Database OCID.
this
.public ListAutonomousDatabasesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
this
.public ListAutonomousDatabasesRequest.Builder page(String page)
The pagination token to continue listing from.
this
.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.
this
.public ListAutonomousDatabasesRequest.Builder sortOrder(ListAutonomousDatabasesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
this
.public ListAutonomousDatabasesRequest.Builder infrastructureType(AutonomousDatabaseSummary.InfrastructureType infrastructureType)
A filter to return only resources that match the given Infrastructure Type.
this
.public ListAutonomousDatabasesRequest.Builder lifecycleState(AutonomousDatabaseSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.
this
.public ListAutonomousDatabasesRequest.Builder dbWorkload(AutonomousDatabaseSummary.DbWorkload dbWorkload)
A filter to return only autonomous database resources that match the specified workload type.
this
.public ListAutonomousDatabasesRequest.Builder dbVersion(String dbVersion)
A filter to return only autonomous database resources that match the specified dbVersion.
this
.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.
this
.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.
this
.public ListAutonomousDatabasesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.
this
.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.
this
.public ListAutonomousDatabasesRequest.Builder isDataGuardEnabled(Boolean isDataGuardEnabled)
A filter to return only resources that have Data Guard enabled.
this
.public ListAutonomousDatabasesRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.