@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:46.866Z") public interface NumberAttributeProps extends NumberAttributeConstraints, 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 |
NumberAttributeProps.Builder
A builder for
NumberAttributeProps |
static class |
NumberAttributeProps.Jsii$Proxy
An implementation for
NumberAttributeProps |
Modifier and Type | Method and Description |
---|---|
static NumberAttributeProps.Builder |
builder() |
getMax, getMin
getMutable
static NumberAttributeProps.Builder builder()
builder
in interface CustomAttributeProps
builder
in interface NumberAttributeConstraints
NumberAttributeProps.Builder
of NumberAttributeProps