public abstract class Operation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Operation.Error |
static class |
Operation.Status |
Modifier and Type | Method and Description |
---|---|
abstract String |
clientOperationId()
Identifier specified by the client when the mutation was initiated.
|
static Operation |
create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
URI targetLink,
String targetId,
String clientOperationId,
Operation.Status status,
String statusMessage,
String user,
Integer progress,
Date insertTime,
Date startTime,
Date endTime,
Integer httpErrorStatusCode,
String httpErrorMessage,
String operationType,
Operation.Error error,
List<Warning> warnings,
URI region,
URI zone) |
abstract Date |
creationTimestamp() |
abstract String |
description() |
abstract Date |
endTime() |
abstract Operation.Error |
error() |
abstract String |
httpErrorMessage() |
abstract Integer |
httpErrorStatusCode() |
abstract String |
id() |
abstract Date |
insertTime()
The time that this operation was requested.
|
abstract String |
name() |
abstract String |
operationType()
Examples include insert, update, and delete.
|
abstract Integer |
progress()
A progress indicator that ranges from 0 to 100.
|
abstract URI |
region() |
abstract URI |
selfLink() |
abstract Date |
startTime() |
abstract Operation.Status |
status() |
abstract String |
statusMessage()
Textual description of the current status of the operation.
|
abstract String |
targetId()
Target id which identifies a particular incarnation of the target.
|
abstract URI |
targetLink()
URL of the resource the operation is mutating.
|
abstract String |
user()
User who requested the operation, for example
user@example.com . |
abstract List<Warning> |
warnings() |
abstract URI |
zone() |
public abstract String id()
public abstract URI selfLink()
public abstract String name()
public abstract URI targetLink()
@Nullable public abstract String targetId()
@Nullable public abstract String clientOperationId()
public abstract Operation.Status status()
@Nullable public abstract String statusMessage()
@Nullable public abstract String user()
user@example.com
.@Nullable public abstract Integer progress()
public abstract Date insertTime()
public abstract String operationType()
public abstract Operation.Error error()
public static Operation create(String id, Date creationTimestamp, URI selfLink, String name, String description, URI targetLink, String targetId, String clientOperationId, Operation.Status status, String statusMessage, String user, Integer progress, Date insertTime, Date startTime, Date endTime, Integer httpErrorStatusCode, String httpErrorMessage, String operationType, Operation.Error error, List<Warning> warnings, URI region, URI zone)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.