Class HttpRequestTestCase.Builder

    • Method Detail

      • build

        public HttpRequestTestCase 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
      • id

        public B id​(java.lang.String id)
      • documentation

        public B documentation​(java.lang.String documentation)
      • protocol

        public B protocol​(ShapeId protocol)
      • authScheme

        public B authScheme​(ShapeId authScheme)
      • body

        public B body​(java.lang.String body)
      • bodyMediaType

        public B bodyMediaType​(java.lang.String bodyMediaType)
      • vendorParamsShape

        public B vendorParamsShape​(ShapeId vendorParamsShape)
      • vendorParams

        public B vendorParams​(ObjectNode vendorParams)
      • headers

        public B headers​(java.util.Map<java.lang.String,​java.lang.String> headers)
      • putHeader

        public B putHeader​(java.lang.String key,
                           java.lang.String value)
      • forbidHeaders

        public B forbidHeaders​(java.util.List<java.lang.String> forbidHeaders)
      • requireHeaders

        public B requireHeaders​(java.util.List<java.lang.String> requireHeaders)
      • tags

        public B tags​(java.util.List<java.lang.String> tags)
      • appliesTo

        public B appliesTo​(AppliesTo appliesTo)