Class ListPeerTargetDatabasesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.ListPeerTargetDatabasesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListPeerTargetDatabasesRequest,Void>
- Enclosing class:
- ListPeerTargetDatabasesRequest
public static class ListPeerTargetDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListPeerTargetDatabasesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPeerTargetDatabasesRequestbuild()Build the instance of ListPeerTargetDatabasesRequest as configured by this builderListPeerTargetDatabasesRequestbuildWithoutInvocationCallback()Build the instance of ListPeerTargetDatabasesRequest as configured by this builderListPeerTargetDatabasesRequest.Buildercopy(ListPeerTargetDatabasesRequest o)Copy method to populate the builder with values from the given instance.ListPeerTargetDatabasesRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.ListPeerTargetDatabasesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListPeerTargetDatabasesRequest.Builderlimit(Integer limit)For list pagination.ListPeerTargetDatabasesRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListPeerTargetDatabasesRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ListPeerTargetDatabasesRequest.Builderpage(String page)For list pagination.ListPeerTargetDatabasesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListPeerTargetDatabasesRequest.BuildertargetDatabaseId(String targetDatabaseId)The OCID of the Data Safe target database.-
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
-
targetDatabaseId
public ListPeerTargetDatabasesRequest.Builder targetDatabaseId(String targetDatabaseId)
The OCID of the Data Safe target database.- Parameters:
targetDatabaseId- the value to set- Returns:
- this builder instance
-
ifMatch
public ListPeerTargetDatabasesRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListPeerTargetDatabasesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ListPeerTargetDatabasesRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
limit
public ListPeerTargetDatabasesRequest.Builder limit(Integer limit)
For list pagination.The maximum number of items to return per page in a paginated “List” call. For details about how pagination works, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListPeerTargetDatabasesRequest.Builder page(String page)
For list pagination.The page token representing the page at which to start retrieving results. It is usually retrieved from a previous “List” call. For details about how pagination works, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListPeerTargetDatabasesRequest.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 ListPeerTargetDatabasesRequest.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 ListPeerTargetDatabasesRequest.Builder copy(ListPeerTargetDatabasesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListPeerTargetDatabasesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPeerTargetDatabasesRequest build()
Build the instance of ListPeerTargetDatabasesRequest 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 interfaceBmcRequest.Builder<ListPeerTargetDatabasesRequest,Void>- Returns:
- instance of ListPeerTargetDatabasesRequest
-
buildWithoutInvocationCallback
public ListPeerTargetDatabasesRequest buildWithoutInvocationCallback()
Build the instance of ListPeerTargetDatabasesRequest 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 ListPeerTargetDatabasesRequest
-
-