Class CfnFeaturePropsMixin.EntityOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.evidently.CfnFeaturePropsMixin.EntityOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeaturePropsMixin.EntityOverrideProperty>
- Enclosing interface:
CfnFeaturePropsMixin.EntityOverrideProperty
@Stability(Stable)
public static final class CfnFeaturePropsMixin.EntityOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeaturePropsMixin.EntityOverrideProperty>
A builder for
CfnFeaturePropsMixin.EntityOverrideProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFeaturePropsMixin.EntityOverrideProperty.getEntityId()Sets the value ofCfnFeaturePropsMixin.EntityOverrideProperty.getVariation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entityId
@Stability(Stable) public CfnFeaturePropsMixin.EntityOverrideProperty.Builder entityId(String entityId) Sets the value ofCfnFeaturePropsMixin.EntityOverrideProperty.getEntityId()- Parameters:
entityId- The entity ID to be served the variation specified inVariation.- Returns:
this
-
variation
@Stability(Stable) public CfnFeaturePropsMixin.EntityOverrideProperty.Builder variation(String variation) Sets the value ofCfnFeaturePropsMixin.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<CfnFeaturePropsMixin.EntityOverrideProperty>- Returns:
- a new instance of
CfnFeaturePropsMixin.EntityOverrideProperty - Throws:
NullPointerException- if any required attribute was not provided
-