Package com.microsoft.graph.models
Class Security
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Security
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Security
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Security singleton providing access to audit log resources.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecuritycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueList<com.microsoft.graph.models.security.Alert> Gets the alerts property value.List<com.microsoft.graph.models.security.Alert> Gets the alerts_v2 property value.Gets the attackSimulation property value.com.microsoft.graph.models.security.AuditCoreRootGets the auditLog property value.com.microsoft.graph.models.security.CasesRootgetCases()Gets the cases property value.com.microsoft.graph.models.security.CollaborationRootGets the collaboration property value.Gets the dataSecurityAndGovernance property value.The deserialization information for the current modelcom.microsoft.graph.models.security.IdentityContainerGets the identities property value.List<com.microsoft.graph.models.security.Incident> Gets the incidents property value.com.microsoft.graph.models.security.LabelsRootGets the labels property value.Gets the secureScoreControlProfiles property value.Gets the secureScores property value.Gets the subjectRightsRequests property value.com.microsoft.graph.models.security.ThreatIntelligenceGets the threatIntelligence property value.com.microsoft.graph.models.security.TriggersRootGets the triggers property value.com.microsoft.graph.models.security.TriggerTypesRootGets the triggerTypes property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the alerts property value.voidsetAlertsV2(List<com.microsoft.graph.models.security.Alert> value) Sets the alerts_v2 property value.voidSets the attackSimulation property value.voidsetAuditLog(com.microsoft.graph.models.security.AuditCoreRoot value) Sets the auditLog property value.voidsetCases(com.microsoft.graph.models.security.CasesRoot value) Sets the cases property value.voidsetCollaboration(com.microsoft.graph.models.security.CollaborationRoot value) Sets the collaboration property value.voidSets the dataSecurityAndGovernance property value.voidsetIdentities(com.microsoft.graph.models.security.IdentityContainer value) Sets the identities property value.voidsetIncidents(List<com.microsoft.graph.models.security.Incident> value) Sets the incidents property value.voidsetLabels(com.microsoft.graph.models.security.LabelsRoot value) Sets the labels property value.voidSets the secureScoreControlProfiles property value.voidsetSecureScores(List<SecureScore> value) Sets the secureScores property value.voidSets the subjectRightsRequests property value.voidsetThreatIntelligence(com.microsoft.graph.models.security.ThreatIntelligence value) Sets the threatIntelligence property value.voidsetTriggers(com.microsoft.graph.models.security.TriggersRoot value) Sets the triggers property value.voidsetTriggerTypes(com.microsoft.graph.models.security.TriggerTypesRoot value) Sets the triggerTypes property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Security
public Security()Instantiates a newSecurityand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Security createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
Security
-
getAlerts
Gets the alerts property value. The alerts property- Returns:
- a
List<com.microsoft.graph.models.security.Alert>
-
getAlertsV2
Gets the alerts_v2 property value. A collection of alerts in Microsoft 365 Defender.- Returns:
- a
List<com.microsoft.graph.models.security.Alert>
-
getAttackSimulation
Gets the attackSimulation property value. The attackSimulation property- Returns:
- a
AttackSimulationRoot
-
getAuditLog
@Nullable public com.microsoft.graph.models.security.AuditCoreRoot getAuditLog()Gets the auditLog property value. The auditLog property- Returns:
- a
AuditCoreRoot
-
getCases
@Nullable public com.microsoft.graph.models.security.CasesRoot getCases()Gets the cases property value. The cases property- Returns:
- a
CasesRoot
-
getCollaboration
@Nullable public com.microsoft.graph.models.security.CollaborationRoot getCollaboration()Gets the collaboration property value. The collaboration property- Returns:
- a
CollaborationRoot
-
getDataSecurityAndGovernance
Gets the dataSecurityAndGovernance property value. The dataSecurityAndGovernance property- Returns:
- a
TenantDataSecurityAndGovernance
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIdentities
@Nullable public com.microsoft.graph.models.security.IdentityContainer getIdentities()Gets the identities property value. A container for security identities APIs.- Returns:
- a
IdentityContainer
-
getIncidents
Gets the incidents property value. A collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack.- Returns:
- a
List<com.microsoft.graph.models.security.Incident>
-
getLabels
@Nullable public com.microsoft.graph.models.security.LabelsRoot getLabels()Gets the labels property value. The labels property- Returns:
- a
LabelsRoot
-
getSecureScoreControlProfiles
Gets the secureScoreControlProfiles property value. The secureScoreControlProfiles property- Returns:
- a
List<SecureScoreControlProfile>
-
getSecureScores
Gets the secureScores property value. The secureScores property- Returns:
- a
List<SecureScore>
-
getSubjectRightsRequests
Gets the subjectRightsRequests property value. The subjectRightsRequests property- Returns:
- a
List<SubjectRightsRequest>
-
getThreatIntelligence
@Nullable public com.microsoft.graph.models.security.ThreatIntelligence getThreatIntelligence()Gets the threatIntelligence property value. The threatIntelligence property- Returns:
- a
ThreatIntelligence
-
getTriggers
@Nullable public com.microsoft.graph.models.security.TriggersRoot getTriggers()Gets the triggers property value. The triggers property- Returns:
- a
TriggersRoot
-
getTriggerTypes
@Nullable public com.microsoft.graph.models.security.TriggerTypesRoot getTriggerTypes()Gets the triggerTypes property value. The triggerTypes property- Returns:
- a
TriggerTypesRoot
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAlerts
Sets the alerts property value. The alerts property- Parameters:
value- Value to set for the alerts property.
-
setAlertsV2
Sets the alerts_v2 property value. A collection of alerts in Microsoft 365 Defender.- Parameters:
value- Value to set for the alerts_v2 property.
-
setAttackSimulation
Sets the attackSimulation property value. The attackSimulation property- Parameters:
value- Value to set for the attackSimulation property.
-
setAuditLog
public void setAuditLog(@Nullable com.microsoft.graph.models.security.AuditCoreRoot value) Sets the auditLog property value. The auditLog property- Parameters:
value- Value to set for the auditLog property.
-
setCases
public void setCases(@Nullable com.microsoft.graph.models.security.CasesRoot value) Sets the cases property value. The cases property- Parameters:
value- Value to set for the cases property.
-
setCollaboration
public void setCollaboration(@Nullable com.microsoft.graph.models.security.CollaborationRoot value) Sets the collaboration property value. The collaboration property- Parameters:
value- Value to set for the collaboration property.
-
setDataSecurityAndGovernance
Sets the dataSecurityAndGovernance property value. The dataSecurityAndGovernance property- Parameters:
value- Value to set for the dataSecurityAndGovernance property.
-
setIdentities
public void setIdentities(@Nullable com.microsoft.graph.models.security.IdentityContainer value) Sets the identities property value. A container for security identities APIs.- Parameters:
value- Value to set for the identities property.
-
setIncidents
Sets the incidents property value. A collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack.- Parameters:
value- Value to set for the incidents property.
-
setLabels
public void setLabels(@Nullable com.microsoft.graph.models.security.LabelsRoot value) Sets the labels property value. The labels property- Parameters:
value- Value to set for the labels property.
-
setSecureScoreControlProfiles
Sets the secureScoreControlProfiles property value. The secureScoreControlProfiles property- Parameters:
value- Value to set for the secureScoreControlProfiles property.
-
setSecureScores
Sets the secureScores property value. The secureScores property- Parameters:
value- Value to set for the secureScores property.
-
setSubjectRightsRequests
Sets the subjectRightsRequests property value. The subjectRightsRequests property- Parameters:
value- Value to set for the subjectRightsRequests property.
-
setThreatIntelligence
public void setThreatIntelligence(@Nullable com.microsoft.graph.models.security.ThreatIntelligence value) Sets the threatIntelligence property value. The threatIntelligence property- Parameters:
value- Value to set for the threatIntelligence property.
-
setTriggers
public void setTriggers(@Nullable com.microsoft.graph.models.security.TriggersRoot value) Sets the triggers property value. The triggers property- Parameters:
value- Value to set for the triggers property.
-
setTriggerTypes
public void setTriggerTypes(@Nullable com.microsoft.graph.models.security.TriggerTypesRoot value) Sets the triggerTypes property value. The triggerTypes property- Parameters:
value- Value to set for the triggerTypes property.
-