Interface Target.Builder

    • Method Detail

      • arn

        Target.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the target.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deadLetterConfig

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ecsParameters

        Target.Builder ecsParameters​(EcsParameters ecsParameters)

        The templated target type for the Amazon ECS RunTask API operation.

        Parameters:
        ecsParameters - The templated target type for the Amazon ECS RunTask API operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventBridgeParameters

        Target.Builder eventBridgeParameters​(EventBridgeParameters eventBridgeParameters)

        The templated target type for the EventBridge PutEvents API operation.

        Parameters:
        eventBridgeParameters - The templated target type for the EventBridge PutEvents API operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • input

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kinesisParameters

        Target.Builder kinesisParameters​(KinesisParameters kinesisParameters)

        The templated target type for the Amazon Kinesis PutRecord API operation.

        Parameters:
        kinesisParameters - The templated target type for the Amazon Kinesis PutRecord API operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retryPolicy

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        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.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the IAM role that EventBridge Scheduler will use for this target when the schedule is invoked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sqsParameters

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.