Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogsArchiveAttributes(LogsArchiveDestination destination, String name, String query) -
Method Summary
Modifier and TypeMethodDescriptionaddLookupAttributesItem(String lookupAttributesItem) addPartitioningAttributesItem(String partitioningAttributesItem) addRehydrationTagsItem(String rehydrationTagsItem) compressionMethod(LogsArchiveAttributesCompressionMethod compressionMethod) destination(LogsArchiveDestination destination) booleanReturn true if this LogsArchiveAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The type of compression for the archive.An archive's destination.To store the tags in the archive, set the value "true".An array of attributes to use as lookup keys for the archive.getName()The archive name.An array of attributes to use as partition keys for the archive.getQuery()The archive query/filter.Maximum scan size for rehydration from this archive.org.openapitools.jackson.nullable.JsonNullable<Long>An array of tags to add to rehydrated logs from an archive.getState()The state of the archive.inthashCode()includeTags(Boolean includeTags) lookupAttributes(List<String> lookupAttributes) partitioningAttributes(List<String> partitioningAttributes) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rehydrationMaxScanSizeInGb(Long rehydrationMaxScanSizeInGb) rehydrationTags(List<String> rehydrationTags) voidsetCompressionMethod(LogsArchiveAttributesCompressionMethod compressionMethod) voidsetDestination(LogsArchiveDestination destination) voidsetIncludeTags(Boolean includeTags) voidsetLookupAttributes(List<String> lookupAttributes) voidvoidsetPartitioningAttributes(List<String> partitioningAttributes) voidvoidsetRehydrationMaxScanSizeInGb(Long rehydrationMaxScanSizeInGb) voidsetRehydrationMaxScanSizeInGb_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> rehydrationMaxScanSizeInGb) voidsetRehydrationTags(List<String> rehydrationTags) voidsetState(LogsArchiveState state) state(LogsArchiveState state) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPRESSION_METHOD
- See Also:
-
JSON_PROPERTY_DESTINATION
- See Also:
-
JSON_PROPERTY_INCLUDE_TAGS
- See Also:
-
JSON_PROPERTY_LOOKUP_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PARTITIONING_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_REHYDRATION_MAX_SCAN_SIZE_IN_GB
- See Also:
-
JSON_PROPERTY_REHYDRATION_TAGS
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
-
Constructor Details
-
LogsArchiveAttributes
public LogsArchiveAttributes() -
LogsArchiveAttributes
-
-
Method Details
-
compressionMethod
public LogsArchiveAttributes compressionMethod(LogsArchiveAttributesCompressionMethod compressionMethod) -
getCompressionMethod
The type of compression for the archive.- Returns:
- compressionMethod
-
setCompressionMethod
-
destination
-
getDestination
An archive's destination.- Returns:
- destination
-
setDestination
-
includeTags
-
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
-
lookupAttributes
-
addLookupAttributesItem
-
getLookupAttributes
An array of attributes to use as lookup keys for the archive.- Returns:
- lookupAttributes
-
setLookupAttributes
-
name
-
getName
The archive name.- Returns:
- name
-
setName
-
partitioningAttributes
-
addPartitioningAttributesItem
-
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
-
query
-
getQuery
The archive query/filter. Logs matching this query are included in the archive.- Returns:
- query
-
setQuery
-
rehydrationMaxScanSizeInGb
-
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
-
rehydrationTags
-
addRehydrationTagsItem
-
getRehydrationTags
An array of tags to add to rehydrated logs from an archive.- Returns:
- rehydrationTags
-
setRehydrationTags
-
state
-
getState
The state of the archive.- Returns:
- state
-
setState
-
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:
- LogsArchiveAttributes
-
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 LogsArchiveAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-