/** * <p> * Represents the properties of the table. * </p> * This is a convenience that creates an instance of the {@link TableDescription.Builder} avoiding the need to * create one manually via {@link TableDescription#builder()}. * * When the {@link Consumer} completes, {@link TableDescription.Builder#build()} is called immediately and its * result is passed to {@link #tableDescription(TableDescription)}. * * @param tableDescription * a consumer that will call methods on {@link TableDescription.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #tableDescription(TableDescription) */ default Builder tableDescription(Consumer<TableDescription.Builder> tableDescription) { return tableDescription(TableDescription.builder().applyMutation(tableDescription).build()); } }
/** * <p> * Represents the properties of a table. * </p> * This is a convenience that creates an instance of the {@link TableDescription.Builder} avoiding the need to * create one manually via {@link TableDescription#builder()}. * * When the {@link Consumer} completes, {@link TableDescription.Builder#build()} is called immediately and its * result is passed to {@link #tableDescription(TableDescription)}. * * @param tableDescription * a consumer that will call methods on {@link TableDescription.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #tableDescription(TableDescription) */ default Builder tableDescription(Consumer<TableDescription.Builder> tableDescription) { return tableDescription(TableDescription.builder().applyMutation(tableDescription).build()); } }
/** * <p> * Represents the properties of the table. * </p> * This is a convenience that creates an instance of the {@link TableDescription.Builder} avoiding the need to * create one manually via {@link TableDescription#builder()}. * * When the {@link Consumer} completes, {@link TableDescription.Builder#build()} is called immediately and its * result is passed to {@link #tableDescription(TableDescription)}. * * @param tableDescription * a consumer that will call methods on {@link TableDescription.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #tableDescription(TableDescription) */ default Builder tableDescription(Consumer<TableDescription.Builder> tableDescription) { return tableDescription(TableDescription.builder().applyMutation(tableDescription).build()); } }
/** * <p> * Represents the properties of a table. * </p> * This is a convenience that creates an instance of the {@link TableDescription.Builder} avoiding the need to * create one manually via {@link TableDescription#builder()}. * * When the {@link Consumer} completes, {@link TableDescription.Builder#build()} is called immediately and its * result is passed to {@link #tableDescription(TableDescription)}. * * @param tableDescription * a consumer that will call methods on {@link TableDescription.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #tableDescription(TableDescription) */ default Builder tableDescription(Consumer<TableDescription.Builder> tableDescription) { return tableDescription(TableDescription.builder().applyMutation(tableDescription).build()); } }
/** * <p> * The description of the table created from an existing backup. * </p> * This is a convenience that creates an instance of the {@link TableDescription.Builder} avoiding the need to * create one manually via {@link TableDescription#builder()}. * * When the {@link Consumer} completes, {@link TableDescription.Builder#build()} is called immediately and its * result is passed to {@link #tableDescription(TableDescription)}. * * @param tableDescription * a consumer that will call methods on {@link TableDescription.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #tableDescription(TableDescription) */ default Builder tableDescription(Consumer<TableDescription.Builder> tableDescription) { return tableDescription(TableDescription.builder().applyMutation(tableDescription).build()); } }
/** * <p> * The properties of the table. * </p> * This is a convenience that creates an instance of the {@link TableDescription.Builder} avoiding the need to * create one manually via {@link TableDescription#builder()}. * * When the {@link Consumer} completes, {@link TableDescription.Builder#build()} is called immediately and its * result is passed to {@link #table(TableDescription)}. * * @param table * a consumer that will call methods on {@link TableDescription.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #table(TableDescription) */ default Builder table(Consumer<TableDescription.Builder> table) { return table(TableDescription.builder().applyMutation(table).build()); } }