public class AsyncHandle
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
AsyncHandle.Builder |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
AsyncHandle() |
AsyncHandle(Long asyncResultID,
Boolean completed,
String createTime,
String lastUpdateTime,
String resultType,
Boolean success,
Attributes data) |
| Modifier and Type | Method and Description |
|---|---|
AsyncHandle.Builder |
asBuilder() |
static AsyncHandle.Builder |
builder() |
boolean |
equals(Object o) |
Long |
getAsyncResultID()
The ID of the result.
|
Boolean |
getCompleted()
Returns true if it is completed and false if it isn't.
|
String |
getCreateTime()
The time at which the asyncronous result was created
|
Attributes |
getData()
Attributes related to the result
|
String |
getLastUpdateTime()
Time at which the result was last updated
|
String |
getResultType()
The type of result.
|
Boolean |
getSuccess()
Returns whether the result was a success or failure.
|
int |
hashCode() |
void |
setAsyncResultID(Long asyncResultID) |
void |
setCompleted(Boolean completed) |
void |
setCreateTime(String createTime) |
void |
setData(Attributes data) |
void |
setLastUpdateTime(String lastUpdateTime) |
void |
setResultType(String resultType) |
void |
setSuccess(Boolean success) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public AsyncHandle(Long asyncResultID, Boolean completed, String createTime, String lastUpdateTime, String resultType, Boolean success, Attributes data)
public Long getAsyncResultID()
public void setAsyncResultID(Long asyncResultID)
public Boolean getCompleted()
public void setCompleted(Boolean completed)
public String getCreateTime()
public void setCreateTime(String createTime)
public String getLastUpdateTime()
public void setLastUpdateTime(String lastUpdateTime)
public String getResultType()
public void setResultType(String resultType)
public Boolean getSuccess()
public void setSuccess(Boolean success)
public Attributes getData()
public void setData(Attributes data)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Map<String,Object> toMap()
public String toString()
toString in class Objectpublic static AsyncHandle.Builder builder()
public final AsyncHandle.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.