Link.Builder
instead.@Deprecated public static interface Link.Builder extends Link.Builder
Modifier and Type | Method and Description |
---|---|
Link |
build()
Deprecated.
Build the link.
|
Link.Builder |
deprecation(URI deprecation)
Deprecated.
|
Link.Builder |
hreflang(String hreflang)
Deprecated.
|
Link.Builder |
name(String name)
Deprecated.
|
Link.Builder |
profile(URI profile)
Deprecated.
|
Link.Builder |
templated(boolean templated)
Deprecated.
|
Link.Builder |
title(String title)
Deprecated.
|
Link.Builder |
type(MediaType mediaType)
Deprecated.
|
Link.Builder templated(boolean templated)
templated
in interface Link.Builder
templated
- Whether the URI is templatedLink.isTemplated()
Link.Builder profile(@Nullable URI profile)
profile
in interface Link.Builder
profile
- The profile URILink.getProfile()
Link.Builder deprecation(@Nullable URI deprecation)
deprecation
in interface Link.Builder
deprecation
- The deprecation URILink.getDeprecation()
Link.Builder title(@Nullable String title)
title
in interface Link.Builder
title
- The title of the linkLink.getTitle()
Link.Builder name(@Nullable String name)
name
in interface Link.Builder
name
- The name of the linkLink.getName()
Link.Builder hreflang(@Nullable String hreflang)
hreflang
in interface Link.Builder
hreflang
- The language of the linkLink.getHreflang()
Link.Builder type(@Nullable MediaType mediaType)
type
in interface Link.Builder
mediaType
- The type of the URILink.getType()
Link build()
Link.Builder
build
in interface Link.Builder
Link