Cloneable
, ReadLimitInfo
, ToCopyableBuilder<TestInvokeMethodRequest.Builder,TestInvokeMethodRequest>
@Generated("software.amazon.awssdk:codegen") public class TestInvokeMethodRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<TestInvokeMethodRequest.Builder,TestInvokeMethodRequest>
Make a request to simulate the execution of a Method.
Modifier and Type | Class | Description |
---|---|---|
static interface |
TestInvokeMethodRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
body() |
The simulated request body of an incoming invocation request.
|
static TestInvokeMethodRequest.Builder |
builder() |
|
String |
clientCertificateId() |
A ClientCertificate identifier to use in the test invocation.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Map<String,String> |
headers() |
A key-value map of headers to simulate an incoming invocation request.
|
String |
httpMethod() |
Specifies a test invoke method request's HTTP method.
|
String |
pathWithQueryString() |
The URI path, including query string, of the simulated invocation request.
|
String |
resourceId() |
Specifies a test invoke method request's resource ID.
|
String |
restApiId() |
Specifies a test invoke method request's API identifier.
|
static Class<? extends TestInvokeMethodRequest.Builder> |
serializableBuilderClass() |
|
Map<String,String> |
stageVariables() |
A key-value map of stage variables to simulate an invocation on a deployed Stage.
|
TestInvokeMethodRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String restApiId()
Specifies a test invoke method request's API identifier.
public String resourceId()
Specifies a test invoke method request's resource ID.
public String httpMethod()
Specifies a test invoke method request's HTTP method.
public String pathWithQueryString()
The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
public String body()
The simulated request body of an incoming invocation request.
public Map<String,String> headers()
A key-value map of headers to simulate an incoming invocation request.
public String clientCertificateId()
A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.
public Map<String,String> stageVariables()
A key-value map of stage variables to simulate an invocation on a deployed Stage.
public TestInvokeMethodRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TestInvokeMethodRequest.Builder,TestInvokeMethodRequest>
public static TestInvokeMethodRequest.Builder builder()
public static Class<? extends TestInvokeMethodRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.