Class SecurityTaskInner

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

public final class SecurityTaskInner extends com.azure.core.management.ProxyResource
Security task that we recommend to do in order to strengthen security.
  • Constructor Details

    • SecurityTaskInner

      public SecurityTaskInner()
  • 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 SecurityTaskInner 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 SecurityTaskInner 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.