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