@Generated(value="software.amazon.awssdk:codegen") public class LambdaFunctionAssociation extends Object implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<LambdaFunctionAssociation.Builder,LambdaFunctionAssociation>
A complex type that contains a Lambda function association.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LambdaFunctionAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LambdaFunctionAssociation.Builder |
builder() |
boolean |
equals(Object obj) |
EventType |
eventType()
Specifies the event type that triggers a Lambda function invocation.
|
String |
eventTypeString()
Specifies the event type that triggers a Lambda function invocation.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lambdaFunctionARN()
The ARN of the Lambda function.
|
static Class<? extends LambdaFunctionAssociation.Builder> |
serializableBuilderClass() |
LambdaFunctionAssociation.Builder |
toBuilder() |
String |
toString() |
public String lambdaFunctionARN()
The ARN of the Lambda function.
public EventType eventType()
Specifies the event type that triggers a Lambda function invocation. Valid values are:
viewer-request
origin-request
viewer-response
origin-response
If the service returns an enum value that is not available in the current SDK version, eventType will
return EventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventTypeString().
viewer-request
origin-request
viewer-response
origin-response
EventTypepublic String eventTypeString()
Specifies the event type that triggers a Lambda function invocation. Valid values are:
viewer-request
origin-request
viewer-response
origin-response
If the service returns an enum value that is not available in the current SDK version, eventType will
return EventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventTypeString().
viewer-request
origin-request
viewer-response
origin-response
EventTypepublic LambdaFunctionAssociation.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<LambdaFunctionAssociation.Builder,LambdaFunctionAssociation>public static LambdaFunctionAssociation.Builder builder()
public static Class<? extends LambdaFunctionAssociation.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.