if (context.testExpression("Id", targetDepth)) { context.nextToken(); userPoolTypeBuilder.id(context.getUnmarshaller(String.class).unmarshall(context)); userPoolTypeBuilder.name(context.getUnmarshaller(String.class).unmarshall(context)); userPoolTypeBuilder.policies(UserPoolPolicyTypeUnmarshaller.getInstance().unmarshall(context)); userPoolTypeBuilder.lambdaConfig(LambdaConfigTypeUnmarshaller.getInstance().unmarshall(context)); userPoolTypeBuilder.status(context.getUnmarshaller(String.class).unmarshall(context)); userPoolTypeBuilder.lastModifiedDate(context.getUnmarshaller(java.time.Instant.class).unmarshall(context)); userPoolTypeBuilder.creationDate(context.getUnmarshaller(java.time.Instant.class).unmarshall(context)); userPoolTypeBuilder.schemaAttributes(new ListUnmarshaller<SchemaAttributeType>( SchemaAttributeTypeUnmarshaller.getInstance()).unmarshall(context)); userPoolTypeBuilder.autoVerifiedAttributesWithStrings(new ListUnmarshaller<String>(context .getUnmarshaller(String.class)).unmarshall(context)); userPoolTypeBuilder.aliasAttributesWithStrings(new ListUnmarshaller<String>(context .getUnmarshaller(String.class)).unmarshall(context)); userPoolTypeBuilder.usernameAttributesWithStrings(new ListUnmarshaller<String>(context .getUnmarshaller(String.class)).unmarshall(context)); userPoolTypeBuilder.smsVerificationMessage(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The template for verification messages. * </p> * This is a convenience that creates an instance of the {@link VerificationMessageTemplateType.Builder} * avoiding the need to create one manually via {@link VerificationMessageTemplateType#builder()}. * * When the {@link Consumer} completes, {@link VerificationMessageTemplateType.Builder#build()} is called * immediately and its result is passed to {@link #verificationMessageTemplate(VerificationMessageTemplateType)} * . * * @param verificationMessageTemplate * a consumer that will call methods on {@link VerificationMessageTemplateType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #verificationMessageTemplate(VerificationMessageTemplateType) */ default Builder verificationMessageTemplate(Consumer<VerificationMessageTemplateType.Builder> verificationMessageTemplate) { return verificationMessageTemplate(VerificationMessageTemplateType.builder() .applyMutation(verificationMessageTemplate).build()); }
/** * <p> * The template for verification messages. * </p> * This is a convenience that creates an instance of the {@link VerificationMessageTemplateType.Builder} * avoiding the need to create one manually via {@link VerificationMessageTemplateType#builder()}. * * When the {@link Consumer} completes, {@link VerificationMessageTemplateType.Builder#build()} is called * immediately and its result is passed to {@link #verificationMessageTemplate(VerificationMessageTemplateType)} * . * * @param verificationMessageTemplate * a consumer that will call methods on {@link VerificationMessageTemplateType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #verificationMessageTemplate(VerificationMessageTemplateType) */ default Builder verificationMessageTemplate(Consumer<VerificationMessageTemplateType.Builder> verificationMessageTemplate) { return verificationMessageTemplate(VerificationMessageTemplateType.builder() .applyMutation(verificationMessageTemplate).build()); }
/** * <p> * A container for the user pool details. * </p> * This is a convenience that creates an instance of the {@link UserPoolType.Builder} avoiding the need to * create one manually via {@link UserPoolType#builder()}. * * When the {@link Consumer} completes, {@link UserPoolType.Builder#build()} is called immediately and its * result is passed to {@link #userPool(UserPoolType)}. * * @param userPool * a consumer that will call methods on {@link UserPoolType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #userPool(UserPoolType) */ default Builder userPool(Consumer<UserPoolType.Builder> userPool) { return userPool(UserPoolType.builder().applyMutation(userPool).build()); } }
/** * <p> * A container for the policies associated with a user pool. * </p> * This is a convenience that creates an instance of the {@link UserPoolPolicyType.Builder} avoiding the need to * create one manually via {@link UserPoolPolicyType#builder()}. * * When the {@link Consumer} completes, {@link UserPoolPolicyType.Builder#build()} is called immediately and its * result is passed to {@link #policies(UserPoolPolicyType)}. * * @param policies * a consumer that will call methods on {@link UserPoolPolicyType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #policies(UserPoolPolicyType) */ default Builder policies(Consumer<UserPoolPolicyType.Builder> policies) { return policies(UserPoolPolicyType.builder().applyMutation(policies).build()); }
/** * <p> * The SMS configuration. * </p> * This is a convenience that creates an instance of the {@link SmsConfigurationType.Builder} avoiding the need * to create one manually via {@link SmsConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link SmsConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #smsConfiguration(SmsConfigurationType)}. * * @param smsConfiguration * a consumer that will call methods on {@link SmsConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #smsConfiguration(SmsConfigurationType) */ default Builder smsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration) { return smsConfiguration(SmsConfigurationType.builder().applyMutation(smsConfiguration).build()); }
/** * <p> * The email configuration. * </p> * This is a convenience that creates an instance of the {@link EmailConfigurationType.Builder} avoiding the * need to create one manually via {@link EmailConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link EmailConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #emailConfiguration(EmailConfigurationType)}. * * @param emailConfiguration * a consumer that will call methods on {@link EmailConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #emailConfiguration(EmailConfigurationType) */ default Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration) { return emailConfiguration(EmailConfigurationType.builder().applyMutation(emailConfiguration).build()); }
/** * <p> * The container of metadata returned by the server to describe the pool. * </p> * This is a convenience that creates an instance of the {@link UserPoolType.Builder} avoiding the need to * create one manually via {@link UserPoolType#builder()}. * * When the {@link Consumer} completes, {@link UserPoolType.Builder#build()} is called immediately and its * result is passed to {@link #userPool(UserPoolType)}. * * @param userPool * a consumer that will call methods on {@link UserPoolType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #userPool(UserPoolType) */ default Builder userPool(Consumer<UserPoolType.Builder> userPool) { return userPool(UserPoolType.builder().applyMutation(userPool).build()); } }
/** * <p> * A container for the user pool details. * </p> * This is a convenience that creates an instance of the {@link UserPoolType.Builder} avoiding the need to * create one manually via {@link UserPoolType#builder()}. * * When the {@link Consumer} completes, {@link UserPoolType.Builder#build()} is called immediately and its * result is passed to {@link #userPool(UserPoolType)}. * * @param userPool * a consumer that will call methods on {@link UserPoolType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #userPool(UserPoolType) */ default Builder userPool(Consumer<UserPoolType.Builder> userPool) { return userPool(UserPoolType.builder().applyMutation(userPool).build()); } }
/** * <p> * The device configuration. * </p> * This is a convenience that creates an instance of the {@link DeviceConfigurationType.Builder} avoiding the * need to create one manually via {@link DeviceConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link DeviceConfigurationType.Builder#build()} is called immediately * and its result is passed to {@link #deviceConfiguration(DeviceConfigurationType)}. * * @param deviceConfiguration * a consumer that will call methods on {@link DeviceConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #deviceConfiguration(DeviceConfigurationType) */ default Builder deviceConfiguration(Consumer<DeviceConfigurationType.Builder> deviceConfiguration) { return deviceConfiguration(DeviceConfigurationType.builder().applyMutation(deviceConfiguration).build()); }
/** * <p> * The configuration for <code>AdminCreateUser</code> requests. * </p> * This is a convenience that creates an instance of the {@link AdminCreateUserConfigType.Builder} avoiding the * need to create one manually via {@link AdminCreateUserConfigType#builder()}. * * When the {@link Consumer} completes, {@link AdminCreateUserConfigType.Builder#build()} is called immediately * and its result is passed to {@link #adminCreateUserConfig(AdminCreateUserConfigType)}. * * @param adminCreateUserConfig * a consumer that will call methods on {@link AdminCreateUserConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #adminCreateUserConfig(AdminCreateUserConfigType) */ default Builder adminCreateUserConfig(Consumer<AdminCreateUserConfigType.Builder> adminCreateUserConfig) { return adminCreateUserConfig(AdminCreateUserConfigType.builder().applyMutation(adminCreateUserConfig).build()); }
/** * <p> * The configuration for <code>AdminCreateUser</code> requests. * </p> * This is a convenience that creates an instance of the {@link AdminCreateUserConfigType.Builder} avoiding the * need to create one manually via {@link AdminCreateUserConfigType#builder()}. * * When the {@link Consumer} completes, {@link AdminCreateUserConfigType.Builder#build()} is called immediately * and its result is passed to {@link #adminCreateUserConfig(AdminCreateUserConfigType)}. * * @param adminCreateUserConfig * a consumer that will call methods on {@link AdminCreateUserConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #adminCreateUserConfig(AdminCreateUserConfigType) */ default Builder adminCreateUserConfig(Consumer<AdminCreateUserConfigType.Builder> adminCreateUserConfig) { return adminCreateUserConfig(AdminCreateUserConfigType.builder().applyMutation(adminCreateUserConfig).build()); } }
/** * <p> * The device configuration. * </p> * This is a convenience that creates an instance of the {@link DeviceConfigurationType.Builder} avoiding the * need to create one manually via {@link DeviceConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link DeviceConfigurationType.Builder#build()} is called immediately * and its result is passed to {@link #deviceConfiguration(DeviceConfigurationType)}. * * @param deviceConfiguration * a consumer that will call methods on {@link DeviceConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #deviceConfiguration(DeviceConfigurationType) */ default Builder deviceConfiguration(Consumer<DeviceConfigurationType.Builder> deviceConfiguration) { return deviceConfiguration(DeviceConfigurationType.builder().applyMutation(deviceConfiguration).build()); }
/** * <p> * The AWS Lambda triggers associated with the user pool. * </p> * This is a convenience that creates an instance of the {@link LambdaConfigType.Builder} avoiding the need to * create one manually via {@link LambdaConfigType#builder()}. * * When the {@link Consumer} completes, {@link LambdaConfigType.Builder#build()} is called immediately and its * result is passed to {@link #lambdaConfig(LambdaConfigType)}. * * @param lambdaConfig * a consumer that will call methods on {@link LambdaConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #lambdaConfig(LambdaConfigType) */ default Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig) { return lambdaConfig(LambdaConfigType.builder().applyMutation(lambdaConfig).build()); }
/** * <p> * The SMS configuration. * </p> * This is a convenience that creates an instance of the {@link SmsConfigurationType.Builder} avoiding the need * to create one manually via {@link SmsConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link SmsConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #smsConfiguration(SmsConfigurationType)}. * * @param smsConfiguration * a consumer that will call methods on {@link SmsConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #smsConfiguration(SmsConfigurationType) */ default Builder smsConfiguration(Consumer<SmsConfigurationType.Builder> smsConfiguration) { return smsConfiguration(SmsConfigurationType.builder().applyMutation(smsConfiguration).build()); }
/** * <p> * The policies associated with the user pool. * </p> * This is a convenience that creates an instance of the {@link UserPoolPolicyType.Builder} avoiding the need to * create one manually via {@link UserPoolPolicyType#builder()}. * * When the {@link Consumer} completes, {@link UserPoolPolicyType.Builder#build()} is called immediately and its * result is passed to {@link #policies(UserPoolPolicyType)}. * * @param policies * a consumer that will call methods on {@link UserPoolPolicyType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #policies(UserPoolPolicyType) */ default Builder policies(Consumer<UserPoolPolicyType.Builder> policies) { return policies(UserPoolPolicyType.builder().applyMutation(policies).build()); }
/** * <p> * A container for the AWS Lambda triggers associated with a user pool. * </p> * This is a convenience that creates an instance of the {@link LambdaConfigType.Builder} avoiding the need to * create one manually via {@link LambdaConfigType#builder()}. * * When the {@link Consumer} completes, {@link LambdaConfigType.Builder#build()} is called immediately and its * result is passed to {@link #lambdaConfig(LambdaConfigType)}. * * @param lambdaConfig * a consumer that will call methods on {@link LambdaConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #lambdaConfig(LambdaConfigType) */ default Builder lambdaConfig(Consumer<LambdaConfigType.Builder> lambdaConfig) { return lambdaConfig(LambdaConfigType.builder().applyMutation(lambdaConfig).build()); }
/** * <p> * The container of metadata returned by the server to describe the pool. * </p> * This is a convenience that creates an instance of the {@link UserPoolType.Builder} avoiding the need to * create one manually via {@link UserPoolType#builder()}. * * When the {@link Consumer} completes, {@link UserPoolType.Builder#build()} is called immediately and its * result is passed to {@link #userPool(UserPoolType)}. * * @param userPool * a consumer that will call methods on {@link UserPoolType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #userPool(UserPoolType) */ default Builder userPool(Consumer<UserPoolType.Builder> userPool) { return userPool(UserPoolType.builder().applyMutation(userPool).build()); } }
/** * <p> * The email configuration. * </p> * This is a convenience that creates an instance of the {@link EmailConfigurationType.Builder} avoiding the * need to create one manually via {@link EmailConfigurationType#builder()}. * * When the {@link Consumer} completes, {@link EmailConfigurationType.Builder#build()} is called immediately and * its result is passed to {@link #emailConfiguration(EmailConfigurationType)}. * * @param emailConfiguration * a consumer that will call methods on {@link EmailConfigurationType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #emailConfiguration(EmailConfigurationType) */ default Builder emailConfiguration(Consumer<EmailConfigurationType.Builder> emailConfiguration) { return emailConfiguration(EmailConfigurationType.builder().applyMutation(emailConfiguration).build()); }