Package com.oracle.bmc.lockbox.requests
Class ExportAccessRequestsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.lockbox.requests.ExportAccessRequestsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ExportAccessRequestsRequest,ExportAccessRequestsDetails>
- Enclosing class:
- ExportAccessRequestsRequest
public static class ExportAccessRequestsRequest.Builder extends Object implements BmcRequest.Builder<ExportAccessRequestsRequest,ExportAccessRequestsDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportAccessRequestsRequest.Builder
body$(ExportAccessRequestsDetails body)
Alternative setter for the body parameter.ExportAccessRequestsRequest
build()
Build the instance of ExportAccessRequestsRequest as configured by this builderExportAccessRequestsRequest
buildWithoutInvocationCallback()
Build the instance of ExportAccessRequestsRequest as configured by this builderExportAccessRequestsRequest.Builder
copy(ExportAccessRequestsRequest o)
Copy method to populate the builder with values from the given instance.ExportAccessRequestsRequest.Builder
displayName(String displayName)
A filter to return only resources that match the entire display name given.ExportAccessRequestsRequest.Builder
exportAccessRequestsDetails(ExportAccessRequestsDetails exportAccessRequestsDetails)
Exports the list of access requests for given date range in text formatExportAccessRequestsRequest.Builder
id(String id)
A generic Id query param used to filter lockbox, access request and approval template by Id.ExportAccessRequestsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ExportAccessRequestsRequest.Builder
lifecycleState(AccessRequest.LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.ExportAccessRequestsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ExportAccessRequestsRequest.Builder
lockboxPartner(LockboxPartner lockboxPartner)
The name of the lockbox partner.ExportAccessRequestsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ExportAccessRequestsRequest.Builder
page(String page)
A token representing the position at which to start retrieving results.ExportAccessRequestsRequest.Builder
partnerId(String partnerId)
The ID of the partner.ExportAccessRequestsRequest.Builder
requestorId(String requestorId)
The unique identifier (OCID) of the requestor in which to list resources.ExportAccessRequestsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ExportAccessRequestsRequest.Builder
sortBy(ExportAccessRequestsRequest.SortBy sortBy)
The field to sort by.ExportAccessRequestsRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
-
-
-
Method Detail
-
exportAccessRequestsDetails
public ExportAccessRequestsRequest.Builder exportAccessRequestsDetails(ExportAccessRequestsDetails exportAccessRequestsDetails)
Exports the list of access requests for given date range in text format- Parameters:
exportAccessRequestsDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ExportAccessRequestsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
id
public ExportAccessRequestsRequest.Builder id(String id)
A generic Id query param used to filter lockbox, access request and approval template by Id.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
displayName
public ExportAccessRequestsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ExportAccessRequestsRequest.Builder lifecycleState(AccessRequest.LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
lockboxPartner
public ExportAccessRequestsRequest.Builder lockboxPartner(LockboxPartner lockboxPartner)
The name of the lockbox partner.- Parameters:
lockboxPartner
- the value to set- Returns:
- this builder instance
-
partnerId
public ExportAccessRequestsRequest.Builder partnerId(String partnerId)
The ID of the partner.- Parameters:
partnerId
- the value to set- Returns:
- this builder instance
-
requestorId
public ExportAccessRequestsRequest.Builder requestorId(String requestorId)
The unique identifier (OCID) of the requestor in which to list resources.- Parameters:
requestorId
- the value to set- Returns:
- this builder instance
-
limit
public ExportAccessRequestsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ExportAccessRequestsRequest.Builder page(String page)
A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ExportAccessRequestsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ExportAccessRequestsRequest.Builder sortBy(ExportAccessRequestsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ExportAccessRequestsRequest.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 ExportAccessRequestsRequest.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 ExportAccessRequestsRequest.Builder copy(ExportAccessRequestsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ExportAccessRequestsRequest,ExportAccessRequestsDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ExportAccessRequestsRequest build()
Build the instance of ExportAccessRequestsRequest 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<ExportAccessRequestsRequest,ExportAccessRequestsDetails>
- Returns:
- instance of ExportAccessRequestsRequest
-
body$
public ExportAccessRequestsRequest.Builder body$(ExportAccessRequestsDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<ExportAccessRequestsRequest,ExportAccessRequestsDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ExportAccessRequestsRequest buildWithoutInvocationCallback()
Build the instance of ExportAccessRequestsRequest 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 ExportAccessRequestsRequest
-
-