Class GovernanceAssignmentProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.GovernanceAssignmentProperties

public final class GovernanceAssignmentProperties extends Object
Describes properties of an governance assignment.
  • Constructor Details

    • GovernanceAssignmentProperties

      public GovernanceAssignmentProperties()
  • Method Details

    • owner

      public String owner()
      Get the owner property: The Owner for the governance assignment - e.g. user@contoso.com - see example.
      Returns:
      the owner value.
    • withOwner

      public GovernanceAssignmentProperties withOwner(String owner)
      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

      public OffsetDateTime 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

      public GovernanceAssignmentProperties 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).
      Parameters:
      remediationDueDate - the remediationDueDate value to set.
      Returns:
      the GovernanceAssignmentProperties object itself.
    • remediationEta

      public RemediationEta remediationEta()
      Get the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.
      Returns:
      the remediationEta value.
    • withRemediationEta

      public GovernanceAssignmentProperties withRemediationEta(RemediationEta remediationEta)
      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

      public Boolean isGracePeriod()
      Get the isGracePeriod property: Defines whether there is a grace period on the governance assignment.
      Returns:
      the isGracePeriod value.
    • withIsGracePeriod

      public GovernanceAssignmentProperties withIsGracePeriod(Boolean isGracePeriod)
      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

      public GovernanceEmailNotification 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

      public GovernanceAssignmentAdditionalData 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.