Class ExperimentRunReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.appconfig.ExperimentRunReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ExperimentRunReference>
- Enclosing interface:
ExperimentRunReference
@Stability(Stable)
public static final class ExperimentRunReference.Builder
extends Object
implements software.amazon.jsii.Builder<ExperimentRunReference>
A builder for
ExperimentRunReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofExperimentRunReference.getApplicationId()build()Builds the configured instance.experimentDefinitionId(String experimentDefinitionId) Sets the value ofExperimentRunReference.getExperimentDefinitionId()Sets the value ofExperimentRunReference.getRun()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofExperimentRunReference.getApplicationId()- Parameters:
applicationId- The ApplicationId of the ExperimentRun resource. This parameter is required.- Returns:
this
-
experimentDefinitionId
@Stability(Stable) public ExperimentRunReference.Builder experimentDefinitionId(String experimentDefinitionId) Sets the value ofExperimentRunReference.getExperimentDefinitionId()- Parameters:
experimentDefinitionId- The ExperimentDefinitionId of the ExperimentRun resource. This parameter is required.- Returns:
this
-
run
Sets the value ofExperimentRunReference.getRun()- Parameters:
run- The Run of the ExperimentRun resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ExperimentRunReference>- Returns:
- a new instance of
ExperimentRunReference - Throws:
NullPointerException- if any required attribute was not provided
-