Interface Target.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Target.Builder,,- Target> - SdkBuilder<Target.Builder,,- Target> - SdkPojo
- Enclosing class:
- Target
- 
Method SummaryModifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the target.default Target.BuilderdeadLetterConfig(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.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.BuilderecsParameters(Consumer<EcsParameters.Builder> ecsParameters) The templated target type for the Amazon ECSRunTaskAPI operation.ecsParameters(EcsParameters ecsParameters) The templated target type for the Amazon ECSRunTaskAPI operation.default Target.BuildereventBridgeParameters(Consumer<EventBridgeParameters.Builder> eventBridgeParameters) The templated target type for the EventBridgePutEventsAPI operation.eventBridgeParameters(EventBridgeParameters eventBridgeParameters) The templated target type for the EventBridgePutEventsAPI operation.The text, or well-formed JSON, passed to the target.default Target.BuilderkinesisParameters(Consumer<KinesisParameters.Builder> kinesisParameters) The templated target type for the Amazon KinesisPutRecordAPI operation.kinesisParameters(KinesisParameters kinesisParameters) The templated target type for the Amazon KinesisPutRecordAPI operation.default Target.BuilderretryPolicy(Consumer<RetryPolicy.Builder> retryPolicy) ARetryPolicyobject 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(RetryPolicy retryPolicy) ARetryPolicyobject 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.The Amazon Resource Name (ARN) of the IAM role that EventBridge Scheduler will use for this target when the schedule is invoked.default Target.BuildersageMakerPipelineParameters(Consumer<SageMakerPipelineParameters.Builder> sageMakerPipelineParameters) The templated target type for the Amazon SageMakerStartPipelineExecutionAPI operation.sageMakerPipelineParameters(SageMakerPipelineParameters sageMakerPipelineParameters) The templated target type for the Amazon SageMakerStartPipelineExecutionAPI operation.default Target.BuildersqsParameters(Consumer<SqsParameters.Builder> sqsParameters) The templated target type for the Amazon SQSSendMessageAPI operation.sqsParameters(SqsParameters sqsParameters) The templated target type for the Amazon SQSSendMessageAPI operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
arnThe 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.
 
- 
deadLetterConfigAn 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.
 
- 
deadLetterConfigAn 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.Builderavoiding the need to create one manually viaDeadLetterConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeadLetterConfig(DeadLetterConfig).- Parameters:
- deadLetterConfig- a consumer that will call methods on- DeadLetterConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ecsParameters
- 
ecsParametersThe templated target type for the Amazon ECS This is a convenience method that creates an instance of theRunTaskAPI operation.EcsParameters.Builderavoiding the need to create one manually viaEcsParameters.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecsParameters(EcsParameters).- Parameters:
- ecsParameters- a consumer that will call methods on- EcsParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eventBridgeParameters
- 
eventBridgeParametersdefault Target.Builder eventBridgeParameters(Consumer<EventBridgeParameters.Builder> eventBridgeParameters) The templated target type for the EventBridge This is a convenience method that creates an instance of thePutEventsAPI operation.EventBridgeParameters.Builderavoiding the need to create one manually viaEventBridgeParameters.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventBridgeParameters(EventBridgeParameters).- Parameters:
- eventBridgeParameters- a consumer that will call methods on- EventBridgeParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
inputThe 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
- 
kinesisParametersThe templated target type for the Amazon Kinesis This is a convenience method that creates an instance of thePutRecordAPI operation.KinesisParameters.Builderavoiding the need to create one manually viaKinesisParameters.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokinesisParameters(KinesisParameters).- Parameters:
- kinesisParameters- a consumer that will call methods on- KinesisParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
retryPolicyA RetryPolicyobject 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- RetryPolicyobject 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.
 
- 
retryPolicyA This is a convenience method that creates an instance of theRetryPolicyobject 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.Builderavoiding the need to create one manually viaRetryPolicy.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretryPolicy(RetryPolicy).- Parameters:
- retryPolicy- a consumer that will call methods on- RetryPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
roleArnThe 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.
 
- 
sageMakerPipelineParametersThe templated target type for the Amazon SageMaker StartPipelineExecutionAPI operation.- Parameters:
- sageMakerPipelineParameters- The templated target type for the Amazon SageMaker- StartPipelineExecutionAPI operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sageMakerPipelineParametersdefault Target.Builder sageMakerPipelineParameters(Consumer<SageMakerPipelineParameters.Builder> sageMakerPipelineParameters) The templated target type for the Amazon SageMaker This is a convenience method that creates an instance of theStartPipelineExecutionAPI operation.SageMakerPipelineParameters.Builderavoiding the need to create one manually viaSageMakerPipelineParameters.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosageMakerPipelineParameters(SageMakerPipelineParameters).- Parameters:
- sageMakerPipelineParameters- a consumer that will call methods on- SageMakerPipelineParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sqsParametersThe templated target type for the Amazon SQS SendMessageAPI 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- SendMessageAPI 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.
 
- 
sqsParametersThe templated target type for the Amazon SQS This is a convenience method that creates an instance of theSendMessageAPI 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.Builderavoiding the need to create one manually viaSqsParameters.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosqsParameters(SqsParameters).- Parameters:
- sqsParameters- a consumer that will call methods on- SqsParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-