Class FlattenClosureNamespaces.Config

java.lang.Object
software.amazon.smithy.build.transforms.FlattenClosureNamespaces.Config
Enclosing class:
FlattenClosureNamespaces

public static final class FlattenClosureNamespaces.Config extends Object
flattenClosureNamespaces configuration.
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • setNamespace

      public void setNamespace(String namespace)
      Sets the target namespace that closure shapes will be flattened into.
      Parameters:
      namespace - The target namespace.
    • getNamespace

      public String getNamespace()
      Returns:
      The target namespace.
    • setClosure

      public void setClosure(String closure)
      Sets the id of the closure to flatten.
      Parameters:
      closure - The closure id.
    • getClosure

      public String getClosure()
      Returns:
      The id of the closure to flatten.