public final class ExternalDocumentationTrait extends AbstractTrait implements ToSmithyBuilder<ExternalDocumentationTrait>
Modifier and Type | Class and Description |
---|---|
static class |
ExternalDocumentationTrait.Builder
Builder used to create the external documentation trait.
|
static class |
ExternalDocumentationTrait.Provider |
Constructor and Description |
---|
ExternalDocumentationTrait(ExternalDocumentationTrait.Builder builder) |
Modifier and Type | Method and Description |
---|---|
static ExternalDocumentationTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
java.util.Map<java.lang.String,java.lang.String> |
getUrls()
Gets the external documentation names and links.
|
ExternalDocumentationTrait.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public ExternalDocumentationTrait(ExternalDocumentationTrait.Builder builder)
public java.util.Map<java.lang.String,java.lang.String> getUrls()
protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait
public ExternalDocumentationTrait.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<ExternalDocumentationTrait>
public static ExternalDocumentationTrait.Builder builder()