Class ListEventSourceMappingsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lambda.model.LambdaRequest
-
- software.amazon.awssdk.services.lambda.model.ListEventSourceMappingsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListEventSourceMappingsRequest.Builder,ListEventSourceMappingsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListEventSourceMappingsRequest extends LambdaRequest implements ToCopyableBuilder<ListEventSourceMappingsRequest.Builder,ListEventSourceMappingsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListEventSourceMappingsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListEventSourceMappingsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventSourceArn()The Amazon Resource Name (ARN) of the event source.StringfunctionName()The name or ARN of the Lambda function.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmarker()A pagination token returned by a previous call.IntegermaxItems()The maximum number of event source mappings to return.List<SdkField<?>>sdkFields()static Class<? extends ListEventSourceMappingsRequest.Builder>serializableBuilderClass()ListEventSourceMappingsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
eventSourceArn
public final String eventSourceArn()
The Amazon Resource Name (ARN) of the event source.
-
Amazon Kinesis – The ARN of the data stream or a stream consumer.
-
Amazon DynamoDB Streams – The ARN of the stream.
-
Amazon Simple Queue Service – The ARN of the queue.
-
Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).
-
Amazon MQ – The ARN of the broker.
-
Amazon DocumentDB – The ARN of the DocumentDB change stream.
- Returns:
- The Amazon Resource Name (ARN) of the event source.
-
Amazon Kinesis – The ARN of the data stream or a stream consumer.
-
Amazon DynamoDB Streams – The ARN of the stream.
-
Amazon Simple Queue Service – The ARN of the queue.
-
Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings).
-
Amazon MQ – The ARN of the broker.
-
Amazon DocumentDB – The ARN of the DocumentDB change stream.
-
-
-
functionName
public final String functionName()
The name or ARN of the Lambda function.
Name formats
-
Function name –
MyFunction. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. -
Version or Alias ARN –
arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. -
Partial ARN –
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
- Returns:
- The name or ARN of the Lambda function.
Name formats
-
Function name –
MyFunction. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:MyFunction. -
Version or Alias ARN –
arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. -
Partial ARN –
123456789012:function:MyFunction.
The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.
-
-
-
marker
public final String marker()
A pagination token returned by a previous call.
- Returns:
- A pagination token returned by a previous call.
-
maxItems
public final Integer maxItems()
The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of 100 items in each response, even if you set the number higher.
- Returns:
- The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of 100 items in each response, even if you set the number higher.
-
toBuilder
public ListEventSourceMappingsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListEventSourceMappingsRequest.Builder,ListEventSourceMappingsRequest>- Specified by:
toBuilderin classLambdaRequest
-
builder
public static ListEventSourceMappingsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListEventSourceMappingsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-