Class CfnPipe.PipeTargetCloudWatchLogsParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetCloudWatchLogsParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.PipeTargetCloudWatchLogsParametersProperty>
- Enclosing interface:
CfnPipe.PipeTargetCloudWatchLogsParametersProperty
@Stability(Stable)
public static final class CfnPipe.PipeTargetCloudWatchLogsParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.PipeTargetCloudWatchLogsParametersProperty>
A builder for
CfnPipe.PipeTargetCloudWatchLogsParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.logStreamName
(String logStreamName) Sets the value ofCfnPipe.PipeTargetCloudWatchLogsParametersProperty.getLogStreamName()
Sets the value ofCfnPipe.PipeTargetCloudWatchLogsParametersProperty.getTimestamp()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logStreamName
@Stability(Stable) public CfnPipe.PipeTargetCloudWatchLogsParametersProperty.Builder logStreamName(String logStreamName) Sets the value ofCfnPipe.PipeTargetCloudWatchLogsParametersProperty.getLogStreamName()
- Parameters:
logStreamName
- The name of the log stream.- Returns:
this
-
timestamp
@Stability(Stable) public CfnPipe.PipeTargetCloudWatchLogsParametersProperty.Builder timestamp(String timestamp) Sets the value ofCfnPipe.PipeTargetCloudWatchLogsParametersProperty.getTimestamp()
- Parameters:
timestamp
- The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.PipeTargetCloudWatchLogsParametersProperty>
- Returns:
- a new instance of
CfnPipe.PipeTargetCloudWatchLogsParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-