@Stability(value=Experimental) public static final class StringAttributeConstraints.Builder extends Object implements software.amazon.jsii.Builder<StringAttributeConstraints>
StringAttributeConstraints| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StringAttributeConstraints |
build()
Builds the configured instance.
|
StringAttributeConstraints.Builder |
maxLen(Number maxLen)
Sets the value of
StringAttributeConstraints.getMaxLen() |
StringAttributeConstraints.Builder |
minLen(Number minLen)
Sets the value of
StringAttributeConstraints.getMinLen() |
@Stability(value=Experimental) public StringAttributeConstraints.Builder maxLen(Number maxLen)
StringAttributeConstraints.getMaxLen()maxLen - Maximum length of this attribute.this@Stability(value=Experimental) public StringAttributeConstraints.Builder minLen(Number minLen)
StringAttributeConstraints.getMinLen()minLen - Minimum length of this attribute.this@Stability(value=Experimental) public StringAttributeConstraints build()
build in interface software.amazon.jsii.Builder<StringAttributeConstraints>StringAttributeConstraintsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.