Class StringAttributeConstraintsType
java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.StringAttributeConstraintsType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StringAttributeConstraintsType.Builder,StringAttributeConstraintsType>
@Generated("software.amazon.awssdk:codegen")
public final class StringAttributeConstraintsType
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<StringAttributeConstraintsType.Builder,StringAttributeConstraintsType>
The minimum and maximum length values of an attribute that is of the string type, for example
custom:department.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe maximum length of a string attribute value.final StringThe minimum length of a string attribute value.static Class<? extends StringAttributeConstraintsType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
minLength
The minimum length of a string attribute value.
- Returns:
- The minimum length of a string attribute value.
-
maxLength
The maximum length of a string attribute value. Must be a number less than or equal to
2^1023, represented as a string with a length of 131072 characters or fewer.- Returns:
- The maximum length of a string attribute value. Must be a number less than or equal to
2^1023, represented as a string with a length of 131072 characters or fewer.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<StringAttributeConstraintsType.Builder,StringAttributeConstraintsType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-