@Override @SafeVarargs public final Builder userPools(Consumer<UserPoolDescriptionType.Builder>... userPools) { userPools(Stream.of(userPools).map(c -> UserPoolDescriptionType.builder().applyMutation(c).build()) .collect(Collectors.toList())); return this; }
if (context.testExpression("Id", targetDepth)) { context.nextToken(); userPoolDescriptionTypeBuilder.id(context.getUnmarshaller(String.class).unmarshall(context)); userPoolDescriptionTypeBuilder.name(context.getUnmarshaller(String.class).unmarshall(context)); userPoolDescriptionTypeBuilder.lambdaConfig(LambdaConfigTypeUnmarshaller.getInstance().unmarshall(context)); userPoolDescriptionTypeBuilder.status(context.getUnmarshaller(String.class).unmarshall(context)); userPoolDescriptionTypeBuilder.lastModifiedDate(context.getUnmarshaller(java.time.Instant.class).unmarshall( context)); userPoolDescriptionTypeBuilder.creationDate(context.getUnmarshaller(java.time.Instant.class).unmarshall( context)); return userPoolDescriptionTypeBuilder.build();
/** * <p> * The AWS Lambda configuration information in a user pool description. * </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 AWS Lambda configuration information in a user pool description. * </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()); }
@Override @SafeVarargs public final Builder userPools(Consumer<UserPoolDescriptionType.Builder>... userPools) { userPools(Stream.of(userPools).map(c -> UserPoolDescriptionType.builder().applyMutation(c).build()) .collect(Collectors.toList())); return this; }