Package com.datadog.api.client.v2.model
Class LogsArchiveCreateRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.LogsArchiveCreateRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsArchiveCreateRequestAttributes
extends Object
The attributes associated with the archive.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogsArchiveCreateRequestAttributes(LogsArchiveCreateRequestDestination destination, String name, String query) -
Method Summary
Modifier and TypeMethodDescriptionaddLookupAttributesItem(String lookupAttributesItem) addPartitioningAttributesItem(String partitioningAttributesItem) addRehydrationTagsItem(String rehydrationTagsItem) compressionMethod(LogsArchiveAttributesCompressionMethod compressionMethod) destination(LogsArchiveCreateRequestDestination destination) booleanReturn true if this LogsArchiveCreateRequestAttributes 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.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(LogsArchiveCreateRequestDestination 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) 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:
-
-
Constructor Details
-
LogsArchiveCreateRequestAttributes
public LogsArchiveCreateRequestAttributes() -
LogsArchiveCreateRequestAttributes
public LogsArchiveCreateRequestAttributes(LogsArchiveCreateRequestDestination destination, String name, String query)
-
-
Method Details
-
compressionMethod
public LogsArchiveCreateRequestAttributes compressionMethod(LogsArchiveAttributesCompressionMethod compressionMethod) -
getCompressionMethod
The type of compression for the archive.- Returns:
- compressionMethod
-
setCompressionMethod
-
destination
public LogsArchiveCreateRequestAttributes destination(LogsArchiveCreateRequestDestination 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
public LogsArchiveCreateRequestAttributes partitioningAttributes(List<String> partitioningAttributes) -
addPartitioningAttributesItem
public LogsArchiveCreateRequestAttributes addPartitioningAttributesItem(String partitioningAttributesItem) -
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
public LogsArchiveCreateRequestAttributes rehydrationMaxScanSizeInGb(Long 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
-
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:
- LogsArchiveCreateRequestAttributes
-
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 LogsArchiveCreateRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-