public static interface SchemaAttributeType.Builder extends CopyableBuilder<SchemaAttributeType.Builder,SchemaAttributeType>
| Modifier and Type | Method and Description |
|---|---|
SchemaAttributeType.Builder |
attributeDataType(AttributeDataType attributeDataType)
The attribute data type.
|
SchemaAttributeType.Builder |
attributeDataType(String 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.
|
default SchemaAttributeType.Builder |
numberAttributeConstraints(Consumer<NumberAttributeConstraintsType.Builder> numberAttributeConstraints)
Specifies the constraints for an attribute of the number 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.
|
default SchemaAttributeType.Builder |
stringAttributeConstraints(Consumer<StringAttributeConstraintsType.Builder> stringAttributeConstraints)
Specifies the constraints for an attribute of the string type.
|
SchemaAttributeType.Builder |
stringAttributeConstraints(StringAttributeConstraintsType stringAttributeConstraints)
Specifies the constraints for an attribute of the string type.
|
copyapply, buildSchemaAttributeType.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,
AttributeDataTypeSchemaAttributeType.Builder attributeDataType(AttributeDataType attributeDataType)
The attribute data type.
attributeDataType - The attribute data type.AttributeDataType,
AttributeDataTypeSchemaAttributeType.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.default SchemaAttributeType.Builder numberAttributeConstraints(Consumer<NumberAttributeConstraintsType.Builder> numberAttributeConstraints)
Specifies the constraints for an attribute of the number type.
This is a convenience that creates an instance of theNumberAttributeConstraintsType.Builder avoiding
the need to create one manually via NumberAttributeConstraintsType.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to numberAttributeConstraints(NumberAttributeConstraintsType).numberAttributeConstraints - a consumer that will call methods on NumberAttributeConstraintsType.BuildernumberAttributeConstraints(NumberAttributeConstraintsType)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.default SchemaAttributeType.Builder stringAttributeConstraints(Consumer<StringAttributeConstraintsType.Builder> stringAttributeConstraints)
Specifies the constraints for an attribute of the string type.
This is a convenience that creates an instance of theStringAttributeConstraintsType.Builder avoiding
the need to create one manually via StringAttributeConstraintsType.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to stringAttributeConstraints(StringAttributeConstraintsType).stringAttributeConstraints - a consumer that will call methods on StringAttributeConstraintsType.BuilderstringAttributeConstraints(StringAttributeConstraintsType)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.