public static class ListBackupsRequest.Builder extends Object implements BmcRequest.Builder<ListBackupsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListBackupsRequest |
build()
Build the instance of ListBackupsRequest as configured by this builder
|
ListBackupsRequest |
buildWithoutInvocationCallback()
Build the instance of ListBackupsRequest as configured by this builder
|
ListBackupsRequest.Builder |
compartmentId(String compartmentId)
The compartment
OCID.
|
ListBackupsRequest.Builder |
copy(ListBackupsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListBackupsRequest.Builder |
databaseId(String databaseId)
The OCID of the
database.
|
ListBackupsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListBackupsRequest.Builder |
limit(Integer limit)
The maximum number of items to return per page.
|
ListBackupsRequest.Builder |
page(String page)
The pagination token to continue listing from.
|
ListBackupsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListBackupsRequest.Builder |
shapeFamily(ListBackupsRequest.ShapeFamily shapeFamily)
If provided, filters the results to the set of database versions which are supported for
the given shape family.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListBackupsRequest.Builder databaseId(String databaseId)
The OCID of the database.
databaseId
- the value to setpublic ListBackupsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.
compartmentId
- the value to setpublic ListBackupsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListBackupsRequest.Builder page(String page)
The pagination token to continue listing from.
page
- the value to setpublic ListBackupsRequest.Builder shapeFamily(ListBackupsRequest.ShapeFamily shapeFamily)
If provided, filters the results to the set of database versions which are supported for the given shape family.
shapeFamily
- the value to setpublic ListBackupsRequest.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 ListBackupsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListBackupsRequest.Builder copy(ListBackupsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListBackupsRequest,Void>
o
- other request from which to copy valuespublic ListBackupsRequest build()
Build the instance of ListBackupsRequest 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<ListBackupsRequest,Void>
public ListBackupsRequest buildWithoutInvocationCallback()
Build the instance of ListBackupsRequest 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.