@Generated(value={"Immutables.generator","_Error"}) public final class Error extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Error.Builder
Builds instances of type
Error . |
Modifier and Type | Method and Description |
---|---|
static Error.Builder |
builder()
Creates a builder for
Error . |
boolean |
equals(Object another)
This instance is equal to all instances of
Error that have equal attribute values. |
static Error |
from(org.cloudfoundry.dropsonde.events.Error dropsonde) |
Integer |
getCode()
The numeric error code.
|
String |
getMessage()
The error description (preferably human-readable)
|
String |
getSource()
The source of the error
|
int |
hashCode()
Computes a hash code from attributes:
code , message , source . |
String |
toString()
Prints the immutable value
Error with attribute values. |
public Integer getCode()
public String getMessage()
public String getSource()
public boolean equals(Object another)
Error
that have equal attribute values.public int hashCode()
code
, message
, source
.public String toString()
Error
with attribute values.public static Error.Builder builder()
Error
.public static Error from(org.cloudfoundry.dropsonde.events.Error dropsonde)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.