public abstract class AbstractResource.Builder<T extends AbstractResource,U extends AbstractResource.Builder<T,U>>
extends java.lang.Object
Similarly setters in the class are private so those objects are also typically effectively immutable.
Modifier and Type | Method and Description |
---|---|
T |
build() |
U |
created(java.util.Date x) |
U |
customAttribute(java.lang.String key,
java.lang.Object value) |
U |
description(java.lang.String x) |
U |
id(java.lang.String x) |
U |
name(java.lang.String x) |
U |
representationSkew(RepresentationSkew x) |
U |
sourceCode(java.lang.String x) |
U |
tags(java.util.List<java.lang.String> x) |
U |
type(java.lang.String x) |
public T build()
public U type(java.lang.String x)
public U id(java.lang.String x)
public U name(java.lang.String x)
public U description(java.lang.String x)
public U created(java.util.Date x)
public U tags(java.util.List<java.lang.String> x)
public U representationSkew(RepresentationSkew x)
public U customAttribute(java.lang.String key, java.lang.Object value)
public U sourceCode(java.lang.String x)