Package com.datadog.api.client.v2.api
Class GovernanceConsoleApi.ListGovernanceControlDetectionsOptionalParameters
java.lang.Object
com.datadog.api.client.v2.api.GovernanceConsoleApi.ListGovernanceControlDetectionsOptionalParameters
- Enclosing class:
- GovernanceConsoleApi
public static class GovernanceConsoleApi.ListGovernanceControlDetectionsOptionalParameters
extends Object
Manage optional parameters to listGovernanceControlDetections.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilterQuery(String filterQuery) Set filterQuery.filterState(String filterState) Set filterState.pageNumber(Long pageNumber) Set pageNumber.Set pageSize.Set sort.
-
Constructor Details
-
ListGovernanceControlDetectionsOptionalParameters
public ListGovernanceControlDetectionsOptionalParameters()
-
-
Method Details
-
filterState
public GovernanceConsoleApi.ListGovernanceControlDetectionsOptionalParameters filterState(String filterState) Set filterState.- Parameters:
filterState- Restrict the results to detections in the given state. (optional)- Returns:
- ListGovernanceControlDetectionsOptionalParameters
-
filterQuery
public GovernanceConsoleApi.ListGovernanceControlDetectionsOptionalParameters filterQuery(String filterQuery) Set filterQuery.- Parameters:
filterQuery- Restrict the results to detections matching the given free-text query. (optional)- Returns:
- ListGovernanceControlDetectionsOptionalParameters
-
sort
Set sort.- Parameters:
sort- A comma-separated list of attributes to sort detections by. Prefix an attribute with-for descending order. The attributes available for sorting areid,created_at,assigned_to,detection_type,display_name,exception_at,mitigate_after,mitigated_at,priority,resource_id, andstate. Defaults tocreated_at,-id. (optional)- Returns:
- ListGovernanceControlDetectionsOptionalParameters
-
pageNumber
public GovernanceConsoleApi.ListGovernanceControlDetectionsOptionalParameters pageNumber(Long pageNumber) Set pageNumber.- Parameters:
pageNumber- The zero-based index of the page to return; the first page is 0. (optional, default to 0)- Returns:
- ListGovernanceControlDetectionsOptionalParameters
-
pageSize
public GovernanceConsoleApi.ListGovernanceControlDetectionsOptionalParameters pageSize(Long pageSize) Set pageSize.- Parameters:
pageSize- The number of detections to return per page. (optional)- Returns:
- ListGovernanceControlDetectionsOptionalParameters
-