Interface CopyableBuilder<B extends CopyableBuilder<B,T>,T extends ToCopyableBuilder<B,T>>
-
- All Superinterfaces:
Buildable,SdkBuilder<B,T>
- All Known Implementing Classes:
AttributeMap.Builder,RefreshResult.Builder
@SdkPublicApi public interface CopyableBuilder<B extends CopyableBuilder<B,T>,T extends ToCopyableBuilder<B,T>> extends SdkBuilder<B,T>
A special type ofSdkBuilderthat can be used when the built type implementsToCopyableBuilder.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Bcopy()A shallow copy of this object created by building an immutable T and then transforming it back to a builder.-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
-
-
-
Method Detail
-
copy
default B copy()
A shallow copy of this object created by building an immutable T and then transforming it back to a builder.- Returns:
- a copy of this object
-
-