SecurityTaskProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. fluent. models. SecurityTaskProperties
- com.
Implements
public final class SecurityTaskProperties
implements JsonSerializable<SecurityTaskProperties>
Describes properties of a task.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
creationTimeUtc()
Get the creation |
|
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
|
Offset |
lastStateChangeTimeUtc()
Get the last |
|
Security |
securityTaskParameters()
Get the security |
| String |
state()
Get the state property: State of the task (Active, Resolved etc.). |
| String |
subState()
Get the sub |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
creationTimeUtc
public OffsetDateTime creationTimeUtc()
Get the creationTimeUtc property: The time this task was discovered in UTC.
Returns:
fromJson
public static SecurityTaskProperties fromJson(JsonReader jsonReader)
Reads an instance of SecurityTaskProperties from the JsonReader.
Parameters:
Returns:
Throws:
lastStateChangeTimeUtc
public OffsetDateTime lastStateChangeTimeUtc()
Get the lastStateChangeTimeUtc property: The time this task's details were last changed in UTC.
Returns:
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:
state
public String state()
Get the state property: State of the task (Active, Resolved etc.).
Returns:
subState
public String subState()
Get the subState property: Additional data on the state of the task.
Returns:
toJson
validate
public void validate()
Validates the instance.