org.jclouds.ultradns.ws.domain
Class Task

java.lang.Object
  extended by org.jclouds.ultradns.ws.domain.Task

public final class Task
extends Object


Nested Class Summary
static class Task.Builder
           
static class Task.StatusCode
           
 
Method Summary
static Task.Builder builder()
           
 boolean equals(Object obj)
           
 String getGuid()
          The guid of the task.
 com.google.common.base.Optional<String> getMessage()
          The message pertaining to status
 com.google.common.base.Optional<URI> getResultUrl()
          present when Object.getClass() is Task.StatusCode.COMPLETE
 Task.StatusCode getStatusCode()
          The status statusCode of the task
 int hashCode()
           
 Task.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getGuid

public String getGuid()
The guid of the task. ex.


getStatusCode

public Task.StatusCode getStatusCode()
The status statusCode of the task


getMessage

public com.google.common.base.Optional<String> getMessage()
The message pertaining to status


getResultUrl

public com.google.common.base.Optional<URI> getResultUrl()
present when Object.getClass() is Task.StatusCode.COMPLETE


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

builder

public static Task.Builder builder()

toBuilder

public Task.Builder toBuilder()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.