public static final class ExternalDocumentationTrait.Builder extends AbstractTraitBuilder<ExternalDocumentationTrait,ExternalDocumentationTrait.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExternalDocumentationTrait.Builder |
addUrl(java.lang.String name,
java.lang.String url) |
ExternalDocumentationTrait |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
ExternalDocumentationTrait.Builder |
clearUrls() |
ExternalDocumentationTrait.Builder |
removeUrl(java.lang.String name) |
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public ExternalDocumentationTrait.Builder addUrl(java.lang.String name, java.lang.String url)
public ExternalDocumentationTrait.Builder removeUrl(java.lang.String name)
public ExternalDocumentationTrait.Builder clearUrls()
public ExternalDocumentationTrait build()
SmithyBuilder