Class HttpResponseCodeTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AnnotationTrait
-
- software.amazon.smithy.model.traits.HttpResponseCodeTrait
-
- All Implemented Interfaces:
FromSourceLocation,ToNode,ToShapeId,Trait
public final class HttpResponseCodeTrait extends AnnotationTrait
Indicates that the structure member represents the HTTP response status code. This MAY differ from the HTTP status code provided in the response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpResponseCodeTrait.Provider
-
Constructor Summary
Constructors Constructor Description HttpResponseCodeTrait()HttpResponseCodeTrait(ObjectNode node)
-
Method Summary
-
Methods inherited from class software.amazon.smithy.model.traits.AnnotationTrait
equals, getSourceLocation, hashCode, toNode, toShapeId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
-
-
-
Field Detail
-
ID
public static final ShapeId ID
-
-
Constructor Detail
-
HttpResponseCodeTrait
public HttpResponseCodeTrait(ObjectNode node)
-
HttpResponseCodeTrait
public HttpResponseCodeTrait()
-
-