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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestXmlTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.RestXmlTrait.Builder
fromNode(Node node)
Updates the builder from a Node.RestXmlTrait.Builder
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 Detail
-
noErrorWrapping
public RestXmlTrait.Builder noErrorWrapping(boolean noErrorWrapping)
-
fromNode
public RestXmlTrait.Builder fromNode(Node node)
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
public RestXmlTrait 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
-
-