Package software.amazon.smithy.utils
Interface ToSmithyBuilder<T>
-
- Type Parameters:
T- the type that the builder will build (this)
public interface ToSmithyBuilder<T>Provides a way to get from an instance of T to aSmithyBuilder.This allows modification of an otherwise immutable object using the source object as a base.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SmithyBuilder<T>toBuilder()Take this object and create a builder that contains all of the current property values of this object.
-
-
-
Method Detail
-
toBuilder
SmithyBuilder<T> toBuilder()
Take this object and create a builder that contains all of the current property values of this object.- Returns:
- a builder for type T
-
-