Class SecurityTaskProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.SecurityTaskProperties
Describes properties of a task.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the creationTimeUtc property: The time this task was discovered in UTC.Get the lastStateChangeTimeUtc property: The time this task's details were last changed in UTC.Get the securityTaskParameters property: Changing set of properties, depending on the task type that is derived from the name field.state()
Get the state property: State of the task (Active, Resolved etc.).subState()
Get the subState property: Additional data on the state of the task.void
validate()
Validates the instance.withSecurityTaskParameters
(SecurityTaskParameters securityTaskParameters) Set the securityTaskParameters property: Changing set of properties, depending on the task type that is derived from the name field.
-
Constructor Details
-
SecurityTaskProperties
public SecurityTaskProperties()
-
-
Method Details
-
state
Get the state property: State of the task (Active, Resolved etc.).- Returns:
- the state value.
-
creationTimeUtc
Get the creationTimeUtc property: The time this task was discovered in UTC.- Returns:
- the creationTimeUtc value.
-
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
Get the lastStateChangeTimeUtc property: The time this task's details were last changed in UTC.- Returns:
- the lastStateChangeTimeUtc value.
-
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.
-