Class UnreferencedShapeValidator.Config

java.lang.Object
software.amazon.smithy.model.validation.linters.UnreferencedShapeValidator.Config
Enclosing class:
UnreferencedShapeValidator

public static final class UnreferencedShapeValidator.Config extends Object
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • getRootShapeSelector

      public Selector getRootShapeSelector()
      The Selector used to find root shapes, and any shape that is not connected to any of the returned root shapes is considered unreferenced.

      Defaults to "service" if not set.

      Returns:
      Returns the root selector;
    • setRootShapeSelector

      public void setRootShapeSelector(Selector rootShapeSelector)