Package com.oracle.bmc.database.requests
Class ListPluggableDatabaseSnapshotsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListPluggableDatabaseSnapshotsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListPluggableDatabaseSnapshotsRequest,Void>
- Enclosing class:
- ListPluggableDatabaseSnapshotsRequest
public static class ListPluggableDatabaseSnapshotsRequest.Builder extends Object implements BmcRequest.Builder<ListPluggableDatabaseSnapshotsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPluggableDatabaseSnapshotsRequest
build()
Build the instance of ListPluggableDatabaseSnapshotsRequest as configured by this builderListPluggableDatabaseSnapshotsRequest
buildWithoutInvocationCallback()
Build the instance of ListPluggableDatabaseSnapshotsRequest as configured by this builderListPluggableDatabaseSnapshotsRequest.Builder
clusterId(String clusterId)
A filter to return only Exadata Database Node Snapshots that match the given VM cluster.ListPluggableDatabaseSnapshotsRequest.Builder
compartmentId(String compartmentId)
The compartment OCID.ListPluggableDatabaseSnapshotsRequest.Builder
copy(ListPluggableDatabaseSnapshotsRequest o)
Copy method to populate the builder with values from the given instance.ListPluggableDatabaseSnapshotsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListPluggableDatabaseSnapshotsRequest.Builder
lifecycleState(PluggableDatabaseSnapshot.LifecycleState lifecycleState)
A filter to return only Exadata Pluggable Database Snapshots that match the given lifecycle state exactly.ListPluggableDatabaseSnapshotsRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListPluggableDatabaseSnapshotsRequest.Builder
name(String name)
A filter to return only resources that match the entire name given.ListPluggableDatabaseSnapshotsRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListPluggableDatabaseSnapshotsRequest.Builder
page(String page)
The pagination token to continue listing from.ListPluggableDatabaseSnapshotsRequest.Builder
pluggableDatabaseId(String pluggableDatabaseId)
A filter to return only Exadata Pluggable Database Snapshots that match the given database OCID.ListPluggableDatabaseSnapshotsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListPluggableDatabaseSnapshotsRequest.Builder
sortBy(ListPluggableDatabaseSnapshotsRequest.SortBy sortBy)
The field to sort by.ListPluggableDatabaseSnapshotsRequest.Builder
sortOrder(ListPluggableDatabaseSnapshotsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
compartmentId
public ListPluggableDatabaseSnapshotsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
limit
public ListPluggableDatabaseSnapshotsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListPluggableDatabaseSnapshotsRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortBy
public ListPluggableDatabaseSnapshotsRequest.Builder sortBy(ListPluggableDatabaseSnapshotsRequest.SortBy sortBy)
The field to sort by.You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for NAME is ascending. The NAME sort order is case sensitive.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
name
public ListPluggableDatabaseSnapshotsRequest.Builder name(String name)
A filter to return only resources that match the entire name given.The match is not case sensitive.
- Parameters:
name
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListPluggableDatabaseSnapshotsRequest.Builder sortOrder(ListPluggableDatabaseSnapshotsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListPluggableDatabaseSnapshotsRequest.Builder lifecycleState(PluggableDatabaseSnapshot.LifecycleState lifecycleState)
A filter to return only Exadata Pluggable Database Snapshots that match the given lifecycle state exactly.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
clusterId
public ListPluggableDatabaseSnapshotsRequest.Builder clusterId(String clusterId)
A filter to return only Exadata Database Node Snapshots that match the given VM cluster.- Parameters:
clusterId
- the value to set- Returns:
- this builder instance
-
pluggableDatabaseId
public ListPluggableDatabaseSnapshotsRequest.Builder pluggableDatabaseId(String pluggableDatabaseId)
A filter to return only Exadata Pluggable Database Snapshots that match the given database OCID.- Parameters:
pluggableDatabaseId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListPluggableDatabaseSnapshotsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListPluggableDatabaseSnapshotsRequest.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
-
retryConfiguration
public ListPluggableDatabaseSnapshotsRequest.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
-
copy
public ListPluggableDatabaseSnapshotsRequest.Builder copy(ListPluggableDatabaseSnapshotsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListPluggableDatabaseSnapshotsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPluggableDatabaseSnapshotsRequest build()
Build the instance of ListPluggableDatabaseSnapshotsRequest 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:
build
in interfaceBmcRequest.Builder<ListPluggableDatabaseSnapshotsRequest,Void>
- Returns:
- instance of ListPluggableDatabaseSnapshotsRequest
-
buildWithoutInvocationCallback
public ListPluggableDatabaseSnapshotsRequest buildWithoutInvocationCallback()
Build the instance of ListPluggableDatabaseSnapshotsRequest 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 ListPluggableDatabaseSnapshotsRequest
-
-