Package com.datadog.api.client.v2.model
Class ObservabilityPipelineOcsfMappingCustomMetadata
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineOcsfMappingCustomMetadata
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineOcsfMappingCustomMetadata
extends Object
Metadata for the custom OCSF mapping.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineOcsfMappingCustomMetadata(String _class, String version) -
Method Summary
Modifier and TypeMethodDescriptionaddProfilesItem(String profilesItem) booleanReturn true if this ObservabilityPipelineOcsfMappingCustomMetadata object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The OCSF event class name.A list of OCSF profiles to apply.The OCSF schema version.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetClassAttribute(String _class) voidsetProfiles(List<String> profiles) voidsetVersion(String version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CLASS
- See Also:
-
JSON_PROPERTY_PROFILES
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineOcsfMappingCustomMetadata
public ObservabilityPipelineOcsfMappingCustomMetadata() -
ObservabilityPipelineOcsfMappingCustomMetadata
-
-
Method Details
-
_class
-
getClassAttribute
The OCSF event class name.- Returns:
- _class
-
setClassAttribute
-
profiles
-
addProfilesItem
-
getProfiles
A list of OCSF profiles to apply.- Returns:
- profiles
-
setProfiles
-
version
-
getVersion
The OCSF schema version.- Returns:
- version
-
setVersion
-
putAdditionalProperty
public ObservabilityPipelineOcsfMappingCustomMetadata 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:
- ObservabilityPipelineOcsfMappingCustomMetadata
-
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 ObservabilityPipelineOcsfMappingCustomMetadata object is equal to o. -
hashCode
public int hashCode() -
toString
-