Class ListCollectedAuditVolumesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.ListCollectedAuditVolumesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListCollectedAuditVolumesRequest,Void>
- Enclosing class:
- ListCollectedAuditVolumesRequest
public static class ListCollectedAuditVolumesRequest.Builder extends Object implements BmcRequest.Builder<ListCollectedAuditVolumesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCollectedAuditVolumesRequest.Builder
auditProfileId(String auditProfileId)
The OCID of the audit.ListCollectedAuditVolumesRequest
build()
Build the instance of ListCollectedAuditVolumesRequest as configured by this builderListCollectedAuditVolumesRequest
buildWithoutInvocationCallback()
Build the instance of ListCollectedAuditVolumesRequest as configured by this builderListCollectedAuditVolumesRequest.Builder
copy(ListCollectedAuditVolumesRequest o)
Copy method to populate the builder with values from the given instance.ListCollectedAuditVolumesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListCollectedAuditVolumesRequest.Builder
limit(Integer limit)
For list pagination.ListCollectedAuditVolumesRequest.Builder
monthInConsiderationGreaterThan(Date monthInConsiderationGreaterThan)
Specifying monthInConsiderationGreaterThan parameter will retrieve all items for which the event month is greater than the date and time specified, in the format defined by RFC3339.ListCollectedAuditVolumesRequest.Builder
monthInConsiderationLessThan(Date monthInConsiderationLessThan)
Specifying monthInConsiderationLessThan parameter will retrieve all items for which the event month is less than the date and time specified, in the format defined by RFC3339.ListCollectedAuditVolumesRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListCollectedAuditVolumesRequest.Builder
page(String page)
For list pagination.ListCollectedAuditVolumesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListCollectedAuditVolumesRequest.Builder
sortBy(ListCollectedAuditVolumesRequest.SortBy sortBy)
The field to sort by.ListCollectedAuditVolumesRequest.Builder
sortOrder(ListCollectedAuditVolumesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).ListCollectedAuditVolumesRequest.Builder
workRequestId(String workRequestId)
The OCID of the work request.-
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
-
auditProfileId
public ListCollectedAuditVolumesRequest.Builder auditProfileId(String auditProfileId)
The OCID of the audit.- Parameters:
auditProfileId
- the value to set- Returns:
- this builder instance
-
workRequestId
public ListCollectedAuditVolumesRequest.Builder workRequestId(String workRequestId)
The OCID of the work request.- Parameters:
workRequestId
- the value to set- Returns:
- this builder instance
-
monthInConsiderationGreaterThan
public ListCollectedAuditVolumesRequest.Builder monthInConsiderationGreaterThan(Date monthInConsiderationGreaterThan)
Specifying monthInConsiderationGreaterThan parameter will retrieve all items for which the event month is greater than the date and time specified, in the format defined by RFC3339.*Example:** 2016-12-19T00:00:00.000Z
- Parameters:
monthInConsiderationGreaterThan
- the value to set- Returns:
- this builder instance
-
monthInConsiderationLessThan
public ListCollectedAuditVolumesRequest.Builder monthInConsiderationLessThan(Date monthInConsiderationLessThan)
Specifying monthInConsiderationLessThan parameter will retrieve all items for which the event month is less than the date and time specified, in the format defined by RFC3339.*Example:** 2016-12-19T00:00:00.000Z
- Parameters:
monthInConsiderationLessThan
- the value to set- Returns:
- this builder instance
-
limit
public ListCollectedAuditVolumesRequest.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 ListCollectedAuditVolumesRequest.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
-
sortOrder
public ListCollectedAuditVolumesRequest.Builder sortOrder(ListCollectedAuditVolumesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListCollectedAuditVolumesRequest.Builder sortBy(ListCollectedAuditVolumesRequest.SortBy sortBy)
The field to sort by.You can specify only one sort order(sortOrder). The default order for all fields is ascending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListCollectedAuditVolumesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListCollectedAuditVolumesRequest.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 ListCollectedAuditVolumesRequest.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 ListCollectedAuditVolumesRequest.Builder copy(ListCollectedAuditVolumesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListCollectedAuditVolumesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListCollectedAuditVolumesRequest build()
Build the instance of ListCollectedAuditVolumesRequest 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<ListCollectedAuditVolumesRequest,Void>
- Returns:
- instance of ListCollectedAuditVolumesRequest
-
buildWithoutInvocationCallback
public ListCollectedAuditVolumesRequest buildWithoutInvocationCallback()
Build the instance of ListCollectedAuditVolumesRequest 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 ListCollectedAuditVolumesRequest
-
-