Class CfnDatasetIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnDatasetIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetIntegrationProps>
- Enclosing interface:
CfnDatasetIntegrationProps
@Stability(Stable)
public static final class CfnDatasetIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetIntegrationProps>
A builder for
CfnDatasetIntegrationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDatasetIntegrationProps.getRoleArn()Sets the value ofCfnDatasetIntegrationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
Sets the value ofCfnDatasetIntegrationProps.getRoleArn()- Parameters:
roleArn- The ARN of the IAM role that the service assumes to forward telemetry to the customer's CloudWatch dataset. This parameter is required. The role must live in the caller's account.- Returns:
this
-
tags
Sets the value ofCfnDatasetIntegrationProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetIntegrationProps>- Returns:
- a new instance of
CfnDatasetIntegrationProps - Throws:
NullPointerException- if any required attribute was not provided
-