@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipeTargetLambdaFunctionParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for using a Lambda function as a target.
| Constructor and Description | 
|---|
| PipeTargetLambdaFunctionParameters() | 
| Modifier and Type | Method and Description | 
|---|---|
| PipeTargetLambdaFunctionParameters | clone() | 
| boolean | equals(Object obj) | 
| String | getInvocationType()
 Specify whether to invoke the function synchronously or asynchronously. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setInvocationType(String invocationType)
 Specify whether to invoke the function synchronously or asynchronously. | 
| String | toString()Returns a string representation of this object. | 
| PipeTargetLambdaFunctionParameters | withInvocationType(PipeTargetInvocationType invocationType)
 Specify whether to invoke the function synchronously or asynchronously. | 
| PipeTargetLambdaFunctionParameters | withInvocationType(String invocationType)
 Specify whether to invoke the function synchronously or asynchronously. | 
public void setInvocationType(String invocationType)
Specify whether to invoke the function synchronously or asynchronously.
 REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the
 RequestResponse option in the InvocationType parameter for the Lambda Invoke API.
 
 FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in the
 InvocationType parameter for the Lambda Invoke API.
 
For more information, see Invocation types in the Amazon EventBridge User Guide.
invocationType - Specify whether to invoke the function synchronously or asynchronously.
        
        REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the
        RequestResponse option in the InvocationType parameter for the Lambda Invoke
        API.
        
        FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in
        the InvocationType parameter for the Lambda Invoke
        API.
        
For more information, see Invocation types in the Amazon EventBridge User Guide.
PipeTargetInvocationTypepublic String getInvocationType()
Specify whether to invoke the function synchronously or asynchronously.
 REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the
 RequestResponse option in the InvocationType parameter for the Lambda Invoke API.
 
 FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in the
 InvocationType parameter for the Lambda Invoke API.
 
For more information, see Invocation types in the Amazon EventBridge User Guide.
         REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the
         RequestResponse option in the InvocationType parameter for the Lambda Invoke
         API.
         
         FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option
         in the InvocationType parameter for the Lambda Invoke
         API.
         
For more information, see Invocation types in the Amazon EventBridge User Guide.
PipeTargetInvocationTypepublic PipeTargetLambdaFunctionParameters withInvocationType(String invocationType)
Specify whether to invoke the function synchronously or asynchronously.
 REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the
 RequestResponse option in the InvocationType parameter for the Lambda Invoke API.
 
 FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in the
 InvocationType parameter for the Lambda Invoke API.
 
For more information, see Invocation types in the Amazon EventBridge User Guide.
invocationType - Specify whether to invoke the function synchronously or asynchronously.
        
        REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the
        RequestResponse option in the InvocationType parameter for the Lambda Invoke
        API.
        
        FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in
        the InvocationType parameter for the Lambda Invoke
        API.
        
For more information, see Invocation types in the Amazon EventBridge User Guide.
PipeTargetInvocationTypepublic PipeTargetLambdaFunctionParameters withInvocationType(PipeTargetInvocationType invocationType)
Specify whether to invoke the function synchronously or asynchronously.
 REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the
 RequestResponse option in the InvocationType parameter for the Lambda Invoke API.
 
 FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in the
 InvocationType parameter for the Lambda Invoke API.
 
For more information, see Invocation types in the Amazon EventBridge User Guide.
invocationType - Specify whether to invoke the function synchronously or asynchronously.
        
        REQUEST_RESPONSE (default) - Invoke synchronously. This corresponds to the
        RequestResponse option in the InvocationType parameter for the Lambda Invoke
        API.
        
        FIRE_AND_FORGET - Invoke asynchronously. This corresponds to the Event option in
        the InvocationType parameter for the Lambda Invoke
        API.
        
For more information, see Invocation types in the Amazon EventBridge User Guide.
PipeTargetInvocationTypepublic String toString()
toString in class ObjectObject.toString()public PipeTargetLambdaFunctionParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.