Class CfnTelemetryPipelines.TelemetryPipelineProperty.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnTelemetryPipelines.TelemetryPipelineProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTelemetryPipelines.TelemetryPipelineProperty>
- Enclosing interface:
CfnTelemetryPipelines.TelemetryPipelineProperty
@Stability(Stable)
public static final class CfnTelemetryPipelines.TelemetryPipelineProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTelemetryPipelines.TelemetryPipelineProperty>
A builder for
CfnTelemetryPipelines.TelemetryPipelineProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getArn()build()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getConfiguration()Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getConfiguration()createdTimeStamp(Number createdTimeStamp) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getCreatedTimeStamp()lastUpdateTimeStamp(Number lastUpdateTimeStamp) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getLastUpdateTimeStamp()Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getName()Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getStatus()statusReason(IResolvable statusReason) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getStatusReason()Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getStatusReason()Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the telemetry pipeline.- Returns:
this
-
configuration
@Stability(Stable) public CfnTelemetryPipelines.TelemetryPipelineProperty.Builder configuration(IResolvable configuration) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getConfiguration()- Parameters:
configuration- The configuration that defines how the telemetry pipeline processes data.- Returns:
this
-
configuration
@Stability(Stable) public CfnTelemetryPipelines.TelemetryPipelineProperty.Builder configuration(CfnTelemetryPipelines.TelemetryPipelineConfigurationProperty configuration) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getConfiguration()- Parameters:
configuration- The configuration that defines how the telemetry pipeline processes data.- Returns:
this
-
createdTimeStamp
@Stability(Stable) public CfnTelemetryPipelines.TelemetryPipelineProperty.Builder createdTimeStamp(Number createdTimeStamp) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getCreatedTimeStamp()- Parameters:
createdTimeStamp- The timestamp when the telemetry pipeline was created.- Returns:
this
-
lastUpdateTimeStamp
@Stability(Stable) public CfnTelemetryPipelines.TelemetryPipelineProperty.Builder lastUpdateTimeStamp(Number lastUpdateTimeStamp) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getLastUpdateTimeStamp()- Parameters:
lastUpdateTimeStamp- The timestamp when the telemetry pipeline was last updated.- Returns:
this
-
name
Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getName()- Parameters:
name- The name of the telemetry pipeline.- Returns:
this
-
status
@Stability(Stable) public CfnTelemetryPipelines.TelemetryPipelineProperty.Builder status(String status) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getStatus()- Parameters:
status- The current status of the telemetry pipeline.- Returns:
this
-
statusReason
@Stability(Stable) public CfnTelemetryPipelines.TelemetryPipelineProperty.Builder statusReason(IResolvable statusReason) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getStatusReason()- Parameters:
statusReason- Additional information about the pipeline status, including reasons for failure states.- Returns:
this
-
statusReason
@Stability(Stable) public CfnTelemetryPipelines.TelemetryPipelineProperty.Builder statusReason(CfnTelemetryPipelines.TelemetryPipelineStatusReasonProperty statusReason) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getStatusReason()- Parameters:
statusReason- Additional information about the pipeline status, including reasons for failure states.- Returns:
this
-
tags
@Stability(Stable) public CfnTelemetryPipelines.TelemetryPipelineProperty.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnTelemetryPipelines.TelemetryPipelineProperty.getTags()- Parameters:
tags- The key-value pairs associated with the telemetry pipeline resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTelemetryPipelines.TelemetryPipelineProperty>- Returns:
- a new instance of
CfnTelemetryPipelines.TelemetryPipelineProperty - Throws:
NullPointerException- if any required attribute was not provided
-