Class ResourceMoveDetails
java.lang.Object
com.azure.resourcemanager.dataprotection.models.ResourceMoveDetails
ResourceMoveDetails will be returned in response to GetResource call from ARM.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the completionTimeUtc property: Completion time in UTC of latest ResourceMove operation attempted.Get the operationId property: CorrelationId of latest ResourceMove operation attempted.Get the sourceResourcePath property: ARM resource path of source resource.Get the startTimeUtc property: Start time in UTC of latest ResourceMove operation attempted.Get the targetResourcePath property: ARM resource path of target resource used in latest ResourceMove operation.void
validate()
Validates the instance.withCompletionTimeUtc
(String completionTimeUtc) Set the completionTimeUtc property: Completion time in UTC of latest ResourceMove operation attempted.withOperationId
(String operationId) Set the operationId property: CorrelationId of latest ResourceMove operation attempted.withSourceResourcePath
(String sourceResourcePath) Set the sourceResourcePath property: ARM resource path of source resource.withStartTimeUtc
(String startTimeUtc) Set the startTimeUtc property: Start time in UTC of latest ResourceMove operation attempted.withTargetResourcePath
(String targetResourcePath) Set the targetResourcePath property: ARM resource path of target resource used in latest ResourceMove operation.
-
Constructor Details
-
ResourceMoveDetails
public ResourceMoveDetails()Creates an instance of ResourceMoveDetails class.
-
-
Method Details
-
operationId
Get the operationId property: CorrelationId of latest ResourceMove operation attempted.- Returns:
- the operationId value.
-
withOperationId
Set the operationId property: CorrelationId of latest ResourceMove operation attempted.- Parameters:
operationId
- the operationId value to set.- Returns:
- the ResourceMoveDetails object itself.
-
startTimeUtc
Get the startTimeUtc property: Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format.- Returns:
- the startTimeUtc value.
-
withStartTimeUtc
Set the startTimeUtc property: Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format.- Parameters:
startTimeUtc
- the startTimeUtc value to set.- Returns:
- the ResourceMoveDetails object itself.
-
completionTimeUtc
Get the completionTimeUtc property: Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format.- Returns:
- the completionTimeUtc value.
-
withCompletionTimeUtc
Set the completionTimeUtc property: Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format.- Parameters:
completionTimeUtc
- the completionTimeUtc value to set.- Returns:
- the ResourceMoveDetails object itself.
-
sourceResourcePath
Get the sourceResourcePath property: ARM resource path of source resource.- Returns:
- the sourceResourcePath value.
-
withSourceResourcePath
Set the sourceResourcePath property: ARM resource path of source resource.- Parameters:
sourceResourcePath
- the sourceResourcePath value to set.- Returns:
- the ResourceMoveDetails object itself.
-
targetResourcePath
Get the targetResourcePath property: ARM resource path of target resource used in latest ResourceMove operation.- Returns:
- the targetResourcePath value.
-
withTargetResourcePath
Set the targetResourcePath property: ARM resource path of target resource used in latest ResourceMove operation.- Parameters:
targetResourcePath
- the targetResourcePath value to set.- Returns:
- the ResourceMoveDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-