T
- Trait being built.B
- Builder that is building the trait.public abstract class AbstractTraitBuilder<T extends Trait,B extends AbstractTraitBuilder>
extends java.lang.Object
implements software.amazon.smithy.utils.SmithyBuilder<T>
Constructor and Description |
---|
AbstractTraitBuilder() |
Modifier and Type | Method and Description |
---|---|
SourceLocation |
getSourceLocation()
Gets the source location configured for the builder.
|
B |
sourceLocation(FromSourceLocation sourceLocation)
Sets the source location of where the trait was defined.
|
public B sourceLocation(FromSourceLocation sourceLocation)
sourceLocation
- Location of the trait.public SourceLocation getSourceLocation()