Class AwsProtocolTrait.Builder<T extends Trait,B extends AwsProtocolTrait.Builder> 
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<T,B>
 
software.amazon.smithy.aws.traits.protocols.AwsProtocolTrait.Builder<T,B> 
- Type Parameters:
 T- The type of trait being created.B- The concrete builder that createsT.
- All Implemented Interfaces:
 SmithyBuilder<T>
- Direct Known Subclasses:
 AwsJson1_0Trait.Builder,AwsJson1_1Trait.Builder,RestJson1Trait.Builder,RestXmlTrait.Builder
- Enclosing class:
 - AwsProtocolTrait
 
public abstract static class AwsProtocolTrait.Builder<T extends Trait,B extends AwsProtocolTrait.Builder> 
extends AbstractTraitBuilder<T,B> 
Builder for creating a 
AwsProtocolTrait.- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.smithy.utils.SmithyBuilder
build 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
http
Sets the list of supported HTTP protocols.- Parameters:
 http- HTTP protocols to set and replace.- Returns:
 - Returns the builder.
 
 - 
eventStreamHttp
Sets the list of supported event stream HTTP protocols.- Parameters:
 eventStreamHttp- Event stream HTTP protocols to set and replace.- Returns:
 - Returns the builder.
 
 - 
fromNode
Updates the builder from a Node.- Parameters:
 node- Node object that must be a validObjectNode.- Returns:
 - Returns the updated builder.
 
 
 -