Class TargetAccountConfigurationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.fis.TargetAccountConfigurationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TargetAccountConfigurationReference>
- Enclosing interface:
TargetAccountConfigurationReference
@Stability(Stable)
public static final class TargetAccountConfigurationReference.Builder
extends Object
implements software.amazon.jsii.Builder<TargetAccountConfigurationReference>
A builder for
TargetAccountConfigurationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofTargetAccountConfigurationReference.getAccountId()build()Builds the configured instance.experimentTemplateId(String experimentTemplateId) Sets the value ofTargetAccountConfigurationReference.getExperimentTemplateId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
Sets the value ofTargetAccountConfigurationReference.getAccountId()- Parameters:
accountId- The AccountId of the TargetAccountConfiguration resource. This parameter is required.- Returns:
this
-
experimentTemplateId
@Stability(Stable) public TargetAccountConfigurationReference.Builder experimentTemplateId(String experimentTemplateId) Sets the value ofTargetAccountConfigurationReference.getExperimentTemplateId()- Parameters:
experimentTemplateId- The ExperimentTemplateId of the TargetAccountConfiguration resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TargetAccountConfigurationReference>- Returns:
- a new instance of
TargetAccountConfigurationReference - Throws:
NullPointerException- if any required attribute was not provided
-