Package com.datadog.api.client.v2.api
Class CloudCostManagementApi.ListCostTagsOptionalParameters
java.lang.Object
com.datadog.api.client.v2.api.CloudCostManagementApi.ListCostTagsOptionalParameters
- Enclosing class:
- CloudCostManagementApi
Manage optional parameters to listCostTags.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilterMatch(String filterMatch) Set filterMatch.filterMetric(String filterMetric) Set filterMetric.filterTagKeys(List<String> filterTagKeys) Set filterTagKeys.filterTags(List<String> filterTags) Set filterTags.Set pageSize.
-
Constructor Details
-
ListCostTagsOptionalParameters
public ListCostTagsOptionalParameters()
-
-
Method Details
-
filterMetric
Set filterMetric.- Parameters:
filterMetric- The Cloud Cost Management metric to scope the tags to. When omitted, returns tags across all metrics. (optional)- Returns:
- ListCostTagsOptionalParameters
-
filterMatch
Set filterMatch.- Parameters:
filterMatch- A substring used to filter the returned tags by name. (optional)- Returns:
- ListCostTagsOptionalParameters
-
filterTags
Set filterTags.- Parameters:
filterTags- Filter to return only tags that appear with the givenkey:valuetag values. For example,filter[tags]=providername:awsreturns tags found on the same cost data, such asaws_instance_type:t3.microandaws_instance_type:m5.large. (optional)- Returns:
- ListCostTagsOptionalParameters
-
filterTagKeys
public CloudCostManagementApi.ListCostTagsOptionalParameters filterTagKeys(List<String> filterTagKeys) Set filterTagKeys.- Parameters:
filterTagKeys- Restrict the returned tags to those whose key matches one of the given tag keys. (optional)- Returns:
- ListCostTagsOptionalParameters
-
pageSize
Set pageSize.- Parameters:
pageSize- Controls the size of the internal tag search scope. This does not restrict the number of tags returned in the response. Defaults to 50, maximum 10000. (optional, default to 50)- Returns:
- ListCostTagsOptionalParameters
-