@Generated(value="org.immutables.processor.ProxyProcessor") public final class Link extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Link.Builder
Builds instances of type
Link. |
| Modifier and Type | Method and Description |
|---|---|
static Link.Builder |
builder()
Creates a builder for
Link. |
boolean |
equals(Object another)
This instance is equal to all instances of
Link that have equal attribute values. |
String |
getHref()
The href
|
String |
getMethod()
The method
|
int |
hashCode()
Computes a hash code from attributes:
href, method. |
String |
toString()
Prints the immutable value
Link with attribute values. |
public String getHref()
public String getMethod()
public boolean equals(Object another)
Link that have equal attribute values.public int hashCode()
href, method.public String toString()
Link with attribute values.public static Link.Builder builder()
Link.
Link.builder()
.href(String) // required href
.method(String | null) // nullable method
.build();
Copyright © 2020. All rights reserved.