Class RestXmlTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<T,B>
software.amazon.smithy.aws.traits.protocols.AwsProtocolTrait.Builder<RestXmlTrait,RestXmlTrait.Builder>
software.amazon.smithy.aws.traits.protocols.RestXmlTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<RestXmlTrait>
- Enclosing class:
- RestXmlTrait
public static final class RestXmlTrait.Builder
extends AwsProtocolTrait.Builder<RestXmlTrait,RestXmlTrait.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.Updates the builder from a Node.noErrorWrapping
(boolean noErrorWrapping) Methods inherited from class software.amazon.smithy.aws.traits.protocols.AwsProtocolTrait.Builder
eventStreamHttp, http
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
noErrorWrapping
-
fromNode
Description copied from class:AwsProtocolTrait.Builder
Updates the builder from a Node.- Overrides:
fromNode
in classAwsProtocolTrait.Builder<RestXmlTrait,
RestXmlTrait.Builder> - Parameters:
node
- Node object that must be a validObjectNode
.- Returns:
- Returns the updated builder.
-
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
-