Interface LambdaFunctionScheduledEventDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaFunctionScheduledEventDetails.Builder,
,LambdaFunctionScheduledEventDetails> SdkBuilder<LambdaFunctionScheduledEventDetails.Builder,
,LambdaFunctionScheduledEventDetails> SdkPojo
- Enclosing class:
LambdaFunctionScheduledEventDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe JSON data input to the Lambda function.inputDetails
(Consumer<HistoryEventExecutionDataDetails.Builder> inputDetails) Contains details about input for an execution history event.inputDetails
(HistoryEventExecutionDataDetails inputDetails) Contains details about input for an execution history event.The Amazon Resource Name (ARN) of the scheduled Lambda function.taskCredentials
(Consumer<TaskCredentials.Builder> taskCredentials) The credentials that Step Functions uses for the task.taskCredentials
(TaskCredentials taskCredentials) The credentials that Step Functions uses for the task.timeoutInSeconds
(Long timeoutInSeconds) The maximum allowed duration of the Lambda function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resource
The Amazon Resource Name (ARN) of the scheduled Lambda function.
- Parameters:
resource
- The Amazon Resource Name (ARN) of the scheduled Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
The JSON data input to the Lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
- Parameters:
input
- The JSON data input to the Lambda function. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDetails
LambdaFunctionScheduledEventDetails.Builder inputDetails(HistoryEventExecutionDataDetails inputDetails) Contains details about input for an execution history event.
- Parameters:
inputDetails
- Contains details about input for an execution history event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDetails
default LambdaFunctionScheduledEventDetails.Builder inputDetails(Consumer<HistoryEventExecutionDataDetails.Builder> inputDetails) Contains details about input for an execution history event.
This is a convenience method that creates an instance of theHistoryEventExecutionDataDetails.Builder
avoiding the need to create one manually viaHistoryEventExecutionDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDetails(HistoryEventExecutionDataDetails)
.- Parameters:
inputDetails
- a consumer that will call methods onHistoryEventExecutionDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutInSeconds
The maximum allowed duration of the Lambda function.
- Parameters:
timeoutInSeconds
- The maximum allowed duration of the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskCredentials
The credentials that Step Functions uses for the task.
- Parameters:
taskCredentials
- The credentials that Step Functions uses for the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskCredentials
default LambdaFunctionScheduledEventDetails.Builder taskCredentials(Consumer<TaskCredentials.Builder> taskCredentials) The credentials that Step Functions uses for the task.
This is a convenience method that creates an instance of theTaskCredentials.Builder
avoiding the need to create one manually viaTaskCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskCredentials(TaskCredentials)
.- Parameters:
taskCredentials
- a consumer that will call methods onTaskCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-