Class ListHostAgentScanResultsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.vulnerabilityscanning.requests.ListHostAgentScanResultsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210215") public class ListHostAgentScanResultsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.76.0/vulnerabilityscanning/ListHostAgentScanResultsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostAgentScanResultsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListHostAgentScanResultsRequest.Builder
-
Constructor Summary
Constructors Constructor Description ListHostAgentScanResultsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListHostAgentScanResultsRequest.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 ID of the compartment in which to list resources.StringgetDisplayName()A filter to return only resources that match the entire display name given.ScanResultProblemSeveritygetHighestProblemSeverity()Parameter to filter by highestProblemSeverity for scan resultsStringgetInstanceId()The ID of a compute instanceBooleangetIsLatestOnly()A flag to return only the latest scan result of an instance.IntegergetLimit()The maximum number of items to return.StringgetOpcRequestId()The client request ID for tracing.StringgetOperatingSystem()Parameter to filter by operating system for scan resultsStringgetPage()The page token representing the page at which to start retrieving results.HostAgentScanResultSortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ‘ASC’ or ‘DESC’.DategetTimeStartedGreaterThanOrEqualTo()Date and time on or after which scans were started, as described in RFC 3339DategetTimeStartedLessThanOrEqualTo()Date and time on or before which scans were started, as described in RFC 3339inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListHostAgentScanResultsRequest.BuildertoBuilder()Return an instance ofListHostAgentScanResultsRequest.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
-
getCompartmentId
public String getCompartmentId()
The ID of the compartment in which to list resources.
-
getInstanceId
public String getInstanceId()
The ID of a compute instance
-
getHighestProblemSeverity
public ScanResultProblemSeverity getHighestProblemSeverity()
Parameter to filter by highestProblemSeverity for scan results
-
getOperatingSystem
public String getOperatingSystem()
Parameter to filter by operating system for scan results
-
getTimeStartedGreaterThanOrEqualTo
public Date getTimeStartedGreaterThanOrEqualTo()
Date and time on or after which scans were started, as described in RFC 3339
-
getTimeStartedLessThanOrEqualTo
public Date getTimeStartedLessThanOrEqualTo()
Date and time on or before which scans were started, as described in RFC 3339
-
getSortOrder
public SortOrder getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.
-
getSortBy
public HostAgentScanResultSortBy getSortBy()
The field to sort by.Only one sort order may be provided. Default order is descending. If no value is specified timeStarted is default.
-
getLimit
public Integer getLimit()
The maximum number of items to return.
-
getPage
public String getPage()
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
getDisplayName
public String getDisplayName()
A filter to return only resources that match the entire display name given.
-
getIsLatestOnly
public Boolean getIsLatestOnly()
A flag to return only the latest scan result of an instance.
-
toBuilder
public ListHostAgentScanResultsRequest.Builder toBuilder()
Return an instance ofListHostAgentScanResultsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListHostAgentScanResultsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListHostAgentScanResultsRequest.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>
-
-