Class ListHostInsightsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.opsi.requests.ListHostInsightsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class ListHostInsightsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/opsi/ListHostInsightsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostInsightsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListHostInsightsRequest.Builderstatic classListHostInsightsRequest.PlatformTypeFilter by one or more platform types.static classListHostInsightsRequest.SortByHost insight list sort options.
-
Constructor Summary
Constructors Constructor Description ListHostInsightsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListHostInsightsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()The OCID of the compartment.BooleangetCompartmentIdInSubtree()A flag to search all resources within a given compartment and all sub-compartments.StringgetEnterpriseManagerBridgeId()Unique Enterprise Manager bridge identifierStringgetExadataInsightId()OCID of exadata insight resource.List<String>getHostType()Filter by one or more host types.List<String>getId()Optional list of host insight resource OCIDs.List<LifecycleState>getLifecycleState()Lifecycle statesIntegergetLimit()For list pagination.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetPage()For list pagination.List<ListHostInsightsRequest.PlatformType>getPlatformType()Filter by one or more platform types.ListHostInsightsRequest.SortBygetSortBy()Host insight list sort options.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).List<ResourceStatus>getStatus()Resource StatusinthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListHostInsightsRequest.BuildertoBuilder()Return an instance ofListHostInsightsRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getStatus
public List<ResourceStatus> getStatus()
Resource Status
-
getLifecycleState
public List<LifecycleState> getLifecycleState()
Lifecycle states
-
getHostType
public List<String> getHostType()
Filter by one or more host types.Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST, COMANAGED-EXACC-HOST
-
getPlatformType
public List<ListHostInsightsRequest.PlatformType> getPlatformType()
Filter by one or more platform types.Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
-
getLimit
public Integer getLimit()
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
-
getPage
public String getPage()
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.
-
getSortOrder
public SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
-
getSortBy
public ListHostInsightsRequest.SortBy getSortBy()
Host insight list sort options.If fields parameter is selected, the sortBy parameter must be one of the fields specified.
-
getEnterpriseManagerBridgeId
public String getEnterpriseManagerBridgeId()
Unique Enterprise Manager bridge identifier
-
getCompartmentIdInSubtree
public Boolean getCompartmentIdInSubtree()
A flag to search all resources within a given compartment and all sub-compartments.
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
toBuilder
public ListHostInsightsRequest.Builder toBuilder()
Return an instance ofListHostInsightsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListHostInsightsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListHostInsightsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-