Class PolicyAssignmentPropertiesPolicy

java.lang.Object
com.azure.resourcemanager.authorization.models.PolicyAssignmentPropertiesPolicy

public final class PolicyAssignmentPropertiesPolicy extends Object
Details of the policy.
  • Constructor Details

    • PolicyAssignmentPropertiesPolicy

      public PolicyAssignmentPropertiesPolicy()
      Creates an instance of PolicyAssignmentPropertiesPolicy class.
  • Method Details

    • id

      public String id()
      Get the id property: Id of the policy.
      Returns:
      the id value.
    • withId

      Set the id property: Id of the policy.
      Parameters:
      id - the id value to set.
      Returns:
      the PolicyAssignmentPropertiesPolicy object itself.
    • lastModifiedBy

      public Principal lastModifiedBy()
      Get the lastModifiedBy property: The name of the entity last modified it.
      Returns:
      the lastModifiedBy value.
    • lastModifiedDateTime

      public OffsetDateTime lastModifiedDateTime()
      Get the lastModifiedDateTime property: The last modified date time.
      Returns:
      the lastModifiedDateTime value.
    • withLastModifiedDateTime

      public PolicyAssignmentPropertiesPolicy withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
      Set the lastModifiedDateTime property: The last modified date time.
      Parameters:
      lastModifiedDateTime - the lastModifiedDateTime value to set.
      Returns:
      the PolicyAssignmentPropertiesPolicy object itself.
    • validate

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