Class CfnPipe.PipeTargetEventBridgeEventBusParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetEventBridgeEventBusParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.PipeTargetEventBridgeEventBusParametersProperty>
- Enclosing interface:
- CfnPipe.PipeTargetEventBridgeEventBusParametersProperty
@Stability(Stable)
public static final class CfnPipe.PipeTargetEventBridgeEventBusParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.PipeTargetEventBridgeEventBusParametersProperty>
A builder for
CfnPipe.PipeTargetEventBridgeEventBusParametersProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.detailType
(String detailType) Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getDetailType()
endpointId
(String endpointId) Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getEndpointId()
Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getResources()
Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getSource()
Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
detailType
@Stability(Stable) public CfnPipe.PipeTargetEventBridgeEventBusParametersProperty.Builder detailType(String detailType) Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getDetailType()
- Parameters:
detailType
- A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.- Returns:
this
-
endpointId
@Stability(Stable) public CfnPipe.PipeTargetEventBridgeEventBusParametersProperty.Builder endpointId(String endpointId) Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getEndpointId()
- Parameters:
endpointId
- The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId isabcde.veo
.- Returns:
this
-
resources
@Stability(Stable) public CfnPipe.PipeTargetEventBridgeEventBusParametersProperty.Builder resources(List<String> resources) Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getResources()
- Parameters:
resources
- AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.- Returns:
this
-
source
@Stability(Stable) public CfnPipe.PipeTargetEventBridgeEventBusParametersProperty.Builder source(String source) Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getSource()
- Parameters:
source
- The source of the event.- Returns:
this
-
time
@Stability(Stable) public CfnPipe.PipeTargetEventBridgeEventBusParametersProperty.Builder time(String time) Sets the value ofCfnPipe.PipeTargetEventBridgeEventBusParametersProperty.getTime()
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.PipeTargetEventBridgeEventBusParametersProperty>
- Returns:
- a new instance of
CfnPipe.PipeTargetEventBridgeEventBusParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-