public final class DeprecatedTrait extends AbstractTrait implements ToSmithyBuilder<DeprecatedTrait>
| Modifier and Type | Class and Description |
|---|---|
static class |
DeprecatedTrait.Builder
Builder used to create a DeprecatedTrait.
|
static class |
DeprecatedTrait.Provider |
| Modifier and Type | Method and Description |
|---|---|
static DeprecatedTrait.Builder |
builder() |
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
java.util.Optional<java.lang.String> |
getMessage()
Gets the deprecation message value.
|
java.util.Optional<java.lang.String> |
getSince()
Gets the deprecated since value.
|
DeprecatedTrait.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> getSince()
public java.util.Optional<java.lang.String> getMessage()
protected Node createNode()
AbstractTraitcreateNode in class AbstractTraitpublic DeprecatedTrait.Builder toBuilder()
ToSmithyBuildertoBuilder in interface ToSmithyBuilder<DeprecatedTrait>public static DeprecatedTrait.Builder builder()