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.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.060Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStringAttributeConstraintsstatic final classAn 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.BuilderofStringAttributeConstraints
-