@Generated(value="software.amazon.awssdk:codegen") public class SchemaAttributeType extends Object implements StructuredPojo, ToCopyableBuilder<SchemaAttributeType.Builder,SchemaAttributeType>
Contains information about the schema attribute.
Modifier and Type | Class and Description |
---|---|
static interface |
SchemaAttributeType.Builder |
Modifier and Type | Method and Description |
---|---|
AttributeDataType |
attributeDataType()
The attribute data type.
|
String |
attributeDataTypeString()
The attribute data type.
|
static SchemaAttributeType.Builder |
builder() |
Boolean |
developerOnlyAttribute()
Specifies whether the attribute type is developer only.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Boolean |
mutable()
Specifies whether the attribute can be changed once it has been created.
|
String |
name()
A schema attribute of the name type.
|
NumberAttributeConstraintsType |
numberAttributeConstraints()
Specifies the constraints for an attribute of the number type.
|
Boolean |
required()
Specifies whether a user pool attribute is required.
|
static Class<? extends SchemaAttributeType.Builder> |
serializableBuilderClass() |
StringAttributeConstraintsType |
stringAttributeConstraints()
Specifies the constraints for an attribute of the string type.
|
SchemaAttributeType.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
A schema attribute of the name type.
public AttributeDataType attributeDataType()
The attribute data type.
If the service returns an enum value that is not available in the current SDK version, attributeDataType
will return AttributeDataType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from attributeDataTypeString()
.
AttributeDataType
public String attributeDataTypeString()
The attribute data type.
If the service returns an enum value that is not available in the current SDK version, attributeDataType
will return AttributeDataType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from attributeDataTypeString()
.
AttributeDataType
public Boolean developerOnlyAttribute()
Specifies whether the attribute type is developer only.
public Boolean mutable()
Specifies whether the attribute can be changed once it has been created.
public 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.
public NumberAttributeConstraintsType numberAttributeConstraints()
Specifies the constraints for an attribute of the number type.
public StringAttributeConstraintsType stringAttributeConstraints()
Specifies the constraints for an attribute of the string type.
public SchemaAttributeType.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SchemaAttributeType.Builder,SchemaAttributeType>
public static SchemaAttributeType.Builder builder()
public static Class<? extends SchemaAttributeType.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.