public class ExternalDocumentationObjectBuilder extends Object
Constructor and Description |
---|
ExternalDocumentationObjectBuilder() |
Modifier and Type | Method and Description |
---|---|
ExternalDocumentationObject |
build() |
static ExternalDocumentationObjectBuilder |
externalDocumentationObject()
Creates a builder for an
ExternalDocumentationObject |
ExternalDocumentationObjectBuilder |
withDescription(String description) |
ExternalDocumentationObjectBuilder |
withUrl(URI url) |
public ExternalDocumentationObjectBuilder withDescription(String description)
description
- A short description of the target documentation. CommonMark syntax
MAY be used for rich text representation.public ExternalDocumentationObjectBuilder withUrl(URI url)
url
- REQUIRED. The URL for the target documentation.public ExternalDocumentationObject build()
public static ExternalDocumentationObjectBuilder externalDocumentationObject()
ExternalDocumentationObject
Copyright © 2017–2018. All rights reserved.