Interface NumberAttributeConstraints
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
NumberAttributeProps
- All Known Implementing Classes:
NumberAttributeConstraints.Jsii$Proxy
,NumberAttributeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-11T23:26:30.898Z")
@Stability(Stable)
public interface NumberAttributeConstraints
extends software.amazon.jsii.JsiiSerializable
Constraints that can be applied to a custom attribute of number type.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cognito.*; NumberAttributeConstraints numberAttributeConstraints = NumberAttributeConstraints.builder() .max(123) .min(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forNumberAttributeConstraints
static final class
An implementation forNumberAttributeConstraints
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMax
Maximum value of this attribute.Default: - no maximum value
-
getMin
Minimum value of this attribute.Default: - no minimum value
-
builder
- Returns:
- a
NumberAttributeConstraints.Builder
ofNumberAttributeConstraints
-