RemediationEta Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. RemediationEta
- com.
Implements
public final class RemediationEta
implements JsonSerializable<RemediationEta>
The ETA (estimated time of arrival) for remediation.
Constructor Summary
| Constructor | Description |
|---|---|
| RemediationEta() |
Creates an instance of Remediation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
eta()
Get the eta property: ETA for remediation. |
|
static
Remediation |
fromJson(JsonReader jsonReader)
Reads an instance of Remediation |
| String |
justification()
Get the justification property: Justification for change of Eta. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Remediation |
withEta(OffsetDateTime eta)
Set the eta property: ETA for remediation. |
|
Remediation |
withJustification(String justification)
Set the justification property: Justification for change of Eta. |
Methods inherited from java.lang.Object
Constructor Details
RemediationEta
public RemediationEta()
Creates an instance of RemediationEta class.
Method Details
eta
public OffsetDateTime eta()
Get the eta property: ETA for remediation.
Returns:
fromJson
public static RemediationEta fromJson(JsonReader jsonReader)
Reads an instance of RemediationEta from the JsonReader.
Parameters:
Returns:
Throws:
justification
public String justification()
Get the justification property: Justification for change of Eta.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEta
public RemediationEta withEta(OffsetDateTime eta)
Set the eta property: ETA for remediation.
Parameters:
Returns:
withJustification
public RemediationEta withJustification(String justification)
Set the justification property: Justification for change of Eta.
Parameters:
Returns: