@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.682Z") @Stability(value=Stable) public interface StringAttributeProps extends software.amazon.jsii.JsiiSerializable, StringAttributeConstraints, CustomAttributeProps
Example:
UserPool.Builder.create(this, "myuserpool")
// ...
.standardAttributes(StandardAttributes.builder()
.fullname(StandardAttribute.builder()
.required(true)
.mutable(false)
.build())
.address(StandardAttribute.builder()
.required(false)
.mutable(true)
.build())
.build())
.customAttributes(Map.of(
"myappid", StringAttribute.Builder.create().minLen(5).maxLen(15).mutable(false).build(),
"callingcode", NumberAttribute.Builder.create().min(1).max(3).mutable(true).build(),
"isEmployee", BooleanAttribute.Builder.create().mutable(true).build(),
"joinedOn", new DateTimeAttribute()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
StringAttributeProps.Builder
A builder for
StringAttributeProps |
static class |
StringAttributeProps.Jsii$Proxy
An implementation for
StringAttributeProps |
| Modifier and Type | Method and Description |
|---|---|
static StringAttributeProps.Builder |
builder() |
getMaxLen, getMinLengetMutable@Stability(value=Stable) static StringAttributeProps.Builder builder()
builder in interface CustomAttributePropsbuilder in interface StringAttributeConstraintsStringAttributeProps.Builder of StringAttributePropsCopyright © 2022. All rights reserved.