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 aRpcv2CborTrait.
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Rpcv2CborTraitbuild()Creates an immutable object that is created from the properties that have been set on the builder.Rpcv2CborTrait.BuildereventStreamHttp(java.util.List<java.lang.String> eventStreamHttp)Sets the list of supported event stream HTTP protocols.Rpcv2CborTrait.Builderhttp(java.util.List<java.lang.String> http)Sets the list of supported HTTP protocols.- 
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuildergetSourceLocation, sourceLocation
 
- 
 
- 
- 
- 
Method Detail- 
buildpublic Rpcv2CborTrait 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
 
 - 
httppublic Rpcv2CborTrait.Builder http(java.util.List<java.lang.String> http) Sets the list of supported HTTP protocols.- Parameters:
- http- HTTP protocols to set and replace.
- Returns:
- Returns the builder.
 
 - 
eventStreamHttppublic Rpcv2CborTrait.Builder eventStreamHttp(java.util.List<java.lang.String> eventStreamHttp) Sets the list of supported event stream HTTP protocols.- Parameters:
- eventStreamHttp- Event stream HTTP protocols to set and replace.
- Returns:
- Returns the builder.
 
 
- 
 
-