Class LogsArchiveAttributes

java.lang.Object
com.datadog.api.client.v2.model.LogsArchiveAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsArchiveAttributes extends Object
The attributes associated with the archive.
  • Field Details

  • Constructor Details

    • LogsArchiveAttributes

      public LogsArchiveAttributes()
    • LogsArchiveAttributes

      public LogsArchiveAttributes(LogsArchiveDestination destination, String name, String query)
  • Method Details

    • compressionMethod

      public LogsArchiveAttributes compressionMethod(LogsArchiveAttributesCompressionMethod compressionMethod)
    • getCompressionMethod

      @Nullable public LogsArchiveAttributesCompressionMethod getCompressionMethod()
      The type of compression for the archive.
      Returns:
      compressionMethod
    • setCompressionMethod

      public void setCompressionMethod(LogsArchiveAttributesCompressionMethod compressionMethod)
    • destination

      public LogsArchiveAttributes destination(LogsArchiveDestination destination)
    • getDestination

      @Nullable public LogsArchiveDestination getDestination()
      An archive's destination.
      Returns:
      destination
    • setDestination

      public void setDestination(LogsArchiveDestination destination)
    • includeTags

      public LogsArchiveAttributes includeTags(Boolean includeTags)
    • getIncludeTags

      @Nullable public Boolean getIncludeTags()
      To store the tags in the archive, set the value "true". If it is set to "false", the tags will be deleted when the logs are sent to the archive.
      Returns:
      includeTags
    • setIncludeTags

      public void setIncludeTags(Boolean includeTags)
    • lookupAttributes

      public LogsArchiveAttributes lookupAttributes(List<String> lookupAttributes)
    • addLookupAttributesItem

      public LogsArchiveAttributes addLookupAttributesItem(String lookupAttributesItem)
    • getLookupAttributes

      @Nullable public List<String> getLookupAttributes()
      An array of attributes to use as lookup keys for the archive.
      Returns:
      lookupAttributes
    • setLookupAttributes

      public void setLookupAttributes(List<String> lookupAttributes)
    • name

      public LogsArchiveAttributes name(String name)
    • getName

      public String getName()
      The archive name.
      Returns:
      name
    • setName

      public void setName(String name)
    • partitioningAttributes

      public LogsArchiveAttributes partitioningAttributes(List<String> partitioningAttributes)
    • addPartitioningAttributesItem

      public LogsArchiveAttributes addPartitioningAttributesItem(String partitioningAttributesItem)
    • getPartitioningAttributes

      @Nullable public List<String> getPartitioningAttributes()
      An array of attributes to use as partition keys for the archive. The attribute used most frequently for querying should be first.
      Returns:
      partitioningAttributes
    • setPartitioningAttributes

      public void setPartitioningAttributes(List<String> partitioningAttributes)
    • query

      public LogsArchiveAttributes query(String query)
    • getQuery

      public String getQuery()
      The archive query/filter. Logs matching this query are included in the archive.
      Returns:
      query
    • setQuery

      public void setQuery(String query)
    • rehydrationMaxScanSizeInGb

      public LogsArchiveAttributes rehydrationMaxScanSizeInGb(Long rehydrationMaxScanSizeInGb)
    • getRehydrationMaxScanSizeInGb

      @Nullable public Long getRehydrationMaxScanSizeInGb()
      Maximum scan size for rehydration from this archive.
      Returns:
      rehydrationMaxScanSizeInGb
    • getRehydrationMaxScanSizeInGb_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getRehydrationMaxScanSizeInGb_JsonNullable()
    • setRehydrationMaxScanSizeInGb_JsonNullable

      public void setRehydrationMaxScanSizeInGb_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> rehydrationMaxScanSizeInGb)
    • setRehydrationMaxScanSizeInGb

      public void setRehydrationMaxScanSizeInGb(Long rehydrationMaxScanSizeInGb)
    • rehydrationTags

      public LogsArchiveAttributes rehydrationTags(List<String> rehydrationTags)
    • addRehydrationTagsItem

      public LogsArchiveAttributes addRehydrationTagsItem(String rehydrationTagsItem)
    • getRehydrationTags

      @Nullable public List<String> getRehydrationTags()
      An array of tags to add to rehydrated logs from an archive.
      Returns:
      rehydrationTags
    • setRehydrationTags

      public void setRehydrationTags(List<String> rehydrationTags)
    • state

    • getState

      @Nullable public LogsArchiveState getState()
      The state of the archive.
      Returns:
      state
    • setState

      public void setState(LogsArchiveState state)
    • putAdditionalProperty

      public LogsArchiveAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      LogsArchiveAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this LogsArchiveAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object