public final class RecommendedTrait extends AbstractTrait implements ToSmithyBuilder<RecommendedTrait>
| Modifier and Type | Class and Description |
|---|---|
static class |
RecommendedTrait.Builder
Builder used to create a RecommendedTrait.
|
static class |
RecommendedTrait.Provider |
| Modifier and Type | Method and Description |
|---|---|
static RecommendedTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
java.util.Optional<java.lang.String> |
getReason()
Gets the reason it is recommended to set this member.
|
RecommendedTrait.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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitflatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteNamepublic static final ShapeId ID
public java.util.Optional<java.lang.String> getReason()
protected Node createNode()
AbstractTraitcreateNode in class AbstractTraitpublic RecommendedTrait.Builder toBuilder()
ToSmithyBuildertoBuilder in interface ToSmithyBuilder<RecommendedTrait>public static RecommendedTrait.Builder builder()