@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomDestinationCreateRequestAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_FORWARD_TAGS |
static String |
JSON_PROPERTY_FORWARD_TAGS_RESTRICTION_LIST |
static String |
JSON_PROPERTY_FORWARD_TAGS_RESTRICTION_LIST_TYPE |
static String |
JSON_PROPERTY_FORWARDER_DESTINATION |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_QUERY |
boolean |
unparsed |
| Constructor and Description |
|---|
CustomDestinationCreateRequestAttributes() |
CustomDestinationCreateRequestAttributes(CustomDestinationForwardDestination forwarderDestination,
String name) |
public boolean unparsed
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_FORWARD_TAGS
public static final String JSON_PROPERTY_FORWARD_TAGS_RESTRICTION_LIST
public static final String JSON_PROPERTY_FORWARD_TAGS_RESTRICTION_LIST_TYPE
public static final String JSON_PROPERTY_FORWARDER_DESTINATION
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_QUERY
public CustomDestinationCreateRequestAttributes()
public CustomDestinationCreateRequestAttributes(CustomDestinationForwardDestination forwarderDestination, String name)
public CustomDestinationCreateRequestAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public CustomDestinationCreateRequestAttributes forwardTags(Boolean forwardTags)
@Nullable public Boolean getForwardTags()
public void setForwardTags(Boolean forwardTags)
public CustomDestinationCreateRequestAttributes forwardTagsRestrictionList(List<String> forwardTagsRestrictionList)
public CustomDestinationCreateRequestAttributes addForwardTagsRestrictionListItem(String forwardTagsRestrictionListItem)
@Nullable public List<String> getForwardTagsRestrictionList()
An empty list represents no restriction is in place and either all or no tags will be
forwarded depending on forward_tags_restriction_list_type parameter.
public void setForwardTagsRestrictionList(List<String> forwardTagsRestrictionList)
public CustomDestinationCreateRequestAttributes forwardTagsRestrictionListType(CustomDestinationAttributeTagsRestrictionListType forwardTagsRestrictionListType)
@Nullable public CustomDestinationAttributeTagsRestrictionListType getForwardTagsRestrictionListType()
forward_tags_restriction_list parameter should be interpreted. If
ALLOW_LIST, then only tags whose keys on the forwarded logs match the ones on the
restriction list are forwarded.
BLOCK_LIST works the opposite way. It does not forward the tags matching the
ones on the list.
public void setForwardTagsRestrictionListType(CustomDestinationAttributeTagsRestrictionListType forwardTagsRestrictionListType)
public CustomDestinationCreateRequestAttributes forwarderDestination(CustomDestinationForwardDestination forwarderDestination)
public CustomDestinationForwardDestination getForwarderDestination()
public void setForwarderDestination(CustomDestinationForwardDestination forwarderDestination)
public CustomDestinationCreateRequestAttributes name(String name)
public String getName()
public void setName(String name)
public CustomDestinationCreateRequestAttributes query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public CustomDestinationCreateRequestAttributes 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.