Class CfnTargetAccountConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.fis.CfnTargetAccountConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTargetAccountConfigurationProps>
- Enclosing interface:
CfnTargetAccountConfigurationProps
@Stability(Stable)
public static final class CfnTargetAccountConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTargetAccountConfigurationProps>
A builder for
CfnTargetAccountConfigurationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTargetAccountConfigurationProps.getAccountId()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnTargetAccountConfigurationProps.getDescription()
experimentTemplateId
(String experimentTemplateId) Sets the value ofCfnTargetAccountConfigurationProps.getExperimentTemplateId()
Sets the value ofCfnTargetAccountConfigurationProps.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
Sets the value ofCfnTargetAccountConfigurationProps.getAccountId()
- Parameters:
accountId
- The AWS account ID of the target account. This parameter is required.- Returns:
this
-
experimentTemplateId
@Stability(Stable) public CfnTargetAccountConfigurationProps.Builder experimentTemplateId(String experimentTemplateId) Sets the value ofCfnTargetAccountConfigurationProps.getExperimentTemplateId()
- Parameters:
experimentTemplateId
- The ID of the experiment template. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnTargetAccountConfigurationProps.getRoleArn()
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of an IAM role for the target account. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnTargetAccountConfigurationProps.Builder description(String description) Sets the value ofCfnTargetAccountConfigurationProps.getDescription()
- Parameters:
description
- The description of the target account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTargetAccountConfigurationProps>
- Returns:
- a new instance of
CfnTargetAccountConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-