Class HttpTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<HttpTrait,HttpTrait.Builder>
software.amazon.smithy.model.traits.HttpTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<HttpTrait>
- Enclosing class:
- HttpTrait
public static final class HttpTrait.Builder
extends AbstractTraitBuilder<HttpTrait,HttpTrait.Builder>
Builder used to create an Http trait.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.code
(int code) uri
(UriPattern uri) Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
uri
-
method
-
code
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-