Package com.datadog.api.client.v2.model
Class CustomDestinationUpdateRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.CustomDestinationUpdateRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomDestinationUpdateRequestAttributes
extends Object
The attributes associated with the custom destination.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddForwardTagsRestrictionListItem(String forwardTagsRestrictionListItem) booleanReturn true if this CustomDestinationUpdateRequestAttributes object is equal to o.forwarderDestination(CustomDestinationForwardDestination forwarderDestination) forwardTags(Boolean forwardTags) forwardTagsRestrictionList(List<String> forwardTagsRestrictionList) forwardTagsRestrictionListType(CustomDestinationAttributeTagsRestrictionListType forwardTagsRestrictionListType) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether logs matching this custom destination should be forwarded or not.A custom destination's location to forward logs.Whether tags from the forwarded logs should be forwarded or not.List of keys of tags to be restricted from being forwarded.Howforward_tags_restriction_listparameter should be interpreted.getName()The custom destination name.getQuery()The custom destination query and filter.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEnabled(Boolean enabled) voidsetForwarderDestination(CustomDestinationForwardDestination forwarderDestination) voidsetForwardTags(Boolean forwardTags) voidsetForwardTagsRestrictionList(List<String> forwardTagsRestrictionList) voidsetForwardTagsRestrictionListType(CustomDestinationAttributeTagsRestrictionListType forwardTagsRestrictionListType) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_FORWARD_TAGS
- See Also:
-
JSON_PROPERTY_FORWARD_TAGS_RESTRICTION_LIST
- See Also:
-
JSON_PROPERTY_FORWARD_TAGS_RESTRICTION_LIST_TYPE
- See Also:
-
JSON_PROPERTY_FORWARDER_DESTINATION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
-
Constructor Details
-
CustomDestinationUpdateRequestAttributes
public CustomDestinationUpdateRequestAttributes()
-
-
Method Details
-
enabled
-
getEnabled
Whether logs matching this custom destination should be forwarded or not.- Returns:
- enabled
-
setEnabled
-
forwardTags
-
getForwardTags
Whether tags from the forwarded logs should be forwarded or not.- Returns:
- forwardTags
-
setForwardTags
-
forwardTagsRestrictionList
public CustomDestinationUpdateRequestAttributes forwardTagsRestrictionList(List<String> forwardTagsRestrictionList) -
addForwardTagsRestrictionListItem
public CustomDestinationUpdateRequestAttributes addForwardTagsRestrictionListItem(String forwardTagsRestrictionListItem) -
getForwardTagsRestrictionList
List of keys of tags to be restricted from being forwarded. An empty list represents no restriction is in place and either all or no tags will be forwarded depending onforward_tags_restriction_list_typeparameter.- Returns:
- forwardTagsRestrictionList
-
setForwardTagsRestrictionList
-
forwardTagsRestrictionListType
public CustomDestinationUpdateRequestAttributes forwardTagsRestrictionListType(CustomDestinationAttributeTagsRestrictionListType forwardTagsRestrictionListType) -
getForwardTagsRestrictionListType
@Nullable public CustomDestinationAttributeTagsRestrictionListType getForwardTagsRestrictionListType()Howforward_tags_restriction_listparameter should be interpreted. IfALLOW_LIST, then only tags whose keys on the forwarded logs match the ones on the restriction list are forwarded.BLOCK_LISTworks the opposite way. It does not forward the tags matching the ones on the list.- Returns:
- forwardTagsRestrictionListType
-
setForwardTagsRestrictionListType
public void setForwardTagsRestrictionListType(CustomDestinationAttributeTagsRestrictionListType forwardTagsRestrictionListType) -
forwarderDestination
public CustomDestinationUpdateRequestAttributes forwarderDestination(CustomDestinationForwardDestination forwarderDestination) -
getForwarderDestination
A custom destination's location to forward logs.- Returns:
- forwarderDestination
-
setForwarderDestination
-
name
-
getName
The custom destination name.- Returns:
- name
-
setName
-
query
-
getQuery
The custom destination query and filter. Logs matching this query are forwarded to the destination.- Returns:
- query
-
setQuery
-
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:
- CustomDestinationUpdateRequestAttributes
-
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 CustomDestinationUpdateRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-