@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvokeAsyncRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
InvokeAsyncRequest() |
Modifier and Type | Method and Description |
---|---|
InvokeAsyncRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFunctionName()
The name or ARN of the Lambda function.
|
InputStream |
getInvokeArgs()
The JSON that you want to provide to your Lambda function as input.
|
int |
hashCode() |
void |
setFunctionName(String functionName)
The name or ARN of the Lambda function.
|
void |
setInvokeArgs(InputStream invokeArgs)
The JSON that you want to provide to your Lambda function as input.
|
void |
setInvokeArgs(String invokeArgs)
The JSON that you want to provide to your Lambda function as input.
|
String |
toString()
Returns a string representation of this object.
|
InvokeAsyncRequest |
withFunctionName(String functionName)
The name or ARN of the Lambda function.
|
InvokeAsyncRequest |
withInvokeArgs(InputStream invokeArgs)
The JSON that you want to provide to your Lambda function as input.
|
InvokeAsyncRequest |
withInvokeArgs(String invokeArgs)
The JSON that you want to provide to your Lambda function as input.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFunctionName(String functionName)
The name or ARN of the Lambda function.
Name formats
Function name – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name or ARN of the Lambda function.
Name formats
Function name – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public String getFunctionName()
The name or ARN of the Lambda function.
Name formats
Function name – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Name formats
Function name – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public InvokeAsyncRequest withFunctionName(String functionName)
The name or ARN of the Lambda function.
Name formats
Function name – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name or ARN of the Lambda function.
Name formats
Function name – my-function
.
Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN – 123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public void setInvokeArgs(InputStream invokeArgs)
The JSON that you want to provide to your Lambda function as input.
invokeArgs
- The JSON that you want to provide to your Lambda function as input.public InputStream getInvokeArgs()
The JSON that you want to provide to your Lambda function as input.
public InvokeAsyncRequest withInvokeArgs(InputStream invokeArgs)
The JSON that you want to provide to your Lambda function as input.
invokeArgs
- The JSON that you want to provide to your Lambda function as input.public void setInvokeArgs(String invokeArgs)
The JSON that you want to provide to your Lambda function as input.
invokeArgs
- The JSON that you want to provide to your Lambda function as input.public InvokeAsyncRequest withInvokeArgs(String invokeArgs)
The JSON that you want to provide to your Lambda function as input.
invokeArgs
- The JSON that you want to provide to your Lambda function as input.public String toString()
toString
in class Object
Object.toString()
public InvokeAsyncRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()