public static class ListProtectedDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListProtectedDatabasesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListProtectedDatabasesRequest |
build()
Build the instance of ListProtectedDatabasesRequest as configured by this builder
|
ListProtectedDatabasesRequest |
buildWithoutInvocationCallback()
Build the instance of ListProtectedDatabasesRequest as configured by this builder
|
ListProtectedDatabasesRequest.Builder |
compartmentId(String compartmentId)
The compartment OCID.
|
ListProtectedDatabasesRequest.Builder |
copy(ListProtectedDatabasesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListProtectedDatabasesRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire ‘displayname’ given.
|
ListProtectedDatabasesRequest.Builder |
id(String id)
The protected database OCID.
|
ListProtectedDatabasesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListProtectedDatabasesRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
A filter to return only the resources that match the specified lifecycle state.
|
ListProtectedDatabasesRequest.Builder |
limit(Integer limit)
The maximum number of items to return per page.
|
ListProtectedDatabasesRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ListProtectedDatabasesRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListProtectedDatabasesRequest.Builder |
protectionPolicyId(String protectionPolicyId)
The protection policy OCID.
|
ListProtectedDatabasesRequest.Builder |
recoveryServiceSubnetId(String recoveryServiceSubnetId)
The recovery service subnet OCID.
|
ListProtectedDatabasesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListProtectedDatabasesRequest.Builder |
sortBy(ListProtectedDatabasesRequest.SortBy sortBy)
The field to sort by.
|
ListProtectedDatabasesRequest.Builder |
sortOrder(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 ListProtectedDatabasesRequest.Builder compartmentId(String compartmentId)
The compartment OCID.
compartmentId
- the value to setpublic ListProtectedDatabasesRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only the resources that match the specified lifecycle state.
lifecycleState
- the value to setpublic ListProtectedDatabasesRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire ‘displayname’ given.
displayName
- the value to setpublic ListProtectedDatabasesRequest.Builder id(String id)
The protected database OCID.
id
- the value to setpublic ListProtectedDatabasesRequest.Builder protectionPolicyId(String protectionPolicyId)
The protection policy OCID.
protectionPolicyId
- the value to setpublic ListProtectedDatabasesRequest.Builder recoveryServiceSubnetId(String recoveryServiceSubnetId)
The recovery service subnet OCID.
recoveryServiceSubnetId
- the value to setpublic ListProtectedDatabasesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic 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.
page
- the value to setpublic ListProtectedDatabasesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC). Allowed values are: - ASC - DESC
sortOrder
- the value to setpublic 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:
sortBy
- the value to setpublic ListProtectedDatabasesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.
opcRequestId
- the value to setpublic ListProtectedDatabasesRequest.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 ListProtectedDatabasesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListProtectedDatabasesRequest.Builder copy(ListProtectedDatabasesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListProtectedDatabasesRequest,Void>
o
- other request from which to copy valuespublic ListProtectedDatabasesRequest build()
Build the instance of ListProtectedDatabasesRequest 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<ListProtectedDatabasesRequest,Void>
public ListProtectedDatabasesRequest buildWithoutInvocationCallback()
Build the instance of ListProtectedDatabasesRequest 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–2024. All rights reserved.