/** * <p> * The new server-side encryption settings for the specified table. * </p> * This is a convenience that creates an instance of the {@link SSESpecification.Builder} avoiding the need to * create one manually via {@link SSESpecification#builder()}. * * When the {@link Consumer} completes, {@link SSESpecification.Builder#build()} is called immediately and its * result is passed to {@link #sseSpecification(SSESpecification)}. * * @param sseSpecification * a consumer that will call methods on {@link SSESpecification.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #sseSpecification(SSESpecification) */ default Builder sseSpecification(Consumer<SSESpecification.Builder> sseSpecification) { return sseSpecification(SSESpecification.builder().applyMutation(sseSpecification).build()); }