public static class ListWorkersRequest.Builder extends Object implements BmcRequest.Builder<ListWorkersRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListWorkersRequest.Builder |
apmDomainId(String apmDomainId)
The APM domain ID the request is intended for.
|
ListWorkersRequest |
build()
Build the instance of ListWorkersRequest as configured by this builder
|
ListWorkersRequest |
buildWithoutInvocationCallback()
Build the instance of ListWorkersRequest as configured by this builder
|
ListWorkersRequest.Builder |
capability(String capability)
A filter to return only On-premise VP workers that match the capability given.
|
ListWorkersRequest.Builder |
copy(ListWorkersRequest o)
Copy method to populate the builder with values from the given instance.
|
ListWorkersRequest.Builder |
displayName(String displayName)
A filter to return only the resources that match the entire display name.
|
ListWorkersRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListWorkersRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListWorkersRequest.Builder |
name(String name)
A filter to return only the resources that match the entire name.
|
ListWorkersRequest.Builder |
onPremiseVantagePointId(String onPremiseVantagePointId)
The OCID of the On-premise vantage point.
|
ListWorkersRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ListWorkersRequest.Builder |
page(String page)
The maximum number of results per page, or items to return in a paginated “List” call.
|
ListWorkersRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListWorkersRequest.Builder |
sortBy(ListWorkersRequest.SortBy sortBy)
The field to sort by.
|
ListWorkersRequest.Builder |
sortOrder(SortOrders sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
ListWorkersRequest.Builder |
status(OnPremiseVantagePointWorkerStatus status)
A filter to return only On-premise VP workers that match the status given.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListWorkersRequest.Builder apmDomainId(String apmDomainId)
The APM domain ID the request is intended for.
apmDomainId
- the value to setpublic ListWorkersRequest.Builder onPremiseVantagePointId(String onPremiseVantagePointId)
The OCID of the On-premise vantage point.
onPremiseVantagePointId
- the value to setpublic ListWorkersRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListWorkersRequest.Builder page(String page)
The maximum number of results per page, or items to return in a paginated “List” call. For information on how pagination works, see List Pagination.
Example: 50
page
- the value to setpublic ListWorkersRequest.Builder status(OnPremiseVantagePointWorkerStatus status)
A filter to return only On-premise VP workers that match the status given.
status
- the value to setpublic ListWorkersRequest.Builder capability(String capability)
A filter to return only On-premise VP workers that match the capability given.
capability
- the value to setpublic ListWorkersRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
Default sort order is ascending.
sortOrder
- the value to setpublic ListWorkersRequest.Builder sortBy(ListWorkersRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Default order of displayName is ascending. Default order of timeCreated, timeUpdated and timeLastSyncup is descending. The displayName sort by is case-sensitive.
sortBy
- the value to setpublic ListWorkersRequest.Builder displayName(String displayName)
A filter to return only the resources that match the entire display name.
displayName
- the value to setpublic ListWorkersRequest.Builder name(String name)
A filter to return only the resources that match the entire name.
name
- the value to setpublic ListWorkersRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic ListWorkersRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListWorkersRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListWorkersRequest.Builder copy(ListWorkersRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListWorkersRequest,Void>
o
- other request from which to copy valuespublic ListWorkersRequest build()
Build the instance of ListWorkersRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListWorkersRequest,Void>
public ListWorkersRequest buildWithoutInvocationCallback()
Build the instance of ListWorkersRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.