Package com.datadog.api.client.v2.model
Class GovernanceControlAttributes
java.lang.Object
com.datadog.api.client.v2.model.GovernanceControlAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GovernanceControlAttributes
extends Object
The attributes of a governance control.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionGovernanceControlAttributes(Long activeDetectionsCount, String category, OffsetDateTime createdAt, String createdBy, String description, Map<String, Object> detectionParameters, List<String> insights, OffsetDateTime lastDetectionAt, Long mitigatedDetectionsCount, Map<String, Object> mitigationParameters, String mitigationType, List<GovernanceControlMitigationDefinition> mitigations, String name, String priority, String product, String resourceType, String resourceTypeDisplayName, List<GovernanceControlParameterDefinition> supportedDetectionParameters, String type) -
Method Summary
Modifier and TypeMethodDescriptionactiveDetectionsCount(Long activeDetectionsCount) addInsightsItem(String insightsItem) addMitigationsItem(GovernanceControlMitigationDefinition mitigationsItem) addSupportedDetectionParametersItem(GovernanceControlParameterDefinition supportedDetectionParametersItem) createdAt(OffsetDateTime createdAt) description(String description) detectionParameters(Map<String, Object> detectionParameters) booleanReturn true if this GovernanceControlAttributes object is equal to o.The number of active detections for the control.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The value driver the control is grouped under, such assecurityorcost.The time the control configuration was created.The UUID of the user who created the control configuration.A human-readable description of what the control detects.A free-form map of parameter names to their configured values.The insight slugs associated with the control.The time of the most recent detection for the control.The number of mitigated detections for the control.A free-form map of parameter names to their configured values.The mitigations available for a control.The configured mitigation type for the control.getName()Human-readable name of the control.The priority of the control, such asHigh.The product the control belongs to.The type of resource the control evaluates.The human-readable name of the resource type.An array of parameter definitions.getType()The control type, such asProactiveorDetection.inthashCode()lastDetectionAt(OffsetDateTime lastDetectionAt) mitigatedDetectionsCount(Long mitigatedDetectionsCount) mitigationParameters(Map<String, Object> mitigationParameters) mitigations(List<GovernanceControlMitigationDefinition> mitigations) mitigationType(String mitigationType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putDetectionParametersItem(String key, Object detectionParametersItem) putMitigationParametersItem(String key, Object mitigationParametersItem) resourceType(String resourceType) resourceTypeDisplayName(String resourceTypeDisplayName) voidsetActiveDetectionsCount(Long activeDetectionsCount) voidsetCategory(String category) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidsetDescription(String description) voidsetDetectionParameters(Map<String, Object> detectionParameters) voidsetInsights(List<String> insights) voidsetLastDetectionAt(OffsetDateTime lastDetectionAt) voidsetMitigatedDetectionsCount(Long mitigatedDetectionsCount) voidsetMitigationParameters(Map<String, Object> mitigationParameters) voidsetMitigations(List<GovernanceControlMitigationDefinition> mitigations) voidsetMitigationType(String mitigationType) voidvoidsetPriority(String priority) voidsetProduct(String product) voidsetResourceType(String resourceType) voidsetResourceTypeDisplayName(String resourceTypeDisplayName) voidsetSupportedDetectionParameters(List<GovernanceControlParameterDefinition> supportedDetectionParameters) voidsupportedDetectionParameters(List<GovernanceControlParameterDefinition> supportedDetectionParameters) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTIVE_DETECTIONS_COUNT
- See Also:
-
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DETECTION_PARAMETERS
- See Also:
-
JSON_PROPERTY_INSIGHTS
- See Also:
-
JSON_PROPERTY_LAST_DETECTION_AT
- See Also:
-
JSON_PROPERTY_MITIGATED_DETECTIONS_COUNT
- See Also:
-
JSON_PROPERTY_MITIGATION_PARAMETERS
- See Also:
-
JSON_PROPERTY_MITIGATION_TYPE
- See Also:
-
JSON_PROPERTY_MITIGATIONS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_PRODUCT
- See Also:
-
JSON_PROPERTY_RESOURCE_TYPE
- See Also:
-
JSON_PROPERTY_RESOURCE_TYPE_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_SUPPORTED_DETECTION_PARAMETERS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
GovernanceControlAttributes
public GovernanceControlAttributes() -
GovernanceControlAttributes
public GovernanceControlAttributes(Long activeDetectionsCount, String category, OffsetDateTime createdAt, String createdBy, String description, Map<String, Object> detectionParameters, List<String> insights, OffsetDateTime lastDetectionAt, Long mitigatedDetectionsCount, Map<String, Object> mitigationParameters, String mitigationType, List<GovernanceControlMitigationDefinition> mitigations, String name, String priority, String product, String resourceType, String resourceTypeDisplayName, List<GovernanceControlParameterDefinition> supportedDetectionParameters, String type)
-
-
Method Details
-
activeDetectionsCount
-
getActiveDetectionsCount
The number of active detections for the control.- Returns:
- activeDetectionsCount
-
setActiveDetectionsCount
-
category
-
getCategory
The value driver the control is grouped under, such assecurityorcost.- Returns:
- category
-
setCategory
-
createdAt
-
getCreatedAt
The time the control configuration was created.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The UUID of the user who created the control configuration.- Returns:
- createdBy
-
setCreatedBy
-
description
-
getDescription
A human-readable description of what the control detects.- Returns:
- description
-
setDescription
-
detectionParameters
-
putDetectionParametersItem
public GovernanceControlAttributes putDetectionParametersItem(String key, Object detectionParametersItem) -
getDetectionParameters
A free-form map of parameter names to their configured values.- Returns:
- detectionParameters
-
setDetectionParameters
-
insights
-
addInsightsItem
-
getInsights
The insight slugs associated with the control.- Returns:
- insights
-
setInsights
-
lastDetectionAt
-
getLastDetectionAt
The time of the most recent detection for the control.nullwhen there are no detections.- Returns:
- lastDetectionAt
-
setLastDetectionAt
-
mitigatedDetectionsCount
-
getMitigatedDetectionsCount
The number of mitigated detections for the control.- Returns:
- mitigatedDetectionsCount
-
setMitigatedDetectionsCount
-
mitigationParameters
-
putMitigationParametersItem
public GovernanceControlAttributes putMitigationParametersItem(String key, Object mitigationParametersItem) -
getMitigationParameters
A free-form map of parameter names to their configured values.- Returns:
- mitigationParameters
-
setMitigationParameters
-
mitigationType
-
getMitigationType
The configured mitigation type for the control. Empty when not configured.- Returns:
- mitigationType
-
setMitigationType
-
mitigations
public GovernanceControlAttributes mitigations(List<GovernanceControlMitigationDefinition> mitigations) -
addMitigationsItem
public GovernanceControlAttributes addMitigationsItem(GovernanceControlMitigationDefinition mitigationsItem) -
getMitigations
The mitigations available for a control.- Returns:
- mitigations
-
setMitigations
-
name
-
getName
Human-readable name of the control.- Returns:
- name
-
setName
-
priority
-
getPriority
The priority of the control, such asHigh.- Returns:
- priority
-
setPriority
-
product
-
getProduct
The product the control belongs to.- Returns:
- product
-
setProduct
-
resourceType
-
getResourceType
The type of resource the control evaluates.- Returns:
- resourceType
-
setResourceType
-
resourceTypeDisplayName
-
getResourceTypeDisplayName
The human-readable name of the resource type.- Returns:
- resourceTypeDisplayName
-
setResourceTypeDisplayName
-
supportedDetectionParameters
public GovernanceControlAttributes supportedDetectionParameters(List<GovernanceControlParameterDefinition> supportedDetectionParameters) -
addSupportedDetectionParametersItem
public GovernanceControlAttributes addSupportedDetectionParametersItem(GovernanceControlParameterDefinition supportedDetectionParametersItem) -
getSupportedDetectionParameters
An array of parameter definitions.- Returns:
- supportedDetectionParameters
-
setSupportedDetectionParameters
public void setSupportedDetectionParameters(List<GovernanceControlParameterDefinition> supportedDetectionParameters) -
type
-
getType
The control type, such asProactiveorDetection.- Returns:
- type
-
setType
-
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:
- GovernanceControlAttributes
-
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 GovernanceControlAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-