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.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.022Z")
@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
-