public static interface Target.Builder extends SdkPojo, CopyableBuilder<Target.Builder,Target>
| Modifier and Type | Method and Description |
|---|---|
Target.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the target.
|
default Target.Builder |
deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)
An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a
dead-letter queue for your schedule.
|
Target.Builder |
deadLetterConfig(DeadLetterConfig deadLetterConfig)
An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a
dead-letter queue for your schedule.
|
default Target.Builder |
ecsParameters(Consumer<EcsParameters.Builder> ecsParameters)
The templated target type for the Amazon ECS
RunTask
API operation. |
Target.Builder |
ecsParameters(EcsParameters ecsParameters)
The templated target type for the Amazon ECS
RunTask
API operation. |
default Target.Builder |
eventBridgeParameters(Consumer<EventBridgeParameters.Builder> eventBridgeParameters)
The templated target type for the EventBridge
PutEvents
API operation. |
Target.Builder |
eventBridgeParameters(EventBridgeParameters eventBridgeParameters)
The templated target type for the EventBridge
PutEvents
API operation. |
Target.Builder |
input(String input)
The text, or well-formed JSON, passed to the target.
|
default Target.Builder |
kinesisParameters(Consumer<KinesisParameters.Builder> kinesisParameters)
The templated target type for the Amazon Kinesis
PutRecord API operation. |
Target.Builder |
kinesisParameters(KinesisParameters kinesisParameters)
The templated target type for the Amazon Kinesis
PutRecord API operation. |
default Target.Builder |
retryPolicy(Consumer<RetryPolicy.Builder> retryPolicy)
A
RetryPolicy object that includes information about the retry policy settings, including the
maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event
to a target. |
Target.Builder |
retryPolicy(RetryPolicy retryPolicy)
A
RetryPolicy object that includes information about the retry policy settings, including the
maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event
to a target. |
Target.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that EventBridge Scheduler will use for this target when the
schedule is invoked.
|
default Target.Builder |
sageMakerPipelineParameters(Consumer<SageMakerPipelineParameters.Builder> sageMakerPipelineParameters)
The templated target type for the Amazon SageMaker
StartPipelineExecution API operation. |
Target.Builder |
sageMakerPipelineParameters(SageMakerPipelineParameters sageMakerPipelineParameters)
The templated target type for the Amazon SageMaker
StartPipelineExecution API operation. |
default Target.Builder |
sqsParameters(Consumer<SqsParameters.Builder> sqsParameters)
The templated target type for the Amazon SQS
SendMessage API operation. |
Target.Builder |
sqsParameters(SqsParameters sqsParameters)
The templated target type for the Amazon SQS
SendMessage API operation. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTarget.Builder arn(String arn)
The Amazon Resource Name (ARN) of the target.
arn - The Amazon Resource Name (ARN) of the target.Target.Builder deadLetterConfig(DeadLetterConfig deadLetterConfig)
An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue.
deadLetterConfig - An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a
dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that
could not be successfully delivered to a target to the queue.default Target.Builder deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)
An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue.
This is a convenience method that creates an instance of theDeadLetterConfig.Builder avoiding the
need to create one manually via DeadLetterConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to deadLetterConfig(DeadLetterConfig).
deadLetterConfig - a consumer that will call methods on DeadLetterConfig.BuilderdeadLetterConfig(DeadLetterConfig)Target.Builder ecsParameters(EcsParameters ecsParameters)
The templated target type for the Amazon ECS RunTask
API operation.
ecsParameters - The templated target type for the Amazon ECS
RunTask API operation.default Target.Builder ecsParameters(Consumer<EcsParameters.Builder> ecsParameters)
The templated target type for the Amazon ECS RunTask
API operation.
EcsParameters.Builder avoiding the need
to create one manually via EcsParameters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to ecsParameters(EcsParameters).
ecsParameters - a consumer that will call methods on EcsParameters.BuilderecsParameters(EcsParameters)Target.Builder eventBridgeParameters(EventBridgeParameters eventBridgeParameters)
The templated target type for the EventBridge PutEvents
API operation.
eventBridgeParameters - The templated target type for the EventBridge
PutEvents API operation.default Target.Builder eventBridgeParameters(Consumer<EventBridgeParameters.Builder> eventBridgeParameters)
The templated target type for the EventBridge PutEvents
API operation.
EventBridgeParameters.Builder avoiding
the need to create one manually via EventBridgeParameters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to eventBridgeParameters(EventBridgeParameters).
eventBridgeParameters - a consumer that will call methods on EventBridgeParameters.BuildereventBridgeParameters(EventBridgeParameters)Target.Builder input(String input)
The text, or well-formed JSON, passed to the target. If you are configuring a templated Lambda, AWS Step Functions, or Amazon EventBridge target, the input must be a well-formed JSON. For all other target types, a JSON is not required. If you do not specify anything for this field, EventBridge Scheduler delivers a default notification to the target.
input - The text, or well-formed JSON, passed to the target. If you are configuring a templated Lambda, AWS
Step Functions, or Amazon EventBridge target, the input must be a well-formed JSON. For all other
target types, a JSON is not required. If you do not specify anything for this field, EventBridge
Scheduler delivers a default notification to the target.Target.Builder kinesisParameters(KinesisParameters kinesisParameters)
The templated target type for the Amazon Kinesis
PutRecord API operation.
kinesisParameters - The templated target type for the Amazon Kinesis PutRecord API operation.default Target.Builder kinesisParameters(Consumer<KinesisParameters.Builder> kinesisParameters)
The templated target type for the Amazon Kinesis
PutRecord API operation.
KinesisParameters.Builder avoiding the
need to create one manually via KinesisParameters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to kinesisParameters(KinesisParameters).
kinesisParameters - a consumer that will call methods on KinesisParameters.BuilderkinesisParameters(KinesisParameters)Target.Builder retryPolicy(RetryPolicy retryPolicy)
A RetryPolicy object that includes information about the retry policy settings, including the
maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event
to a target.
retryPolicy - A RetryPolicy object that includes information about the retry policy settings, including
the maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver
the event to a target.default Target.Builder retryPolicy(Consumer<RetryPolicy.Builder> retryPolicy)
A RetryPolicy object that includes information about the retry policy settings, including the
maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event
to a target.
RetryPolicy.Builder avoiding the need to
create one manually via RetryPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to retryPolicy(RetryPolicy).
retryPolicy - a consumer that will call methods on RetryPolicy.BuilderretryPolicy(RetryPolicy)Target.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that EventBridge Scheduler will use for this target when the schedule is invoked.
roleArn - The Amazon Resource Name (ARN) of the IAM role that EventBridge Scheduler will use for this target
when the schedule is invoked.Target.Builder sageMakerPipelineParameters(SageMakerPipelineParameters sageMakerPipelineParameters)
The templated target type for the Amazon SageMaker
StartPipelineExecution API operation.
sageMakerPipelineParameters - The templated target type for the Amazon SageMaker
StartPipelineExecution API operation.default Target.Builder sageMakerPipelineParameters(Consumer<SageMakerPipelineParameters.Builder> sageMakerPipelineParameters)
The templated target type for the Amazon SageMaker
StartPipelineExecution API operation.
SageMakerPipelineParameters.Builder
avoiding the need to create one manually via SageMakerPipelineParameters.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to sageMakerPipelineParameters(SageMakerPipelineParameters).
sageMakerPipelineParameters - a consumer that will call methods on SageMakerPipelineParameters.BuildersageMakerPipelineParameters(SageMakerPipelineParameters)Target.Builder sqsParameters(SqsParameters sqsParameters)
The templated target type for the Amazon SQS
SendMessage API operation. Contains the message group ID to use when the target is a FIFO
queue. If you specify an Amazon SQS FIFO queue as a target, the queue must have content-based deduplication
enabled. For more information, see Using the Amazon SQS message deduplication ID in the Amazon SQS Developer Guide.
sqsParameters - The templated target type for the Amazon SQS
SendMessage API operation. Contains the message group ID to use when the target is a
FIFO queue. If you specify an Amazon SQS FIFO queue as a target, the queue must have content-based
deduplication enabled. For more information, see Using the Amazon SQS message deduplication ID in the Amazon SQS Developer Guide.default Target.Builder sqsParameters(Consumer<SqsParameters.Builder> sqsParameters)
The templated target type for the Amazon SQS
SendMessage API operation. Contains the message group ID to use when the target is a FIFO
queue. If you specify an Amazon SQS FIFO queue as a target, the queue must have content-based deduplication
enabled. For more information, see Using the Amazon SQS message deduplication ID in the Amazon SQS Developer Guide.
SqsParameters.Builder avoiding the need
to create one manually via SqsParameters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sqsParameters(SqsParameters).
sqsParameters - a consumer that will call methods on SqsParameters.BuildersqsParameters(SqsParameters)Copyright © 2022. All rights reserved.