Class ApiTestStep.Jsii$Proxy

  • All Implemented Interfaces:
    ApiTestStep, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    ApiTestStep

    @Stability(Experimental)
    @Internal
    public static final class ApiTestStep.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements ApiTestStep
    An implementation for ApiTestStep
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(ApiTestStep.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ApiTestStep.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getPath

        public final String getPath()
        Description copied from interface: ApiTestStep
        (experimental) Path of HTTP request, relative to baseUrl.
        Specified by:
        getPath in interface ApiTestStep
      • getBody

        public final String getBody()
        Description copied from interface: ApiTestStep
        (experimental) Optional body to include in HTTP request.

        Default: - no body included.

        Specified by:
        getBody in interface ApiTestStep
      • getExpectedValue

        public final Object getExpectedValue()
        Description copied from interface: ApiTestStep
        (experimental) Expected value to compare against the jmesPath.

        Default: - undefined

        Specified by:
        getExpectedValue in interface ApiTestStep
      • getHeaders

        public final Map<String,​String> getHeaders()
        Description copied from interface: ApiTestStep
        (experimental) Optional headers to include in HTTP request.

        Default: - no headers included.

        Specified by:
        getHeaders in interface ApiTestStep
      • getJmesPath

        public final String getJmesPath()
        Description copied from interface: ApiTestStep
        (experimental) JMESPath to apply against the response from the HTTP request and compare against expected value.

        Default: - no JMESPath assertion will be performed.

        Specified by:
        getJmesPath in interface ApiTestStep
      • getMethod

        public final String getMethod()
        Description copied from interface: ApiTestStep
        (experimental) Optional method to for HTTP request.

        Default: - GET

        Specified by:
        getMethod in interface ApiTestStep
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object