public static class ListAccessRequestsRequest.Builder extends Object implements BmcRequest.Builder<ListAccessRequestsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListAccessRequestsRequest |
build()
Build the instance of ListAccessRequestsRequest as configured by this builder
|
ListAccessRequestsRequest |
buildWithoutInvocationCallback() |
ListAccessRequestsRequest.Builder |
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
|
ListAccessRequestsRequest.Builder |
copy(ListAccessRequestsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListAccessRequestsRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListAccessRequestsRequest.Builder |
lifecycleState(AccessRequestLifecycleStates lifecycleState)
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
|
ListAccessRequestsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListAccessRequestsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListAccessRequestsRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListAccessRequestsRequest.Builder |
resourceName(String resourceName)
A filter to return only resources that match the given ResourceName.
|
ListAccessRequestsRequest.Builder |
resourceType(String resourceType)
A filter to return only lists of resources that match the entire given service type.
|
ListAccessRequestsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListAccessRequestsRequest.Builder |
sortBy(ListAccessRequestsRequest.SortBy sortBy)
The field to sort by.
|
ListAccessRequestsRequest.Builder |
sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
ListAccessRequestsRequest.Builder |
timeEnd(Date timeEnd)
Query start time in UTC in ISO 8601 format(inclusive).
|
ListAccessRequestsRequest.Builder |
timeStart(Date timeStart)
Query start time in UTC in ISO 8601 format(inclusive).
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListAccessRequestsRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListAccessRequestsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListAccessRequestsRequest.Builder copy(ListAccessRequestsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListAccessRequestsRequest,Void>
o
- other request from which to copy valuespublic ListAccessRequestsRequest build()
Build the instance of ListAccessRequestsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListAccessRequestsRequest,Void>
public ListAccessRequestsRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
this
.public ListAccessRequestsRequest.Builder resourceName(String resourceName)
A filter to return only resources that match the given ResourceName.
this
.public ListAccessRequestsRequest.Builder resourceType(String resourceType)
A filter to return only lists of resources that match the entire given service type.
this
.public ListAccessRequestsRequest.Builder lifecycleState(AccessRequestLifecycleStates lifecycleState)
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
this
.public ListAccessRequestsRequest.Builder timeStart(Date timeStart)
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
this
.public ListAccessRequestsRequest.Builder timeEnd(Date timeEnd)
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
this
.public ListAccessRequestsRequest.Builder limit(Integer limit)
The maximum number of items to return.
this
.public ListAccessRequestsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
this
.public ListAccessRequestsRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
this
.public ListAccessRequestsRequest.Builder sortBy(ListAccessRequestsRequest.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. If no value is specified timeCreated is default.
this
.public ListAccessRequestsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public ListAccessRequestsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.