Class HttpResponseTestCase.Builder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      B appliesTo​(AppliesTo appliesTo)  
      B authScheme​(ShapeId authScheme)  
      B body​(java.lang.String body)  
      B bodyMediaType​(java.lang.String bodyMediaType)  
      HttpResponseTestCase build()
      Creates an immutable object that is created from the properties that have been set on the builder.
      HttpResponseTestCase.Builder code​(java.lang.Integer code)  
      B documentation​(java.lang.String documentation)  
      B forbidHeaders​(java.util.List<java.lang.String> forbidHeaders)  
      B headers​(java.util.Map<java.lang.String,​java.lang.String> headers)  
      B id​(java.lang.String id)  
      B params​(ObjectNode params)  
      B protocol​(ShapeId protocol)  
      B putHeader​(java.lang.String key, java.lang.String value)  
      B requireHeaders​(java.util.List<java.lang.String> requireHeaders)  
      B tags​(java.util.List<java.lang.String> tags)  
      B vendorParams​(ObjectNode vendorParams)  
      B vendorParamsShape​(ShapeId vendorParamsShape)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • build

        public HttpResponseTestCase 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)