Class 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 Details

    • Builder

      public Builder()
  • Method Details

    • build

      public Rpcv2CborTrait 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
    • http

      public Rpcv2CborTrait.Builder http(List<String> http)
      Sets the list of supported HTTP protocols.
      Parameters:
      http - HTTP protocols to set and replace.
      Returns:
      Returns the builder.
    • eventStreamHttp

      public Rpcv2CborTrait.Builder eventStreamHttp(List<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.