CopyableBuilder<SchemaAttributeType.Builder,SchemaAttributeType>
, SdkBuilder<SchemaAttributeType.Builder,SchemaAttributeType>
public static interface SchemaAttributeType.Builder extends CopyableBuilder<SchemaAttributeType.Builder,SchemaAttributeType>
Modifier and Type | Method | Description |
---|---|---|
SchemaAttributeType.Builder |
attributeDataType(String attributeDataType) |
The attribute data type.
|
SchemaAttributeType.Builder |
attributeDataType(AttributeDataType attributeDataType) |
The attribute data type.
|
SchemaAttributeType.Builder |
developerOnlyAttribute(Boolean developerOnlyAttribute) |
Specifies whether the attribute type is developer only.
|
SchemaAttributeType.Builder |
mutable(Boolean mutable) |
Specifies whether the attribute can be changed once it has been created.
|
SchemaAttributeType.Builder |
name(String name) |
A schema attribute of the name type.
|
SchemaAttributeType.Builder |
numberAttributeConstraints(NumberAttributeConstraintsType numberAttributeConstraints) |
Specifies the constraints for an attribute of the number type.
|
SchemaAttributeType.Builder |
required(Boolean required) |
Specifies whether a user pool attribute is required.
|
SchemaAttributeType.Builder |
stringAttributeConstraints(StringAttributeConstraintsType stringAttributeConstraints) |
Specifies the constraints for an attribute of the string type.
|
copy
apply, build
SchemaAttributeType.Builder name(String name)
A schema attribute of the name type.
name
- A schema attribute of the name type.SchemaAttributeType.Builder attributeDataType(String attributeDataType)
The attribute data type.
attributeDataType
- The attribute data type.AttributeDataType
SchemaAttributeType.Builder attributeDataType(AttributeDataType attributeDataType)
The attribute data type.
attributeDataType
- The attribute data type.AttributeDataType
SchemaAttributeType.Builder developerOnlyAttribute(Boolean developerOnlyAttribute)
Specifies whether the attribute type is developer only.
developerOnlyAttribute
- Specifies whether the attribute type is developer only.SchemaAttributeType.Builder mutable(Boolean mutable)
Specifies whether the attribute can be changed once it has been created.
mutable
- Specifies whether the attribute can be changed once it has been created.SchemaAttributeType.Builder required(Boolean required)
Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail.
required
- Specifies whether a user pool attribute is required. If the attribute is required and the user does
not provide a value, registration or sign-in will fail.SchemaAttributeType.Builder numberAttributeConstraints(NumberAttributeConstraintsType numberAttributeConstraints)
Specifies the constraints for an attribute of the number type.
numberAttributeConstraints
- Specifies the constraints for an attribute of the number type.SchemaAttributeType.Builder stringAttributeConstraints(StringAttributeConstraintsType stringAttributeConstraints)
Specifies the constraints for an attribute of the string type.
stringAttributeConstraints
- Specifies the constraints for an attribute of the string type.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.