Link

public final class Link

An individual link.

Parameters

method

The request method used to access the link.

href

The URL for the link. This can be absolute or relative.

expires

If the link expires, this will be the UTC date the link will expire, in ISO 8601 format.

Constructors

Link copied to clipboard
public Link Link(String method, String href, String expires)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String expires
Link copied to clipboard
@Valid()
private final String href
Link copied to clipboard
@Valid()
private final String method

Functions

Link copied to clipboard
public final static Link.Builder builder()
Link copied to clipboard
public final String getExpires()
Link copied to clipboard
public final String getHref()
Link copied to clipboard
public final String getMethod()