@Generated(value="software.amazon.awssdk:codegen") public final class LambdaFunctionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaFunctionConfiguration.Builder,LambdaFunctionConfiguration>
A container for specifying the configuration for AWS Lambda notifications.
Modifier and Type | Class and Description |
---|---|
static interface |
LambdaFunctionConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static LambdaFunctionConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<Event> |
events()
The Amazon S3 bucket event for which to invoke the AWS Lambda function.
|
List<String> |
eventsAsStrings()
The Amazon S3 bucket event for which to invoke the AWS Lambda function.
|
NotificationConfigurationFilter |
filter()
Returns the value of the Filter property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEvents()
Returns true if the Events property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
String |
id()
Returns the value of the Id property for this object.
|
String |
lambdaFunctionArn()
The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 invokes when the specified event type
occurs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LambdaFunctionConfiguration.Builder> |
serializableBuilderClass() |
LambdaFunctionConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String id()
public final String lambdaFunctionArn()
The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 invokes when the specified event type occurs.
public final List<Event> events()
The Amazon S3 bucket event for which to invoke the AWS Lambda function. For more information, see Supported Event Types in the Amazon Simple Storage Service Developer Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEvents()
to see if a value was sent in this field.
public final boolean hasEvents()
public final List<String> eventsAsStrings()
The Amazon S3 bucket event for which to invoke the AWS Lambda function. For more information, see Supported Event Types in the Amazon Simple Storage Service Developer Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEvents()
to see if a value was sent in this field.
public final NotificationConfigurationFilter filter()
public LambdaFunctionConfiguration.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<LambdaFunctionConfiguration.Builder,LambdaFunctionConfiguration>
public static LambdaFunctionConfiguration.Builder builder()
public static Class<? extends LambdaFunctionConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.