ResourceMoveDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.ResourceMoveDetails

Implements

public final class ResourceMoveDetails
implements JsonSerializable<ResourceMoveDetails>

ResourceMoveDetails will be returned in response to GetResource call from ARM.

Method Summary

Modifier and Type Method and Description
String completionTimeUtc()

Get the completionTimeUtc property: Completion time in UTC of latest ResourceMove operation attempted.

static ResourceMoveDetails fromJson(JsonReader jsonReader)

Reads an instance of ResourceMoveDetails from the JsonReader.

String operationId()

Get the operationId property: CorrelationId of latest ResourceMove operation attempted.

String sourceResourcePath()

Get the sourceResourcePath property: ARM resource path of source resource.

String startTimeUtc()

Get the startTimeUtc property: Start time in UTC of latest ResourceMove operation attempted.

String targetResourcePath()

Get the targetResourcePath property: ARM resource path of target resource used in latest ResourceMove operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

completionTimeUtc

public String completionTimeUtc()

Get the completionTimeUtc property: Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format.

Returns:

the completionTimeUtc value.

fromJson

public static ResourceMoveDetails fromJson(JsonReader jsonReader)

Reads an instance of ResourceMoveDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceMoveDetails 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 ResourceMoveDetails.

operationId

public String operationId()

Get the operationId property: CorrelationId of latest ResourceMove operation attempted.

Returns:

the operationId value.

sourceResourcePath

public String sourceResourcePath()

Get the sourceResourcePath property: ARM resource path of source resource.

Returns:

the sourceResourcePath value.

startTimeUtc

public String startTimeUtc()

Get the startTimeUtc property: Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format.

Returns:

the startTimeUtc value.

targetResourcePath

public String targetResourcePath()

Get the targetResourcePath property: ARM resource path of target resource used in latest ResourceMove operation.

Returns:

the targetResourcePath value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to