@Stability(value=Experimental) public static final class StringAttribute.Builder extends Object implements software.amazon.jsii.Builder<StringAttribute>
StringAttribute.| Modifier and Type | Method and Description |
|---|---|
StringAttribute |
build() |
static StringAttribute.Builder |
create() |
StringAttribute.Builder |
maxLen(Number maxLen)
(experimental) Maximum length of this attribute.
|
StringAttribute.Builder |
minLen(Number minLen)
(experimental) Minimum length of this attribute.
|
StringAttribute.Builder |
mutable(Boolean mutable)
(experimental) Specifies whether the value of the attribute can be changed.
|
@Stability(value=Experimental) public static StringAttribute.Builder create()
StringAttribute.Builder.@Stability(value=Experimental) public StringAttribute.Builder maxLen(Number maxLen)
Default: 2048
maxLen - Maximum length of this attribute. This parameter is required.this@Stability(value=Experimental) public StringAttribute.Builder minLen(Number minLen)
Default: 0
minLen - Minimum length of this attribute. This parameter is required.this@Stability(value=Experimental) public StringAttribute.Builder mutable(Boolean mutable)
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.
Default: false
mutable - Specifies whether the value of the attribute can be changed. This parameter is required.this@Stability(value=Experimental) public StringAttribute build()
build in interface software.amazon.jsii.Builder<StringAttribute>Copyright © 2021. All rights reserved.