Package com.datadog.api.client.v2.model
Class ObservabilityPipelineGoogleCloudStorageDestination
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineGoogleCloudStorageDestination
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineGoogleCloudStorageDestination
extends Object
The
google_cloud_storage destination stores logs in a Google Cloud Storage (GCS)
bucket. It requires a bucket name, Google Cloud authentication, and metadata fields.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineGoogleCloudStorageDestination(String bucket, String id, List<String> inputs, ObservabilityPipelineGoogleCloudStorageDestinationStorageClass storageClass, ObservabilityPipelineGoogleCloudStorageDestinationType type) -
Method Summary
Modifier and TypeMethodDescriptionaddInputsItem(String inputsItem) addMetadataItem(ObservabilityPipelineMetadataEntry metadataItem) booleanReturn true if this ObservabilityPipelineGoogleCloudStorageDestination object is equal to o.getAcl()Access control list setting for objects written to the bucket.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAuth()Google Cloud credentials used to authenticate with Google Cloud Storage.Name of the GCS bucket.Configuration for buffer settings on destination components.Compression configuration for archived logs.getId()Unique identifier for the destination component.A list of component IDs whose output is used as theinputfor this component.Optional prefix for object keys within the GCS bucket.Custom metadata to attach to each object uploaded to the GCS bucket.Storage class used for objects stored in GCS.getType()The destination type.inthashCode()metadata(List<ObservabilityPipelineMetadataEntry> metadata) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidvoidvoidvoidvoidsetKeyPrefix(String keyPrefix) voidsetMetadata(List<ObservabilityPipelineMetadataEntry> metadata) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACL
- See Also:
-
JSON_PROPERTY_AUTH
- See Also:
-
JSON_PROPERTY_BUCKET
- See Also:
-
JSON_PROPERTY_BUFFER
- See Also:
-
JSON_PROPERTY_COMPRESSION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_KEY_PREFIX
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_STORAGE_CLASS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineGoogleCloudStorageDestination
public ObservabilityPipelineGoogleCloudStorageDestination() -
ObservabilityPipelineGoogleCloudStorageDestination
public ObservabilityPipelineGoogleCloudStorageDestination(String bucket, String id, List<String> inputs, ObservabilityPipelineGoogleCloudStorageDestinationStorageClass storageClass, ObservabilityPipelineGoogleCloudStorageDestinationType type)
-
-
Method Details
-
acl
-
getAcl
Access control list setting for objects written to the bucket.- Returns:
- acl
-
setAcl
-
auth
-
getAuth
Google Cloud credentials used to authenticate with Google Cloud Storage.- Returns:
- auth
-
setAuth
-
bucket
-
getBucket
Name of the GCS bucket.- Returns:
- bucket
-
setBucket
-
buffer
public ObservabilityPipelineGoogleCloudStorageDestination buffer(ObservabilityPipelineBufferOptions buffer) -
getBuffer
Configuration for buffer settings on destination components.- Returns:
- buffer
-
setBuffer
-
compression
public ObservabilityPipelineGoogleCloudStorageDestination compression(ObservabilityPipelineGoogleCloudStorageDestinationCompression compression) -
getCompression
Compression configuration for archived logs. When omitted, logs are compressed with gzip for backward compatibility.- Returns:
- compression
-
setCompression
public void setCompression(ObservabilityPipelineGoogleCloudStorageDestinationCompression compression) -
id
-
getId
Unique identifier for the destination component.- Returns:
- id
-
setId
-
inputs
-
addInputsItem
-
getInputs
A list of component IDs whose output is used as theinputfor this component.- Returns:
- inputs
-
setInputs
-
keyPrefix
-
getKeyPrefix
Optional prefix for object keys within the GCS bucket.- Returns:
- keyPrefix
-
setKeyPrefix
-
metadata
public ObservabilityPipelineGoogleCloudStorageDestination metadata(List<ObservabilityPipelineMetadataEntry> metadata) -
addMetadataItem
public ObservabilityPipelineGoogleCloudStorageDestination addMetadataItem(ObservabilityPipelineMetadataEntry metadataItem) -
getMetadata
Custom metadata to attach to each object uploaded to the GCS bucket.- Returns:
- metadata
-
setMetadata
-
storageClass
public ObservabilityPipelineGoogleCloudStorageDestination storageClass(ObservabilityPipelineGoogleCloudStorageDestinationStorageClass storageClass) -
getStorageClass
Storage class used for objects stored in GCS.- Returns:
- storageClass
-
setStorageClass
public void setStorageClass(ObservabilityPipelineGoogleCloudStorageDestinationStorageClass storageClass) -
type
-
getType
The destination type. Alwaysgoogle_cloud_storage.- Returns:
- type
-
setType
-
putAdditionalProperty
public ObservabilityPipelineGoogleCloudStorageDestination 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 setvalue- The associated value- Returns:
- ObservabilityPipelineGoogleCloudStorageDestination
-
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 ObservabilityPipelineGoogleCloudStorageDestination object is equal to o. -
hashCode
public int hashCode() -
toString
-