public class GetAsyncResultRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GetAsyncResultRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
GetAsyncResultRequest() |
GetAsyncResultRequest(java.lang.Long asyncHandle,
Optional<java.lang.Boolean> keepResult) |
Modifier and Type | Method and Description |
---|---|
GetAsyncResultRequest.Builder |
asBuilder() |
static GetAsyncResultRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAsyncHandle()
A value that was returned from the original
asynchronous method call.
|
Optional<java.lang.Boolean> |
getKeepResult()
If true, GetAsyncResult does not remove the
asynchronous result upon returning it, enabling future
queries to that asyncHandle.
|
int |
hashCode() |
void |
setAsyncHandle(java.lang.Long asyncHandle) |
void |
setKeepResult(Optional<java.lang.Boolean> keepResult) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.Long getAsyncHandle()
public void setAsyncHandle(java.lang.Long asyncHandle)
public Optional<java.lang.Boolean> getKeepResult()
public void setKeepResult(Optional<java.lang.Boolean> keepResult)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static GetAsyncResultRequest.Builder builder()
public final GetAsyncResultRequest.Builder asBuilder()