@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageQuotaBulkResultAttributes extends Object
error
are present. On failure, only error is present and the other fields are omitted.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ENFORCED |
static String |
JSON_PROPERTY_ERROR |
static String |
JSON_PROPERTY_ORG_PUBLIC_ID |
static String |
JSON_PROPERTY_SCOPE |
static String |
JSON_PROPERTY_USAGE_LIMIT |
boolean |
unparsed |
| Constructor and Description |
|---|
UsageQuotaBulkResultAttributes() |
| Modifier and Type | Method and Description |
|---|---|
UsageQuotaBulkResultAttributes |
enforced(Boolean enforced) |
boolean |
equals(Object o)
Return true if this UsageQuotaBulkResultAttributes object is equal to o.
|
UsageQuotaBulkResultAttributes |
error(String error) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getEnforced()
Whether usage above the limit is actively blocked instead of only tracked or alerted on.
|
String |
getError()
An error message describing why this item failed to write.
|
String |
getOrgPublicId()
The public ID of the organization that owns the quota.
|
Map<String,String> |
getScope()
A namespace-specific key and value identifying what the quota applies to within an
organization.
|
Double |
getUsageLimit()
The quota limit in the usage units defined by the quota namespace.
|
int |
hashCode() |
UsageQuotaBulkResultAttributes |
orgPublicId(String orgPublicId) |
UsageQuotaBulkResultAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
UsageQuotaBulkResultAttributes |
putScopeItem(String key,
String scopeItem) |
UsageQuotaBulkResultAttributes |
scope(Map<String,String> scope) |
void |
setEnforced(Boolean enforced) |
void |
setError(String error) |
void |
setOrgPublicId(String orgPublicId) |
void |
setScope(Map<String,String> scope) |
void |
setUsageLimit(Double usageLimit) |
String |
toString() |
UsageQuotaBulkResultAttributes |
usageLimit(Double usageLimit) |
public boolean unparsed
public static final String JSON_PROPERTY_ENFORCED
public static final String JSON_PROPERTY_ERROR
public static final String JSON_PROPERTY_ORG_PUBLIC_ID
public static final String JSON_PROPERTY_SCOPE
public static final String JSON_PROPERTY_USAGE_LIMIT
public UsageQuotaBulkResultAttributes enforced(Boolean enforced)
@Nullable public Boolean getEnforced()
public void setEnforced(Boolean enforced)
public UsageQuotaBulkResultAttributes error(String error)
@Nullable public String getError()
public void setError(String error)
public UsageQuotaBulkResultAttributes orgPublicId(String orgPublicId)
@Nullable public String getOrgPublicId()
public void setOrgPublicId(String orgPublicId)
public UsageQuotaBulkResultAttributes scope(Map<String,String> scope)
public UsageQuotaBulkResultAttributes putScopeItem(String key, String scopeItem)
@Nullable public Map<String,String> getScope()
"*" identifies the
default quota applied to entities without a specific quota. This field is omitted for an
organization-wide quota.public UsageQuotaBulkResultAttributes usageLimit(Double usageLimit)
@Nullable public Double getUsageLimit()
public void setUsageLimit(Double usageLimit)
public UsageQuotaBulkResultAttributes 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 © 2026. All rights reserved.