@ExperimentalApi protected abstract static class FormattedBody.BaseFormattedBodyBuilder<T extends FormattedBody.BaseFormattedBodyBuilder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected ContentRepresentation |
representation |
protected String |
value |
protected Reference<WebResourceDependencies> |
webresource |
Modifier | Constructor and Description |
---|---|
protected |
BaseFormattedBodyBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract FormattedBody |
build() |
T |
representation(ContentRepresentation representation) |
T |
value(String value) |
T |
webresource(@NonNull Reference<WebResourceDependencies> webresource) |
T |
webresource(WebResourceDependencies webresource) |
protected ContentRepresentation representation
protected String value
protected Reference<WebResourceDependencies> webresource
public T representation(ContentRepresentation representation)
public T webresource(WebResourceDependencies webresource)
public T webresource(@NonNull Reference<WebResourceDependencies> webresource)
public abstract FormattedBody build()
Copyright © 2003–2021 Atlassian. All rights reserved.