Class ApiTestStep.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.cdk.ecs.codedeploy.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 forApiTestStep
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.cdk.ecs.codedeploy.ApiTestStep
ApiTestStep.Builder, ApiTestStep.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ApiTestStep.Builder builder)Constructor that initializes the object based on literal property values passed by theApiTestStep.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetBody()(experimental) Optional body to include in HTTP request.ObjectgetExpectedValue()(experimental) Expected value to compare against the jmesPath.Map<String,String>getHeaders()(experimental) Optional headers to include in HTTP request.StringgetJmesPath()(experimental) JMESPath to apply against the response from the HTTP request and compare against expected value.StringgetMethod()(experimental) Optional method to for HTTP request.StringgetName()(experimental) Name of test.StringgetPath()(experimental) Path of HTTP request, relative to baseUrl.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(ApiTestStep.Builder builder)
Constructor that initializes the object based on literal property values passed by theApiTestStep.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ApiTestStep(experimental) Name of test.- Specified by:
getNamein interfaceApiTestStep
-
getPath
public final String getPath()
Description copied from interface:ApiTestStep(experimental) Path of HTTP request, relative to baseUrl.- Specified by:
getPathin interfaceApiTestStep
-
getBody
public final String getBody()
Description copied from interface:ApiTestStep(experimental) Optional body to include in HTTP request.Default: - no body included.
- Specified by:
getBodyin interfaceApiTestStep
-
getExpectedValue
public final Object getExpectedValue()
Description copied from interface:ApiTestStep(experimental) Expected value to compare against the jmesPath.Default: - undefined
- Specified by:
getExpectedValuein interfaceApiTestStep
-
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:
getHeadersin interfaceApiTestStep
-
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:
getJmesPathin interfaceApiTestStep
-
getMethod
public final String getMethod()
Description copied from interface:ApiTestStep(experimental) Optional method to for HTTP request.Default: - GET
- Specified by:
getMethodin interfaceApiTestStep
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-