Class EventBridgeTargetParameters.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.targets.alpha.EventBridgeTargetParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventBridgeTargetParameters>
- Enclosing interface:
EventBridgeTargetParameters
@Stability(Experimental)
public static final class EventBridgeTargetParameters.Builder
extends Object
implements software.amazon.jsii.Builder<EventBridgeTargetParameters>
A builder for
EventBridgeTargetParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.detailType(String detailType) Sets the value ofEventBridgeTargetParameters.getDetailType()endpointId(String endpointId) Sets the value ofEventBridgeTargetParameters.getEndpointId()inputTransformation(IInputTransformation inputTransformation) Sets the value ofEventBridgeTargetParameters.getInputTransformation()Sets the value ofEventBridgeTargetParameters.getResources()Sets the value ofEventBridgeTargetParameters.getSource()Sets the value ofEventBridgeTargetParameters.getTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
detailType
Sets the value ofEventBridgeTargetParameters.getDetailType()- Parameters:
detailType- A free-form string used to decide what fields to expect in the event detail.- Returns:
this
-
endpointId
Sets the value ofEventBridgeTargetParameters.getEndpointId()- Parameters:
endpointId- The URL subdomain of the endpoint.- Returns:
this
-
inputTransformation
@Stability(Experimental) public EventBridgeTargetParameters.Builder inputTransformation(IInputTransformation inputTransformation) Sets the value ofEventBridgeTargetParameters.getInputTransformation()- Parameters:
inputTransformation- The input transformation to apply to the message before sending it to the target.- Returns:
this
-
resources
@Stability(Experimental) public EventBridgeTargetParameters.Builder resources(List<String> resources) Sets the value ofEventBridgeTargetParameters.getResources()- Parameters:
resources- AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.- Returns:
this
-
source
Sets the value ofEventBridgeTargetParameters.getSource()- Parameters:
source- The source of the event.- Returns:
this
-
time
Sets the value ofEventBridgeTargetParameters.getTime()- Parameters:
time- The time stamp of the event, per RFC3339.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EventBridgeTargetParameters>- Returns:
- a new instance of
EventBridgeTargetParameters - Throws:
NullPointerException- if any required attribute was not provided
-