@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AWSMetricsConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AUTOMUTE_ENABLED |
static String |
JSON_PROPERTY_COLLECT_CLOUDWATCH_ALARMS |
static String |
JSON_PROPERTY_COLLECT_CUSTOM_METRICS |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_NAMESPACE_FILTERS |
static String |
JSON_PROPERTY_TAG_FILTERS |
boolean |
unparsed |
| Constructor and Description |
|---|
AWSMetricsConfig() |
| Modifier and Type | Method and Description |
|---|---|
AWSMetricsConfig |
addTagFiltersItem(AWSNamespaceTagFilter tagFiltersItem) |
AWSMetricsConfig |
automuteEnabled(Boolean automuteEnabled) |
AWSMetricsConfig |
collectCloudwatchAlarms(Boolean collectCloudwatchAlarms) |
AWSMetricsConfig |
collectCustomMetrics(Boolean collectCustomMetrics) |
AWSMetricsConfig |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this AWSMetricsConfig object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getAutomuteEnabled()
Enable EC2 automute for AWS metrics.
|
Boolean |
getCollectCloudwatchAlarms()
Enable CloudWatch alarms collection.
|
Boolean |
getCollectCustomMetrics()
Enable custom metrics collection.
|
Boolean |
getEnabled()
Enable AWS metrics collection.
|
AWSNamespaceFilters |
getNamespaceFilters()
AWS Metrics namespace filters.
|
List<AWSNamespaceTagFilter> |
getTagFilters()
AWS Metrics collection tag filters list.
|
int |
hashCode() |
AWSMetricsConfig |
namespaceFilters(AWSNamespaceFilters namespaceFilters) |
AWSMetricsConfig |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAutomuteEnabled(Boolean automuteEnabled) |
void |
setCollectCloudwatchAlarms(Boolean collectCloudwatchAlarms) |
void |
setCollectCustomMetrics(Boolean collectCustomMetrics) |
void |
setEnabled(Boolean enabled) |
void |
setNamespaceFilters(AWSNamespaceFilters namespaceFilters) |
void |
setTagFilters(List<AWSNamespaceTagFilter> tagFilters) |
AWSMetricsConfig |
tagFilters(List<AWSNamespaceTagFilter> tagFilters) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_AUTOMUTE_ENABLED
public static final String JSON_PROPERTY_COLLECT_CLOUDWATCH_ALARMS
public static final String JSON_PROPERTY_COLLECT_CUSTOM_METRICS
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_NAMESPACE_FILTERS
public static final String JSON_PROPERTY_TAG_FILTERS
public AWSMetricsConfig automuteEnabled(Boolean automuteEnabled)
@Nullable public Boolean getAutomuteEnabled()
true.public void setAutomuteEnabled(Boolean automuteEnabled)
public AWSMetricsConfig collectCloudwatchAlarms(Boolean collectCloudwatchAlarms)
@Nullable public Boolean getCollectCloudwatchAlarms()
false.public void setCollectCloudwatchAlarms(Boolean collectCloudwatchAlarms)
public AWSMetricsConfig collectCustomMetrics(Boolean collectCustomMetrics)
@Nullable public Boolean getCollectCustomMetrics()
false.public void setCollectCustomMetrics(Boolean collectCustomMetrics)
public AWSMetricsConfig enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
true.public void setEnabled(Boolean enabled)
public AWSMetricsConfig namespaceFilters(AWSNamespaceFilters namespaceFilters)
@Nullable public AWSNamespaceFilters getNamespaceFilters()
exclude_only.public void setNamespaceFilters(AWSNamespaceFilters namespaceFilters)
public AWSMetricsConfig tagFilters(List<AWSNamespaceTagFilter> tagFilters)
public AWSMetricsConfig addTagFiltersItem(AWSNamespaceTagFilter tagFiltersItem)
@Nullable public List<AWSNamespaceTagFilter> getTagFilters()
[].public void setTagFilters(List<AWSNamespaceTagFilter> tagFilters)
public AWSMetricsConfig putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.