@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:46.883Z")
public interface StringAttributeConstraints
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 java.lang.Number |
getMaxLen()
Maximum length of this attribute.
|
default java.lang.Number |
getMinLen()
Minimum length of this attribute.
|
default java.lang.Number getMaxLen()
Default: 2048
default java.lang.Number getMinLen()
Default: 0
static StringAttributeConstraints.Builder builder()
StringAttributeConstraints.Builder
of StringAttributeConstraints