@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBackendAuthPasswordPolicyConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes the password policy for your Amazon Cognito user pool configured as a part of your Amplify project.
Constructor and Description |
---|
UpdateBackendAuthPasswordPolicyConfig() |
Modifier and Type | Method and Description |
---|---|
UpdateBackendAuthPasswordPolicyConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdditionalConstraints()
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part
of your Amplify project.
|
Double |
getMinimumLength()
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of
your Amplify project.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalConstraints(Collection<String> additionalConstraints)
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part
of your Amplify project.
|
void |
setMinimumLength(Double minimumLength)
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of
your Amplify project.
|
String |
toString()
Returns a string representation of this object.
|
UpdateBackendAuthPasswordPolicyConfig |
withAdditionalConstraints(AdditionalConstraintsElement... additionalConstraints)
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part
of your Amplify project.
|
UpdateBackendAuthPasswordPolicyConfig |
withAdditionalConstraints(Collection<String> additionalConstraints)
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part
of your Amplify project.
|
UpdateBackendAuthPasswordPolicyConfig |
withAdditionalConstraints(String... additionalConstraints)
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part
of your Amplify project.
|
UpdateBackendAuthPasswordPolicyConfig |
withMinimumLength(Double minimumLength)
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of
your Amplify project.
|
public UpdateBackendAuthPasswordPolicyConfig()
public List<String> getAdditionalConstraints()
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
AdditionalConstraintsElement
public void setAdditionalConstraints(Collection<String> additionalConstraints)
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
additionalConstraints
- Describes additional constraints on password requirements to sign in to the auth resource, configured as a
part of your Amplify project.AdditionalConstraintsElement
public UpdateBackendAuthPasswordPolicyConfig withAdditionalConstraints(String... additionalConstraints)
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalConstraints(java.util.Collection)
or
withAdditionalConstraints(java.util.Collection)
if you want to override the existing values.
additionalConstraints
- Describes additional constraints on password requirements to sign in to the auth resource, configured as a
part of your Amplify project.AdditionalConstraintsElement
public UpdateBackendAuthPasswordPolicyConfig withAdditionalConstraints(Collection<String> additionalConstraints)
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
additionalConstraints
- Describes additional constraints on password requirements to sign in to the auth resource, configured as a
part of your Amplify project.AdditionalConstraintsElement
public UpdateBackendAuthPasswordPolicyConfig withAdditionalConstraints(AdditionalConstraintsElement... additionalConstraints)
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
additionalConstraints
- Describes additional constraints on password requirements to sign in to the auth resource, configured as a
part of your Amplify project.AdditionalConstraintsElement
public void setMinimumLength(Double minimumLength)
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
minimumLength
- Describes the minimum length of the password required to sign in to the auth resource, configured as a
part of your Amplify project.public Double getMinimumLength()
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
public UpdateBackendAuthPasswordPolicyConfig withMinimumLength(Double minimumLength)
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
minimumLength
- Describes the minimum length of the password required to sign in to the auth resource, configured as a
part of your Amplify project.public String toString()
toString
in class Object
Object.toString()
public UpdateBackendAuthPasswordPolicyConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.