public class PollArg extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PollArg.Serializer
For internal use only.
|
Modifier and Type | Field and Description |
---|---|
protected String |
asyncJobId |
Constructor and Description |
---|
PollArg(String asyncJobId)
Arguments for methods that poll the status of an asynchronous job.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAsyncJobId()
Id of the asynchronous job.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final String asyncJobId
public PollArg(String asyncJobId)
asyncJobId
- Id of the asynchronous job. This is the value of a
response returned from the method that launched the job. Must have
length of at least 1 and not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public String getAsyncJobId()
null
.public String toStringMultiline()
The returned String may contain newlines.