Class GovernanceAssignmentProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.GovernanceAssignmentProperties
Describes properties of an governance assignment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalData property: The additional data for the governance assignment - e.g.Get the governanceEmailNotification property: The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.Get the isGracePeriod property: Defines whether there is a grace period on the governance assignment.owner()
Get the owner property: The Owner for the governance assignment - e.g.Get the remediationDueDate property: The remediation due-date - after this date Secure Score will be affected (in case of active grace-period).Get the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.void
validate()
Validates the instance.withAdditionalData
(GovernanceAssignmentAdditionalData additionalData) Set the additionalData property: The additional data for the governance assignment - e.g.withGovernanceEmailNotification
(GovernanceEmailNotification governanceEmailNotification) Set the governanceEmailNotification property: The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.withIsGracePeriod
(Boolean isGracePeriod) Set the isGracePeriod property: Defines whether there is a grace period on the governance assignment.Set the owner property: The Owner for the governance assignment - e.g.withRemediationDueDate
(OffsetDateTime remediationDueDate) Set the remediationDueDate property: The remediation due-date - after this date Secure Score will be affected (in case of active grace-period).withRemediationEta
(RemediationEta remediationEta) Set the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.
-
Constructor Details
-
GovernanceAssignmentProperties
public GovernanceAssignmentProperties()
-
-
Method Details
-
owner
Get the owner property: The Owner for the governance assignment - e.g. user@contoso.com - see example.- Returns:
- the owner value.
-
withOwner
Set the owner property: The Owner for the governance assignment - e.g. user@contoso.com - see example.- Parameters:
owner
- the owner value to set.- Returns:
- the GovernanceAssignmentProperties object itself.
-
remediationDueDate
Get the remediationDueDate property: The remediation due-date - after this date Secure Score will be affected (in case of active grace-period).- Returns:
- the remediationDueDate value.
-
withRemediationDueDate
Set the remediationDueDate property: The remediation due-date - after this date Secure Score will be affected (in case of active grace-period).- Parameters:
remediationDueDate
- the remediationDueDate value to set.- Returns:
- the GovernanceAssignmentProperties object itself.
-
remediationEta
Get the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.- Returns:
- the remediationEta value.
-
withRemediationEta
Set the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.- Parameters:
remediationEta
- the remediationEta value to set.- Returns:
- the GovernanceAssignmentProperties object itself.
-
isGracePeriod
Get the isGracePeriod property: Defines whether there is a grace period on the governance assignment.- Returns:
- the isGracePeriod value.
-
withIsGracePeriod
Set the isGracePeriod property: Defines whether there is a grace period on the governance assignment.- Parameters:
isGracePeriod
- the isGracePeriod value to set.- Returns:
- the GovernanceAssignmentProperties object itself.
-
governanceEmailNotification
Get the governanceEmailNotification property: The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.- Returns:
- the governanceEmailNotification value.
-
withGovernanceEmailNotification
public GovernanceAssignmentProperties withGovernanceEmailNotification(GovernanceEmailNotification governanceEmailNotification) Set the governanceEmailNotification property: The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.- Parameters:
governanceEmailNotification
- the governanceEmailNotification value to set.- Returns:
- the GovernanceAssignmentProperties object itself.
-
additionalData
Get the additionalData property: The additional data for the governance assignment - e.g. links to ticket (optional), see example.- Returns:
- the additionalData value.
-
withAdditionalData
public GovernanceAssignmentProperties withAdditionalData(GovernanceAssignmentAdditionalData additionalData) Set the additionalData property: The additional data for the governance assignment - e.g. links to ticket (optional), see example.- Parameters:
additionalData
- the additionalData value to set.- Returns:
- the GovernanceAssignmentProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-