Class Rpcv2CborTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<Rpcv2CborTrait,Rpcv2CborTrait.Builder>
 
software.amazon.smithy.protocol.traits.Rpcv2CborTrait.Builder
- All Implemented Interfaces:
 SmithyBuilder<Rpcv2CborTrait>
- Enclosing class:
 - Rpcv2CborTrait
 
public static final class Rpcv2CborTrait.Builder
extends AbstractTraitBuilder<Rpcv2CborTrait,Rpcv2CborTrait.Builder> 
Builder for creating a 
Rpcv2CborTrait.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates an immutable object that is created from the properties that have been set on the builder.eventStreamHttp(List<String> eventStreamHttp) Sets the list of supported event stream HTTP protocols.Sets the list of supported HTTP protocols.Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
build
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
 - an instance of T
 
 - 
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.
 
 
 -