return userPoolTypeBuilder.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> * 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 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()); } }