Interface StringAttributeConstraints
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
StringAttributeProps
- All Known Implementing Classes:
StringAttributeConstraints.Jsii$Proxy
,StringAttributeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:55.160Z")
@Stability(Stable)
public interface StringAttributeConstraints
extends software.amazon.jsii.JsiiSerializable
Constraints that can be applied to a custom attribute of string 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.*; StringAttributeConstraints stringAttributeConstraints = StringAttributeConstraints.builder() .maxLen(123) .minLen(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forStringAttributeConstraints
static final class
An implementation forStringAttributeConstraints
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxLen
Maximum length of this attribute.Default: 2048
-
getMinLen
Minimum length of this attribute.Default: 0
-
builder
- Returns:
- a
StringAttributeConstraints.Builder
ofStringAttributeConstraints
-