Package com.datadog.api.client.v1.api
Class HostsApi.ListHostsOptionalParameters
java.lang.Object
com.datadog.api.client.v1.api.HostsApi.ListHostsOptionalParameters
- Enclosing class:
- HostsApi
Manage optional parameters to listHosts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet count.Set filter.Set from.includeHostsMetadata(Boolean includeHostsMetadata) Set includeHostsMetadata.includeMutedHostsData(Boolean includeMutedHostsData) Set includeMutedHostsData.Set sortDir.Set sortField.Set start.
-
Constructor Details
-
ListHostsOptionalParameters
public ListHostsOptionalParameters()
-
-
Method Details
-
filter
Set filter.- Parameters:
filter- String to filter search results. (optional)- Returns:
- ListHostsOptionalParameters
-
sortField
Set sortField.- Parameters:
sortField- Sort hosts by this field. (optional)- Returns:
- ListHostsOptionalParameters
-
sortDir
Set sortDir.- Parameters:
sortDir- Direction of sort. Options includeascanddesc. (optional)- Returns:
- ListHostsOptionalParameters
-
start
Set start.- Parameters:
start- Specify the starting point for the host search results. For example, if you setcountto 100 and the first 100 results have already been returned, you can setstartto101to get the next 100 results. (optional)- Returns:
- ListHostsOptionalParameters
-
count
Set count.- Parameters:
count- Number of hosts to return. Max 1000. (optional)- Returns:
- ListHostsOptionalParameters
-
from
Set from.- Parameters:
from- Number of seconds since UNIX epoch from which you want to search your hosts. (optional)- Returns:
- ListHostsOptionalParameters
-
includeMutedHostsData
Set includeMutedHostsData.- Parameters:
includeMutedHostsData- Include information on the muted status of hosts and when the mute expires. (optional)- Returns:
- ListHostsOptionalParameters
-
includeHostsMetadata
Set includeHostsMetadata.- Parameters:
includeHostsMetadata- Include additional metadata about the hosts (agent_version, machine, platform, processor, etc.). (optional)- Returns:
- ListHostsOptionalParameters
-