Package com.datadog.api.client.v1.model
Class AWSAccount
java.lang.Object
com.datadog.api.client.v1.model.AWSAccount
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AWSAccount
extends Object
Returns the AWS account associated with this integration.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessKeyId(String accessKeyId) accountSpecificNamespaceRules(Map<String, Boolean> accountSpecificNamespaceRules) addExcludedRegionsItem(String excludedRegionsItem) addFilterTagsItem(String filterTagsItem) addHostTagsItem(String hostTagsItem) cspmResourceCollectionEnabled(Boolean cspmResourceCollectionEnabled) booleanReturn true if this AWSAccount object is equal to o.excludedRegions(List<String> excludedRegions) extendedResourceCollectionEnabled(Boolean extendedResourceCollectionEnabled) filterTags(List<String> filterTags) Your AWS access key ID.Your AWS Account ID without dashes.An object (in the form{"namespace1":true/false, "namespace2":true/false}) containing user-supplied overrides for AWS namespace metric collection.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether Datadog collects cloud security posture management resources from your AWS account.An array of AWS regions to exclude from metrics collection.Whether Datadog collects additional attributes and configuration information about the resources in your AWS account.The array of EC2 tags (in the formkey:value) defines a filter that Datadog uses when collecting metrics from EC2.Array of tags (in the formkey:value) to add to all hosts and metrics reporting through this integration.Whether Datadog collects metrics for this AWS account.Deprecated.Your Datadog role delegation name.Your AWS secret access key.inthashCode()metricsCollectionEnabled(Boolean metricsCollectionEnabled) putAccountSpecificNamespaceRulesItem(String key, Boolean accountSpecificNamespaceRulesItem) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resourceCollectionEnabled(Boolean resourceCollectionEnabled) secretAccessKey(String secretAccessKey) voidsetAccessKeyId(String accessKeyId) voidsetAccountId(String accountId) voidsetAccountSpecificNamespaceRules(Map<String, Boolean> accountSpecificNamespaceRules) voidsetCspmResourceCollectionEnabled(Boolean cspmResourceCollectionEnabled) voidsetExcludedRegions(List<String> excludedRegions) voidsetExtendedResourceCollectionEnabled(Boolean extendedResourceCollectionEnabled) voidsetFilterTags(List<String> filterTags) voidsetHostTags(List<String> hostTags) voidsetMetricsCollectionEnabled(Boolean metricsCollectionEnabled) voidsetResourceCollectionEnabled(Boolean resourceCollectionEnabled) Deprecated.voidsetRoleName(String roleName) voidsetSecretAccessKey(String secretAccessKey) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCESS_KEY_ID
- See Also:
-
JSON_PROPERTY_ACCOUNT_ID
- See Also:
-
JSON_PROPERTY_ACCOUNT_SPECIFIC_NAMESPACE_RULES
- See Also:
-
JSON_PROPERTY_CSPM_RESOURCE_COLLECTION_ENABLED
- See Also:
-
JSON_PROPERTY_EXCLUDED_REGIONS
- See Also:
-
JSON_PROPERTY_EXTENDED_RESOURCE_COLLECTION_ENABLED
- See Also:
-
JSON_PROPERTY_FILTER_TAGS
- See Also:
-
JSON_PROPERTY_HOST_TAGS
- See Also:
-
JSON_PROPERTY_METRICS_COLLECTION_ENABLED
- See Also:
-
JSON_PROPERTY_RESOURCE_COLLECTION_ENABLED
- See Also:
-
JSON_PROPERTY_ROLE_NAME
- See Also:
-
JSON_PROPERTY_SECRET_ACCESS_KEY
- See Also:
-
-
Constructor Details
-
AWSAccount
public AWSAccount()
-
-
Method Details
-
accessKeyId
-
getAccessKeyId
Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.- Returns:
- accessKeyId
-
setAccessKeyId
-
accountId
-
getAccountId
Your AWS Account ID without dashes.- Returns:
- accountId
-
setAccountId
-
accountSpecificNamespaceRules
-
putAccountSpecificNamespaceRulesItem
public AWSAccount putAccountSpecificNamespaceRulesItem(String key, Boolean accountSpecificNamespaceRulesItem) -
getAccountSpecificNamespaceRules
An object (in the form{"namespace1":true/false, "namespace2":true/false}) containing user-supplied overrides for AWS namespace metric collection. Important: This field only contains namespaces explicitly configured through API calls, not the comprehensive enabled or disabled status of all namespaces. If a namespace is absent from this field, it uses Datadog's internal defaults (all namespaces enabled by default, exceptAWS/SQS,AWS/ElasticMapReduce, andAWS/Usage). For a complete view of all namespace statuses, use the V2 AWS Integration API instead.- Returns:
- accountSpecificNamespaceRules
-
setAccountSpecificNamespaceRules
-
cspmResourceCollectionEnabled
-
getCspmResourceCollectionEnabled
Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the generalresource_collection.- Returns:
- cspmResourceCollectionEnabled
-
setCspmResourceCollectionEnabled
-
excludedRegions
-
addExcludedRegionsItem
-
getExcludedRegions
An array of AWS regions to exclude from metrics collection.- Returns:
- excludedRegions
-
setExcludedRegions
-
extendedResourceCollectionEnabled
-
getExtendedResourceCollectionEnabled
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required forcspm_resource_collection.- Returns:
- extendedResourceCollectionEnabled
-
setExtendedResourceCollectionEnabled
-
filterTags
-
addFilterTagsItem
-
getFilterTags
The array of EC2 tags (in the formkey:value) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as?(for single characters) and*(for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding!before the tag. For example,env:production,instance-type:c1.*,!region:us-east-1- Returns:
- filterTags
-
setFilterTags
-
hostTags
-
addHostTagsItem
-
getHostTags
Array of tags (in the formkey:value) to add to all hosts and metrics reporting through this integration.- Returns:
- hostTags
-
setHostTags
-
metricsCollectionEnabled
-
getMetricsCollectionEnabled
Whether Datadog collects metrics for this AWS account.- Returns:
- metricsCollectionEnabled
-
setMetricsCollectionEnabled
-
resourceCollectionEnabled
-
getResourceCollectionEnabled
Deprecated.Deprecated in favor of 'extended_resource_collection_enabled'. Whether Datadog collects a standard set of resources from your AWS account.- Returns:
- resourceCollectionEnabled
-
setResourceCollectionEnabled
Deprecated. -
roleName
-
getRoleName
Your Datadog role delegation name.- Returns:
- roleName
-
setRoleName
-
secretAccessKey
-
getSecretAccessKey
Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.- Returns:
- secretAccessKey
-
setSecretAccessKey
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- AWSAccount
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this AWSAccount object is equal to o. -
hashCode
public int hashCode() -
toString
-