Package com.oracle.bmc.database.requests
Class ListBackupsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.requests.ListBackupsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListBackupsRequest,Void>
 - Enclosing class:
- ListBackupsRequest
 
 public static class ListBackupsRequest.Builder extends Object implements BmcRequest.Builder<ListBackupsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBackupsRequest.BuilderbackupDestinationType(String backupDestinationType)A filter to return only resources that match the given backup destination type.ListBackupsRequestbuild()Build the instance of ListBackupsRequest as configured by this builderListBackupsRequestbuildWithoutInvocationCallback()Build the instance of ListBackupsRequest as configured by this builderListBackupsRequest.BuildercompartmentId(String compartmentId)The compartment OCID.ListBackupsRequest.Buildercopy(ListBackupsRequest o)Copy method to populate the builder with values from the given instance.ListBackupsRequest.BuilderdatabaseId(String databaseId)The OCID of the database.ListBackupsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListBackupsRequest.BuilderlifecycleState(BackupSummary.LifecycleState lifecycleState)A filter to return only resources that match the given lifecycle state exactly.ListBackupsRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListBackupsRequest.Builderpage(String page)The pagination token to continue listing from.ListBackupsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListBackupsRequest.BuildershapeFamily(ListBackupsRequest.ShapeFamily shapeFamily)If provided, filters the results to the set of database versions which are supported for the given shape family.ListBackupsRequest.BuildertimeExpiryScheduledGreaterThanOrEqualTo(Date timeExpiryScheduledGreaterThanOrEqualTo)The start of date-time range of expiration for the long term backups to be fetched.ListBackupsRequest.BuildertimeExpiryScheduledLessThan(Date timeExpiryScheduledLessThan)The end of date-time range of expiration for the long term backups to be fetched.ListBackupsRequest.Buildertype(String type)A filter to return only backups that matches with the given type of Backup.ListBackupsRequest.Builderversion(String version)A filter to return only resources that match the given database version.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
databaseIdpublic ListBackupsRequest.Builder databaseId(String databaseId) The OCID of the database.- Parameters:
- databaseId- the value to set
- Returns:
- this builder instance
 
 - 
compartmentIdpublic ListBackupsRequest.Builder compartmentId(String compartmentId) The compartment OCID.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListBackupsRequest.Builder limit(Integer limit) The maximum number of items to return per page.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListBackupsRequest.Builder page(String page) The pagination token to continue listing from.- Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
shapeFamilypublic 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.- Parameters:
- shapeFamily- the value to set
- Returns:
- this builder instance
 
 - 
versionpublic ListBackupsRequest.Builder version(String version) A filter to return only resources that match the given database version.- Parameters:
- version- the value to set
- Returns:
- this builder instance
 
 - 
typepublic ListBackupsRequest.Builder type(String type) A filter to return only backups that matches with the given type of Backup.- Parameters:
- type- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListBackupsRequest.Builder lifecycleState(BackupSummary.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
 
 - 
timeExpiryScheduledGreaterThanOrEqualTopublic ListBackupsRequest.Builder timeExpiryScheduledGreaterThanOrEqualTo(Date timeExpiryScheduledGreaterThanOrEqualTo) The start of date-time range of expiration for the long term backups to be fetched.- Parameters:
- timeExpiryScheduledGreaterThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
timeExpiryScheduledLessThanpublic ListBackupsRequest.Builder timeExpiryScheduledLessThan(Date timeExpiryScheduledLessThan) The end of date-time range of expiration for the long term backups to be fetched.- Parameters:
- timeExpiryScheduledLessThan- the value to set
- Returns:
- this builder instance
 
 - 
backupDestinationTypepublic ListBackupsRequest.Builder backupDestinationType(String backupDestinationType) A filter to return only resources that match the given backup destination type.- Parameters:
- backupDestinationType- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListBackupsRequest.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
 
 - 
retryConfigurationpublic ListBackupsRequest.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
 
 - 
copypublic ListBackupsRequest.Builder copy(ListBackupsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListBackupsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListBackupsRequest build() Build the instance of ListBackupsRequest 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:
- buildin interface- BmcRequest.Builder<ListBackupsRequest,Void>
- Returns:
- instance of ListBackupsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListBackupsRequest buildWithoutInvocationCallback() Build the instance of ListBackupsRequest 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 ListBackupsRequest
 
 
- 
 
-