Class FlattenNamespaces.Config

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

public static final class FlattenNamespaces.Config extends Object
flattenNamespaces configuration settings.
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • setNamespace

      public void setNamespace(String namespace)
      Sets the target namespace that existing namespaces will be flattened into.
      Parameters:
      namespace - The target namespace to use in the model.
    • getNamespace

      public String getNamespace()
      Gets the target namespace that existing namespaces will be flattened into.
      Returns:
      the target namespace to be used in the model.
    • setService

      public void setService(ShapeId service)
      Sets the service ShapeId that will be flattened into the target namespace.
      Parameters:
      service - The ID of the service.
    • getService

      public ShapeId getService()
      Returns:
      Gets the service shape ID of the service that will have its shape namespaces updated.
    • setIncludeTagged

      public void setIncludeTagged(Set<String> tags)
      Sets the set of tags that are retained in the model.
      Parameters:
      tags - The tags to retain in the model.
    • getIncludeTagged

      public Set<String> getIncludeTagged()
      Gets the set of tags that are retained in the model.
      Returns:
      Returns the tags to retain.