public static class ListHostInsightsRequest.Builder extends Object implements BmcRequest.Builder<ListHostInsightsRequest,Void>
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListHostInsightsRequest.Builder id(List<String> id)
Optional list of host insight resource OCIDs.
public ListHostInsightsRequest.Builder id(String singularValue)
Singular setter. Optional list of host insight resource OCIDs.
public ListHostInsightsRequest.Builder status(List<ResourceStatus> status)
Resource Status
public ListHostInsightsRequest.Builder status(ResourceStatus singularValue)
Singular setter. Resource Status
public ListHostInsightsRequest.Builder lifecycleState(List<LifecycleState> lifecycleState)
Lifecycle states
public ListHostInsightsRequest.Builder lifecycleState(LifecycleState singularValue)
Singular setter. Lifecycle states
public ListHostInsightsRequest.Builder hostType(List<String> hostType)
Filter by one or more host types. Possible value is EXTERNAL-HOST.
public ListHostInsightsRequest.Builder hostType(String singularValue)
Singular setter. Filter by one or more host types. Possible value is EXTERNAL-HOST.
public ListHostInsightsRequest.Builder platformType(List<ListHostInsightsRequest.PlatformType> platformType)
Filter by one or more platform types. Supported platformType(s) for MACS-managed external host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX].
public ListHostInsightsRequest.Builder platformType(ListHostInsightsRequest.PlatformType singularValue)
Singular setter. Filter by one or more platform types. Supported platformType(s) for MACS-managed external host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX].
public ListHostInsightsRequest.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 ListHostInsightsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListHostInsightsRequest.Builder copy(ListHostInsightsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListHostInsightsRequest,Void>
o
- other request from which to copy valuespublic ListHostInsightsRequest build()
Build the instance of ListHostInsightsRequest 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<ListHostInsightsRequest,Void>
public ListHostInsightsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
this
.public ListHostInsightsRequest.Builder limit(Integer limit)
For list pagination. The maximum number of results per page, or items to
return in a paginated “List” call.
For important details about how pagination works, see
List Pagination.
Example: 50
this
.public ListHostInsightsRequest.Builder page(String page)
For list pagination. The value of the opc-next-page
response header from
the previous “List” call. For important details about how pagination works,
see List Pagination.
this
.public ListHostInsightsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
this
.public ListHostInsightsRequest.Builder sortBy(ListHostInsightsRequest.SortBy sortBy)
Host insight list sort options. If fields
parameter is selected, the sortBy
parameter must be one of the fields specified.
this
.public ListHostInsightsRequest.Builder enterpriseManagerBridgeId(String enterpriseManagerBridgeId)
Unique Enterprise Manager bridge identifier
this
.public ListHostInsightsRequest.Builder exadataInsightId(String exadataInsightId)
OCID of exadata insight resource.
this
.public ListHostInsightsRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
A flag to search all resources within a given compartment and all sub-compartments.
this
.public ListHostInsightsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
this
.public ListHostInsightsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.