Class CfnDataTableAttributePropsMixin.ValidationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnDataTableAttributePropsMixin.ValidationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataTableAttributePropsMixin.ValidationProperty>
- Enclosing interface:
CfnDataTableAttributePropsMixin.ValidationProperty
@Stability(Stable)
public static final class CfnDataTableAttributePropsMixin.ValidationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataTableAttributePropsMixin.ValidationProperty>
A builder for
CfnDataTableAttributePropsMixin.ValidationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getEnumValue()enumValue(IResolvable enumValue) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getEnumValue()exclusiveMaximum(Number exclusiveMaximum) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getExclusiveMaximum()exclusiveMinimum(Number exclusiveMinimum) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getExclusiveMinimum()Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMaximum()Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMaxLength()Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMaxValues()Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMinimum()Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMinLength()Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMinValues()multipleOf(Number multipleOf) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMultipleOf()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enumValue
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder enumValue(IResolvable enumValue) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getEnumValue()- Parameters:
enumValue- Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.- Returns:
this
-
enumValue
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder enumValue(CfnDataTableAttributePropsMixin.EnumProperty enumValue) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getEnumValue()- Parameters:
enumValue- Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.- Returns:
this
-
exclusiveMaximum
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder exclusiveMaximum(Number exclusiveMaximum) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getExclusiveMaximum()- Parameters:
exclusiveMaximum- The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.- Returns:
this
-
exclusiveMinimum
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder exclusiveMinimum(Number exclusiveMinimum) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getExclusiveMinimum()- Parameters:
exclusiveMinimum- The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.- Returns:
this
-
maximum
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder maximum(Number maximum) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMaximum()- Parameters:
maximum- The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.- Returns:
this
-
maxLength
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder maxLength(Number maxLength) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMaxLength()- Parameters:
maxLength- The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.- Returns:
this
-
maxValues
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder maxValues(Number maxValues) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMaxValues()- Parameters:
maxValues- The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.- Returns:
this
-
minimum
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder minimum(Number minimum) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMinimum()- Parameters:
minimum- The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.- Returns:
this
-
minLength
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder minLength(Number minLength) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMinLength()- Parameters:
minLength- The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.- Returns:
this
-
minValues
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder minValues(Number minValues) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMinValues()- Parameters:
minValues- The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.- Returns:
this
-
multipleOf
@Stability(Stable) public CfnDataTableAttributePropsMixin.ValidationProperty.Builder multipleOf(Number multipleOf) Sets the value ofCfnDataTableAttributePropsMixin.ValidationProperty.getMultipleOf()- Parameters:
multipleOf- Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataTableAttributePropsMixin.ValidationProperty>- Returns:
- a new instance of
CfnDataTableAttributePropsMixin.ValidationProperty - Throws:
NullPointerException- if any required attribute was not provided
-