RemediationEta Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.RemediationEta

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 RemediationEta class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime eta()

Get the eta property: ETA for remediation.

static RemediationEta fromJson(JsonReader jsonReader)

Reads an instance of RemediationEta from the JsonReader.

String justification()

Get the justification property: Justification for change of Eta.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RemediationEta withEta(OffsetDateTime eta)

Set the eta property: ETA for remediation.

RemediationEta 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:

the eta value.

fromJson

public static RemediationEta fromJson(JsonReader jsonReader)

Reads an instance of RemediationEta from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RemediationEta if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

justification

public String justification()

Get the justification property: Justification for change of Eta.

Returns:

the justification value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEta

public RemediationEta withEta(OffsetDateTime eta)

Set the eta property: ETA for remediation.

Parameters:

eta - the eta value to set.

Returns:

the RemediationEta object itself.

withJustification

public RemediationEta withJustification(String justification)

Set the justification property: Justification for change of Eta.

Parameters:

justification - the justification value to set.

Returns:

the RemediationEta object itself.

Applies to