Class ResourceMoveDetails
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.ResourceMoveDetails
-
public final class ResourceMoveDetails extends Object
ResourceMoveDetails will be returned in response to GetResource call from ARM.
-
-
Constructor Summary
Constructors Constructor Description ResourceMoveDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
completionTimeUtc()
Get the completionTimeUtc property: Completion time in UTC of latest ResourceMove operation attempted.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.void
validate()
Validates the instance.ResourceMoveDetails
withCompletionTimeUtc(String completionTimeUtc)
Set the completionTimeUtc property: Completion time in UTC of latest ResourceMove operation attempted.ResourceMoveDetails
withOperationId(String operationId)
Set the operationId property: CorrelationId of latest ResourceMove operation attempted.ResourceMoveDetails
withSourceResourcePath(String sourceResourcePath)
Set the sourceResourcePath property: ARM resource path of source resource.ResourceMoveDetails
withStartTimeUtc(String startTimeUtc)
Set the startTimeUtc property: Start time in UTC of latest ResourceMove operation attempted.ResourceMoveDetails
withTargetResourcePath(String targetResourcePath)
Set the targetResourcePath property: ARM resource path of target resource used in latest ResourceMove operation.
-
-
-
Method Detail
-
operationId
public String operationId()
Get the operationId property: CorrelationId of latest ResourceMove operation attempted.- Returns:
- the operationId value.
-
withOperationId
public ResourceMoveDetails withOperationId(String operationId)
Set the operationId property: CorrelationId of latest ResourceMove operation attempted.- Parameters:
operationId
- the operationId value to set.- Returns:
- the ResourceMoveDetails object itself.
-
startTimeUtc
public String startTimeUtc()
Get the startTimeUtc property: Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format.- Returns:
- the startTimeUtc value.
-
withStartTimeUtc
public ResourceMoveDetails withStartTimeUtc(String startTimeUtc)
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
public String completionTimeUtc()
Get the completionTimeUtc property: Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format.- Returns:
- the completionTimeUtc value.
-
withCompletionTimeUtc
public ResourceMoveDetails withCompletionTimeUtc(String completionTimeUtc)
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
public String sourceResourcePath()
Get the sourceResourcePath property: ARM resource path of source resource.- Returns:
- the sourceResourcePath value.
-
withSourceResourcePath
public ResourceMoveDetails withSourceResourcePath(String sourceResourcePath)
Set the sourceResourcePath property: ARM resource path of source resource.- Parameters:
sourceResourcePath
- the sourceResourcePath value to set.- Returns:
- the ResourceMoveDetails object itself.
-
targetResourcePath
public String targetResourcePath()
Get the targetResourcePath property: ARM resource path of target resource used in latest ResourceMove operation.- Returns:
- the targetResourcePath value.
-
withTargetResourcePath
public ResourceMoveDetails withTargetResourcePath(String targetResourcePath)
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.
-
-