Class CfnFeature.EntityOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.services.evidently.CfnFeature.EntityOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeature.EntityOverrideProperty>
- Enclosing interface:
CfnFeature.EntityOverrideProperty
@Stability(Stable)
public static final class CfnFeature.EntityOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeature.EntityOverrideProperty>
A builder for
CfnFeature.EntityOverrideProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFeature.EntityOverrideProperty.getEntityId()Sets the value ofCfnFeature.EntityOverrideProperty.getVariation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entityId
Sets the value ofCfnFeature.EntityOverrideProperty.getEntityId()- Parameters:
entityId- The entity ID to be served the variation specified inVariation.- Returns:
this
-
variation
Sets the value ofCfnFeature.EntityOverrideProperty.getVariation()- Parameters:
variation- The name of the variation to serve to the user session that matches theEntityId.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeature.EntityOverrideProperty>- Returns:
- a new instance of
CfnFeature.EntityOverrideProperty - Throws:
NullPointerException- if any required attribute was not provided
-