@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IPAllowlistAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_ENTRIES |
boolean |
unparsed |
| Constructor and Description |
|---|
IPAllowlistAttributes() |
| Modifier and Type | Method and Description |
|---|---|
IPAllowlistAttributes |
addEntriesItem(IPAllowlistEntry entriesItem) |
IPAllowlistAttributes |
enabled(Boolean enabled) |
IPAllowlistAttributes |
entries(List<IPAllowlistEntry> entries) |
boolean |
equals(Object o)
Return true if this IPAllowlistAttributes 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.
|
Boolean |
getEnabled()
Whether the IP allowlist logic is enabled or not.
|
List<IPAllowlistEntry> |
getEntries()
Array of entries in the IP allowlist.
|
int |
hashCode() |
IPAllowlistAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setEnabled(Boolean enabled) |
void |
setEntries(List<IPAllowlistEntry> entries) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENTRIES
public IPAllowlistAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public IPAllowlistAttributes entries(List<IPAllowlistEntry> entries)
public IPAllowlistAttributes addEntriesItem(IPAllowlistEntry entriesItem)
@Nullable public List<IPAllowlistEntry> getEntries()
public void setEntries(List<IPAllowlistEntry> entries)
public IPAllowlistAttributes 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.