org.jclouds.googlecomputeengine.domain
Class Operation.Error
java.lang.Object
org.jclouds.googlecomputeengine.domain.Operation.Error
- Enclosing class:
- Operation
public static final class Operation.Error
- extends Object
A particular error for an operation including the details.
getCode
public String getCode()
- Returns:
- the error type identifier for this error.
getLocation
public com.google.common.base.Optional<String> getLocation()
- Returns:
- indicates the field in the request which caused the error..
getMessage
public com.google.common.base.Optional<String> getMessage()
- Returns:
- an optional, human-readable error message.
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
-
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
-
toString
public String toString()
-
- Overrides:
toString in class Object
builder
public static Operation.Error.Builder builder()
toBuilder
public Operation.Error.Builder toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.