Package com.datadog.api.client.v2.model
Class CloudflareAccountCreateRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.CloudflareAccountCreateRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CloudflareAccountCreateRequestAttributes
extends Object
Attributes object for creating a Cloudflare account.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResourcesItem(String resourcesItem) addZonesItem(String zonesItem) booleanReturn true if this CloudflareAccountCreateRequestAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The API key (or token) for the Cloudflare account.getEmail()The email associated with the Cloudflare account.getName()The name of the Cloudflare account.An allowlist of resources to restrict pulling metrics for including'web', 'dns', 'lb' (load balancer), 'worker'.getZones()An allowlist of zones to restrict pulling metrics for.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidsetResources(List<String> resources) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_API_KEY
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RESOURCES
- See Also:
-
JSON_PROPERTY_ZONES
- See Also:
-
-
Constructor Details
-
CloudflareAccountCreateRequestAttributes
public CloudflareAccountCreateRequestAttributes() -
CloudflareAccountCreateRequestAttributes
-
-
Method Details
-
apiKey
-
getApiKey
The API key (or token) for the Cloudflare account.- Returns:
- apiKey
-
setApiKey
-
email
-
getEmail
The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required.- Returns:
-
setEmail
-
name
-
getName
The name of the Cloudflare account.- Returns:
- name
-
setName
-
resources
-
addResourcesItem
-
getResources
An allowlist of resources to restrict pulling metrics for including'web', 'dns', 'lb' (load balancer), 'worker'.- Returns:
- resources
-
setResources
-
zones
-
addZonesItem
-
getZones
An allowlist of zones to restrict pulling metrics for.- Returns:
- zones
-
setZones
-
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:
- CloudflareAccountCreateRequestAttributes
-
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 CloudflareAccountCreateRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-