@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AWSAccount extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACCESS_KEY_ID |
static String |
JSON_PROPERTY_ACCOUNT_ID |
static String |
JSON_PROPERTY_ACCOUNT_SPECIFIC_NAMESPACE_RULES |
static String |
JSON_PROPERTY_CSPM_RESOURCE_COLLECTION_ENABLED |
static String |
JSON_PROPERTY_EXCLUDED_REGIONS |
static String |
JSON_PROPERTY_EXTENDED_RESOURCE_COLLECTION_ENABLED |
static String |
JSON_PROPERTY_FILTER_TAGS |
static String |
JSON_PROPERTY_HOST_TAGS |
static String |
JSON_PROPERTY_METRICS_COLLECTION_ENABLED |
static String |
JSON_PROPERTY_RESOURCE_COLLECTION_ENABLED |
static String |
JSON_PROPERTY_ROLE_NAME |
static String |
JSON_PROPERTY_SECRET_ACCESS_KEY |
boolean |
unparsed |
| Constructor and Description |
|---|
AWSAccount() |
| Modifier and Type | Method and Description |
|---|---|
AWSAccount |
accessKeyId(String accessKeyId) |
AWSAccount |
accountId(String accountId) |
AWSAccount |
accountSpecificNamespaceRules(Map<String,Boolean> accountSpecificNamespaceRules) |
AWSAccount |
addExcludedRegionsItem(String excludedRegionsItem) |
AWSAccount |
addFilterTagsItem(String filterTagsItem) |
AWSAccount |
addHostTagsItem(String hostTagsItem) |
AWSAccount |
cspmResourceCollectionEnabled(Boolean cspmResourceCollectionEnabled) |
boolean |
equals(Object o)
Return true if this AWSAccount object is equal to o.
|
AWSAccount |
excludedRegions(List<String> excludedRegions) |
AWSAccount |
extendedResourceCollectionEnabled(Boolean extendedResourceCollectionEnabled) |
AWSAccount |
filterTags(List<String> filterTags) |
String |
getAccessKeyId()
Your AWS access key ID.
|
String |
getAccountId()
Your AWS Account ID without dashes.
|
Map<String,Boolean> |
getAccountSpecificNamespaceRules()
An object, (in the form
{"namespace1":true/false, "namespace2":true/false}), that
enables or disables metric collection for specific AWS namespaces for this AWS account only. |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getCspmResourceCollectionEnabled()
Whether Datadog collects cloud security posture management resources from your AWS account.
|
List<String> |
getExcludedRegions()
An array of AWS
regions to exclude from metrics collection.
|
Boolean |
getExtendedResourceCollectionEnabled()
Whether Datadog collects additional attributes and configuration information about the
resources in your AWS account.
|
List<String> |
getFilterTags()
The array of EC2 tags (in the form
key:value) defines a filter that Datadog uses
when collecting metrics from EC2. |
List<String> |
getHostTags()
Array of tags (in the form
key:value) to add to all hosts and metrics reporting
through this integration. |
Boolean |
getMetricsCollectionEnabled()
Whether Datadog collects metrics for this AWS account.
|
Boolean |
getResourceCollectionEnabled()
Deprecated.
|
String |
getRoleName()
Your Datadog role delegation name.
|
String |
getSecretAccessKey()
Your AWS secret access key.
|
int |
hashCode() |
AWSAccount |
hostTags(List<String> hostTags) |
AWSAccount |
metricsCollectionEnabled(Boolean metricsCollectionEnabled) |
AWSAccount |
putAccountSpecificNamespaceRulesItem(String key,
Boolean accountSpecificNamespaceRulesItem) |
AWSAccount |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AWSAccount |
resourceCollectionEnabled(Boolean resourceCollectionEnabled) |
AWSAccount |
roleName(String roleName) |
AWSAccount |
secretAccessKey(String secretAccessKey) |
void |
setAccessKeyId(String accessKeyId) |
void |
setAccountId(String accountId) |
void |
setAccountSpecificNamespaceRules(Map<String,Boolean> accountSpecificNamespaceRules) |
void |
setCspmResourceCollectionEnabled(Boolean cspmResourceCollectionEnabled) |
void |
setExcludedRegions(List<String> excludedRegions) |
void |
setExtendedResourceCollectionEnabled(Boolean extendedResourceCollectionEnabled) |
void |
setFilterTags(List<String> filterTags) |
void |
setHostTags(List<String> hostTags) |
void |
setMetricsCollectionEnabled(Boolean metricsCollectionEnabled) |
void |
setResourceCollectionEnabled(Boolean resourceCollectionEnabled)
Deprecated.
|
void |
setRoleName(String roleName) |
void |
setSecretAccessKey(String secretAccessKey) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ACCESS_KEY_ID
public static final String JSON_PROPERTY_ACCOUNT_ID
public static final String JSON_PROPERTY_ACCOUNT_SPECIFIC_NAMESPACE_RULES
public static final String JSON_PROPERTY_CSPM_RESOURCE_COLLECTION_ENABLED
public static final String JSON_PROPERTY_EXCLUDED_REGIONS
public static final String JSON_PROPERTY_EXTENDED_RESOURCE_COLLECTION_ENABLED
public static final String JSON_PROPERTY_FILTER_TAGS
public static final String JSON_PROPERTY_HOST_TAGS
public static final String JSON_PROPERTY_METRICS_COLLECTION_ENABLED
public static final String JSON_PROPERTY_RESOURCE_COLLECTION_ENABLED
public static final String JSON_PROPERTY_ROLE_NAME
public static final String JSON_PROPERTY_SECRET_ACCESS_KEY
public AWSAccount accessKeyId(String accessKeyId)
@Nullable public String getAccessKeyId()
public void setAccessKeyId(String accessKeyId)
public AWSAccount accountId(String accountId)
@Nullable public String getAccountId()
public void setAccountId(String accountId)
public AWSAccount accountSpecificNamespaceRules(Map<String,Boolean> accountSpecificNamespaceRules)
public AWSAccount putAccountSpecificNamespaceRulesItem(String key, Boolean accountSpecificNamespaceRulesItem)
@Nullable public Map<String,Boolean> getAccountSpecificNamespaceRules()
{"namespace1":true/false, "namespace2":true/false}), that
enables or disables metric collection for specific AWS namespaces for this AWS account only.public void setAccountSpecificNamespaceRules(Map<String,Boolean> accountSpecificNamespaceRules)
public AWSAccount cspmResourceCollectionEnabled(Boolean cspmResourceCollectionEnabled)
@Nullable public Boolean getCspmResourceCollectionEnabled()
resource_collection
.public void setCspmResourceCollectionEnabled(Boolean cspmResourceCollectionEnabled)
public AWSAccount excludedRegions(List<String> excludedRegions)
public AWSAccount addExcludedRegionsItem(String excludedRegionsItem)
@Nullable public List<String> getExcludedRegions()
public AWSAccount extendedResourceCollectionEnabled(Boolean extendedResourceCollectionEnabled)
@Nullable public Boolean getExtendedResourceCollectionEnabled()
cspm_resource_collection.public void setExtendedResourceCollectionEnabled(Boolean extendedResourceCollectionEnabled)
public AWSAccount filterTags(List<String> filterTags)
public AWSAccount addFilterTagsItem(String filterTagsItem)
@Nullable public List<String> getFilterTags()
key: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-1public AWSAccount hostTags(List<String> hostTags)
public AWSAccount addHostTagsItem(String hostTagsItem)
@Nullable public List<String> getHostTags()
key:value) to add to all hosts and metrics reporting
through this integration.public AWSAccount metricsCollectionEnabled(Boolean metricsCollectionEnabled)
@Nullable public Boolean getMetricsCollectionEnabled()
public void setMetricsCollectionEnabled(Boolean metricsCollectionEnabled)
public AWSAccount resourceCollectionEnabled(Boolean resourceCollectionEnabled)
@Deprecated @Nullable public Boolean getResourceCollectionEnabled()
@Deprecated public void setResourceCollectionEnabled(Boolean resourceCollectionEnabled)
public AWSAccount roleName(String roleName)
@Nullable public String getRoleName()
public void setRoleName(String roleName)
public AWSAccount secretAccessKey(String secretAccessKey)
@Nullable public String getSecretAccessKey()
public void setSecretAccessKey(String secretAccessKey)
public AWSAccount 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.