Class GovernanceAssignmentInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.GovernanceAssignmentInner

public final class GovernanceAssignmentInner extends com.azure.core.management.ProxyResource
Security GovernanceAssignment over a given scope.
  • Constructor Details

    • GovernanceAssignmentInner

      public GovernanceAssignmentInner()
  • 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner 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 GovernanceAssignmentInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.