LastMitigationActionOnJob Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.LastMitigationActionOnJob

Implements

public final class LastMitigationActionOnJob
implements JsonSerializable<LastMitigationActionOnJob>

Last Mitigation Action Performed On Job.

Constructor Summary

Constructor Description
LastMitigationActionOnJob()

Creates an instance of LastMitigationActionOnJob class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime actionDateTimeInUtc()

Get the actionDateTimeInUtc property: Action performed date time.

CustomerResolutionCode customerResolution()

Get the customerResolution property: Resolution code provided by customer.

static LastMitigationActionOnJob fromJson(JsonReader jsonReader)

Reads an instance of LastMitigationActionOnJob from the JsonReader.

Boolean isPerformedByCustomer()

Get the isPerformedByCustomer property: Action performed by customer, possibility is that mitigation might happen by customer or service or by ops.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LastMitigationActionOnJob withActionDateTimeInUtc(OffsetDateTime actionDateTimeInUtc)

Set the actionDateTimeInUtc property: Action performed date time.

LastMitigationActionOnJob withCustomerResolution(CustomerResolutionCode customerResolution)

Set the customerResolution property: Resolution code provided by customer.

LastMitigationActionOnJob withIsPerformedByCustomer(Boolean isPerformedByCustomer)

Set the isPerformedByCustomer property: Action performed by customer, possibility is that mitigation might happen by customer or service or by ops.

Methods inherited from java.lang.Object

Constructor Details

LastMitigationActionOnJob

public LastMitigationActionOnJob()

Creates an instance of LastMitigationActionOnJob class.

Method Details

actionDateTimeInUtc

public OffsetDateTime actionDateTimeInUtc()

Get the actionDateTimeInUtc property: Action performed date time.

Returns:

the actionDateTimeInUtc value.

customerResolution

public CustomerResolutionCode customerResolution()

Get the customerResolution property: Resolution code provided by customer.

Returns:

the customerResolution value.

fromJson

public static LastMitigationActionOnJob fromJson(JsonReader jsonReader)

Reads an instance of LastMitigationActionOnJob from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the LastMitigationActionOnJob.

isPerformedByCustomer

public Boolean isPerformedByCustomer()

Get the isPerformedByCustomer property: Action performed by customer, possibility is that mitigation might happen by customer or service or by ops.

Returns:

the isPerformedByCustomer value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActionDateTimeInUtc

public LastMitigationActionOnJob withActionDateTimeInUtc(OffsetDateTime actionDateTimeInUtc)

Set the actionDateTimeInUtc property: Action performed date time.

Parameters:

actionDateTimeInUtc - the actionDateTimeInUtc value to set.

Returns:

the LastMitigationActionOnJob object itself.

withCustomerResolution

public LastMitigationActionOnJob withCustomerResolution(CustomerResolutionCode customerResolution)

Set the customerResolution property: Resolution code provided by customer.

Parameters:

customerResolution - the customerResolution value to set.

Returns:

the LastMitigationActionOnJob object itself.

withIsPerformedByCustomer

public LastMitigationActionOnJob withIsPerformedByCustomer(Boolean isPerformedByCustomer)

Set the isPerformedByCustomer property: Action performed by customer, possibility is that mitigation might happen by customer or service or by ops.

Parameters:

isPerformedByCustomer - the isPerformedByCustomer value to set.

Returns:

the LastMitigationActionOnJob object itself.

Applies to