withDesign abstract method

Spec<T> withDesign(
  1. DesignDescriptor design
)

Associates a design descriptor with this pod.
A design encapsulates structural or semantic metadata about the pod.

Example

spec.withDesign(DesignDescriptor('payment-service'));

Implementation

Spec<T> withDesign(DesignDescriptor design);