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