public class OperationFetchResultDetails
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OperationFetchResultDetails.Builder
Builder for operation fetch result details.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getOperationId()
ID of the operation.
|
@Nullable java.time.Duration |
getTimeout()
Optional timeout for how long the user wants to wait on the result.
|
int |
hashCode() |
static OperationFetchResultDetails.Builder |
newBuilder()
Create a builder.
|
static OperationFetchResultDetails.Builder |
newBuilder(OperationFetchResultDetails details)
Create a builder from an existing set of details.
|
java.lang.String |
toString() |
public static OperationFetchResultDetails.Builder newBuilder()
public static OperationFetchResultDetails.Builder newBuilder(OperationFetchResultDetails details)
public java.lang.String getOperationId()
public @Nullable java.time.Duration getTimeout()
If this value is null, the result or OperationStillRunningException should be
returned/thrown right away. If this value is present, the fetch result call should try to wait
up until this duration or until an implementer chosen maximum, whichever ends sooner, before
returning the result or throwing OperationStillRunningException.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object