@Stability(value=Experimental) public static final class StringAttributeProps.Builder extends Object implements software.amazon.jsii.Builder<StringAttributeProps>
StringAttributeProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StringAttributeProps |
build()
Builds the configured instance.
|
StringAttributeProps.Builder |
maxLen(Number maxLen)
Sets the value of
StringAttributeConstraints.getMaxLen() |
StringAttributeProps.Builder |
minLen(Number minLen)
Sets the value of
StringAttributeConstraints.getMinLen() |
StringAttributeProps.Builder |
mutable(Boolean mutable)
Sets the value of
CustomAttributeProps.getMutable() |
@Stability(value=Experimental) public StringAttributeProps.Builder maxLen(Number maxLen)
StringAttributeConstraints.getMaxLen()maxLen - Maximum length of this attribute.this@Stability(value=Experimental) public StringAttributeProps.Builder minLen(Number minLen)
StringAttributeConstraints.getMinLen()minLen - Minimum length of this attribute.this@Stability(value=Experimental) public StringAttributeProps.Builder mutable(Boolean mutable)
CustomAttributeProps.getMutable()mutable - Specifies whether the value of the attribute can be changed.
For any user pool attribute that's mapped to an identity provider attribute, you must set this parameter to true.
Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider.
If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute.this@Stability(value=Experimental) public StringAttributeProps build()
build in interface software.amazon.jsii.Builder<StringAttributeProps>StringAttributePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.