Class SecurityTaskProperties

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

public final class SecurityTaskProperties extends Object
Describes properties of a task.
  • Constructor Details

    • SecurityTaskProperties

      public SecurityTaskProperties()
  • Method Details

    • state

      public String state()
      Get the state property: State of the task (Active, Resolved etc.).
      Returns:
      the state value.
    • creationTimeUtc

      public OffsetDateTime creationTimeUtc()
      Get the creationTimeUtc property: The time this task was discovered in UTC.
      Returns:
      the creationTimeUtc value.
    • securityTaskParameters

      public SecurityTaskParameters securityTaskParameters()
      Get the securityTaskParameters property: Changing set of properties, depending on the task type that is derived from the name field.
      Returns:
      the securityTaskParameters value.
    • withSecurityTaskParameters

      public SecurityTaskProperties withSecurityTaskParameters(SecurityTaskParameters securityTaskParameters)
      Set the securityTaskParameters property: Changing set of properties, depending on the task type that is derived from the name field.
      Parameters:
      securityTaskParameters - the securityTaskParameters value to set.
      Returns:
      the SecurityTaskProperties object itself.
    • lastStateChangeTimeUtc

      public OffsetDateTime lastStateChangeTimeUtc()
      Get the lastStateChangeTimeUtc property: The time this task's details were last changed in UTC.
      Returns:
      the lastStateChangeTimeUtc value.
    • subState

      public String subState()
      Get the subState property: Additional data on the state of the task.
      Returns:
      the subState value.
    • validate

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