Class CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty>
- Enclosing interface:
CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logStreamName(String logStreamName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logStreamName
@Stability(Stable) public CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty.Builder logStreamName(String logStreamName) - Parameters:
logStreamName- The name of the log stream.- Returns:
this
-
timestamp
@Stability(Stable) public CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty.Builder timestamp(String timestamp) - Parameters:
timestamp- A dynamic path parameter to a field in the payload containing the time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The value cannot be a static timestamp as the provided timestamp would be applied to all events delivered by the Pipe, regardless of when they are actually delivered.If no dynamic path parameter is provided, the default value is the time the invocation is processed by the Pipe.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty>- Returns:
- a new instance of
CfnPipePropsMixin.PipeTargetCloudWatchLogsParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-