Class ListHostedEntitiesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.opsi.requests.ListHostedEntitiesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class ListHostedEntitiesRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/opsi/ListHostedEntitiesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostedEntitiesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListHostedEntitiesRequest.Builder
static class
ListHostedEntitiesRequest.PlatformType
Filter by one or more platform types.static class
ListHostedEntitiesRequest.SortBy
Hosted entity list sort options.
-
Constructor Summary
Constructors Constructor Description ListHostedEntitiesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListHostedEntitiesRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getAnalysisTimeInterval()
Specify time period in ISO 8601 format with respect to current time.String
getCompartmentId()
The OCID of the compartment.String
getExadataInsightId()
OCID of exadata insight resource.String
getHostId()
Optional OCID of the host (Compute Id)List<String>
getHostType()
Filter by one or more host types.String
getId()
Required OCID of the host insight resource.Integer
getLimit()
For list pagination.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getPage()
For list pagination.List<ListHostedEntitiesRequest.PlatformType>
getPlatformType()
Filter by one or more platform types.ListHostedEntitiesRequest.SortBy
getSortBy()
Hosted entity list sort options.SortOrder
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).List<ResourceStatus>
getStatus()
Resource StatusDate
getTimeIntervalEnd()
Analysis end time in UTC in ISO 8601 format(exclusive).Date
getTimeIntervalStart()
Analysis start time in UTC in ISO 8601 format(inclusive).int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListHostedEntitiesRequest.Builder
toBuilder()
Return an instance ofListHostedEntitiesRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getAnalysisTimeInterval
public String getAnalysisTimeInterval()
Specify time period in ISO 8601 format with respect to current time.Default is last 30 days represented by P30D. If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored. Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
-
getTimeIntervalStart
public Date getTimeIntervalStart()
Analysis start time in UTC in ISO 8601 format(inclusive).Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). The minimum allowed value is 2 years prior to the current day. timeIntervalStart and timeIntervalEnd parameters are used together. If analysisTimeInterval is specified, this parameter is ignored.
-
getTimeIntervalEnd
public Date getTimeIntervalEnd()
Analysis end time in UTC in ISO 8601 format(exclusive).Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd are used together. If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
-
getPlatformType
public List<ListHostedEntitiesRequest.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 ListHostedEntitiesRequest.SortBy getSortBy()
Hosted entity list sort options.
-
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.
-
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
-
getStatus
public List<ResourceStatus> getStatus()
Resource Status
-
toBuilder
public ListHostedEntitiesRequest.Builder toBuilder()
Return an instance ofListHostedEntitiesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListHostedEntitiesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListHostedEntitiesRequest.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:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-