public static class ListOnPremConnectorsRequest.Builder extends Object implements BmcRequest.Builder<ListOnPremConnectorsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListOnPremConnectorsRequest.Builder |
accessLevel(ListOnPremConnectorsRequest.AccessLevel accessLevel)
Valid values are RESTRICTED and ACCESSIBLE.
|
ListOnPremConnectorsRequest |
build()
Build the instance of ListOnPremConnectorsRequest as configured by this builder
|
ListOnPremConnectorsRequest |
buildWithoutInvocationCallback() |
ListOnPremConnectorsRequest.Builder |
compartmentId(String compartmentId)
A filter to return only resources that match the specified compartment OCID.
|
ListOnPremConnectorsRequest.Builder |
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
Default is false.
|
ListOnPremConnectorsRequest.Builder |
copy(ListOnPremConnectorsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListOnPremConnectorsRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the specified display name.
|
ListOnPremConnectorsRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListOnPremConnectorsRequest.Builder |
limit(Integer limit)
For list pagination.
|
ListOnPremConnectorsRequest.Builder |
onPremConnectorId(String onPremConnectorId)
A filter to return only the on-premises connector that matches the specified id.
|
ListOnPremConnectorsRequest.Builder |
onPremConnectorLifecycleState(OnPremConnectorLifecycleState onPremConnectorLifecycleState)
A filter to return only on-premises connector resources that match the specified lifecycle state.
|
ListOnPremConnectorsRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ListOnPremConnectorsRequest.Builder |
page(String page)
For list pagination.
|
ListOnPremConnectorsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListOnPremConnectorsRequest.Builder |
sortBy(ListOnPremConnectorsRequest.SortBy sortBy)
The field used for sorting.
|
ListOnPremConnectorsRequest.Builder |
sortOrder(ListOnPremConnectorsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListOnPremConnectorsRequest.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 ListOnPremConnectorsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListOnPremConnectorsRequest.Builder copy(ListOnPremConnectorsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListOnPremConnectorsRequest,Void>
o
- other request from which to copy valuespublic ListOnPremConnectorsRequest build()
Build the instance of ListOnPremConnectorsRequest 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<ListOnPremConnectorsRequest,Void>
public ListOnPremConnectorsRequest.Builder compartmentId(String compartmentId)
A filter to return only resources that match the specified compartment OCID.
this
.public ListOnPremConnectorsRequest.Builder onPremConnectorId(String onPremConnectorId)
A filter to return only the on-premises connector that matches the specified id.
this
.public ListOnPremConnectorsRequest.Builder displayName(String displayName)
A filter to return only resources that match the specified display name.
this
.public ListOnPremConnectorsRequest.Builder onPremConnectorLifecycleState(OnPremConnectorLifecycleState onPremConnectorLifecycleState)
A filter to return only on-premises connector resources that match the specified lifecycle state.
this
.public ListOnPremConnectorsRequest.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.
this
.public ListOnPremConnectorsRequest.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.
this
.public ListOnPremConnectorsRequest.Builder sortOrder(ListOnPremConnectorsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).
this
.public ListOnPremConnectorsRequest.Builder sortBy(ListOnPremConnectorsRequest.SortBy sortBy)
The field used for sorting. Only one sorting order (sortOrder) can be specified. The default order for TIMECREATED is descending. The default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
this
.public ListOnPremConnectorsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.
this
.public ListOnPremConnectorsRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the ‘accessLevel’ setting.
this
.public ListOnPremConnectorsRequest.Builder accessLevel(ListOnPremConnectorsRequest.AccessLevel accessLevel)
Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
this
.public ListOnPremConnectorsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.