@Generated(value={"Immutables.generator","_Resource"}) public final class Resource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Resource.Builder
Builds instances of type
Resource. |
| Modifier and Type | Method and Description |
|---|---|
static Resource.Builder |
builder()
Creates a builder for
Resource. |
boolean |
equals(Object another)
This instance is equal to all instances of
Resource that have equal attribute values. |
String |
getHash()
The hash
|
String |
getMode()
The POSIX file mode in an octal representation
|
String |
getPath()
The path
|
Integer |
getSize()
The size
|
int |
hashCode()
Computes a hash code from attributes:
hash, mode, path, size. |
String |
toString()
Prints the immutable value
Resource with attribute values. |
public String getHash()
public String getMode()
public String getPath()
public Integer getSize()
public boolean equals(Object another)
Resource that have equal attribute values.public int hashCode()
hash, mode, path, size.public String toString()
Resource with attribute values.public static Resource.Builder builder()
Resource.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.