public static class ListRoverEntitlementsRequest.Builder extends Object implements BmcRequest.Builder<ListRoverEntitlementsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListRoverEntitlementsRequest |
build()
Build the instance of ListRoverEntitlementsRequest as configured by this builder
|
ListRoverEntitlementsRequest |
buildWithoutInvocationCallback() |
ListRoverEntitlementsRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.
|
ListRoverEntitlementsRequest.Builder |
copy(ListRoverEntitlementsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListRoverEntitlementsRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire display name given.
|
ListRoverEntitlementsRequest.Builder |
id(String id)
filtering by Rover Device Entitlement id
|
ListRoverEntitlementsRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListRoverEntitlementsRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.
|
ListRoverEntitlementsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListRoverEntitlementsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListRoverEntitlementsRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListRoverEntitlementsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListRoverEntitlementsRequest.Builder |
sortBy(ListRoverEntitlementsRequest.SortBy sortBy)
The field to sort by.
|
ListRoverEntitlementsRequest.Builder |
sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListRoverEntitlementsRequest.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 ListRoverEntitlementsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListRoverEntitlementsRequest.Builder copy(ListRoverEntitlementsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListRoverEntitlementsRequest,Void>
o
- other request from which to copy valuespublic ListRoverEntitlementsRequest build()
Build the instance of ListRoverEntitlementsRequest 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<ListRoverEntitlementsRequest,Void>
public ListRoverEntitlementsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.
this
.public ListRoverEntitlementsRequest.Builder id(String id)
filtering by Rover Device Entitlement id
this
.public ListRoverEntitlementsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.
this
.public ListRoverEntitlementsRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.
this
.public ListRoverEntitlementsRequest.Builder limit(Integer limit)
The maximum number of items to return.
this
.public ListRoverEntitlementsRequest.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 ListRoverEntitlementsRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
this
.public ListRoverEntitlementsRequest.Builder sortBy(ListRoverEntitlementsRequest.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 ListRoverEntitlementsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public ListRoverEntitlementsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.