@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:44.618Z") @Stability(value=Stable) public interface StringAttributeConstraints extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
StringAttributeConstraints.Builder
A builder for
StringAttributeConstraints |
static class |
StringAttributeConstraints.Jsii$Proxy
An implementation for
StringAttributeConstraints |
| Modifier and Type | Method and Description |
|---|---|
static StringAttributeConstraints.Builder |
builder() |
default Number |
getMaxLen()
Maximum length of this attribute.
|
default Number |
getMinLen()
Minimum length of this attribute.
|
@Stability(value=Stable) @Nullable default Number getMaxLen()
Default: 2048
@Stability(value=Stable) @Nullable default Number getMinLen()
Default: 0
@Stability(value=Stable) static StringAttributeConstraints.Builder builder()
StringAttributeConstraints.Builder of StringAttributeConstraintsCopyright © 2022. All rights reserved.