@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CloudflareAccountCreateRequestAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_API_KEY |
static String |
JSON_PROPERTY_EMAIL |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RESOURCES |
static String |
JSON_PROPERTY_ZONES |
boolean |
unparsed |
| Constructor and Description |
|---|
CloudflareAccountCreateRequestAttributes() |
CloudflareAccountCreateRequestAttributes(String apiKey,
String name) |
| Modifier and Type | Method and Description |
|---|---|
CloudflareAccountCreateRequestAttributes |
addResourcesItem(String resourcesItem) |
CloudflareAccountCreateRequestAttributes |
addZonesItem(String zonesItem) |
CloudflareAccountCreateRequestAttributes |
apiKey(String apiKey) |
CloudflareAccountCreateRequestAttributes |
email(String email) |
boolean |
equals(Object o)
Return true if this CloudflareAccountCreateRequestAttributes 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.
|
String |
getApiKey()
The API key (or token) for the Cloudflare account.
|
String |
getEmail()
The email associated with the Cloudflare account.
|
String |
getName()
The name of the Cloudflare account.
|
List<String> |
getResources()
An allowlist of resources to restrict pulling metrics for.
|
List<String> |
getZones()
An allowlist of zones to restrict pulling metrics for.
|
int |
hashCode() |
CloudflareAccountCreateRequestAttributes |
name(String name) |
CloudflareAccountCreateRequestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CloudflareAccountCreateRequestAttributes |
resources(List<String> resources) |
void |
setApiKey(String apiKey) |
void |
setEmail(String email) |
void |
setName(String name) |
void |
setResources(List<String> resources) |
void |
setZones(List<String> zones) |
String |
toString() |
CloudflareAccountCreateRequestAttributes |
zones(List<String> zones) |
public boolean unparsed
public static final String JSON_PROPERTY_API_KEY
public static final String JSON_PROPERTY_EMAIL
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RESOURCES
public static final String JSON_PROPERTY_ZONES
public CloudflareAccountCreateRequestAttributes()
public CloudflareAccountCreateRequestAttributes apiKey(String apiKey)
public String getApiKey()
public void setApiKey(String apiKey)
public CloudflareAccountCreateRequestAttributes email(String email)
@Nullable public String getEmail()
public void setEmail(String email)
public CloudflareAccountCreateRequestAttributes name(String name)
public String getName()
public void setName(String name)
public CloudflareAccountCreateRequestAttributes resources(List<String> resources)
public CloudflareAccountCreateRequestAttributes addResourcesItem(String resourcesItem)
@Nullable public List<String> getResources()
public CloudflareAccountCreateRequestAttributes zones(List<String> zones)
public CloudflareAccountCreateRequestAttributes addZonesItem(String zonesItem)
@Nullable public List<String> getZones()
public CloudflareAccountCreateRequestAttributes 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.