context.nextToken(); userPoolTypeBuilder .deviceConfiguration(DeviceConfigurationTypeUnmarshaller.getInstance().unmarshall(context));
/** * <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 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()); }