Class FlattenClosureNamespaces.Config
java.lang.Object
software.amazon.smithy.build.transforms.FlattenClosureNamespaces.Config
- Enclosing class:
- FlattenClosureNamespaces
flattenClosureNamespaces configuration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetClosure(String closure) Sets the id of the closure to flatten.voidsetNamespace(String namespace) Sets the target namespace that closure shapes will be flattened into.
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
setNamespace
Sets the target namespace that closure shapes will be flattened into.- Parameters:
namespace- The target namespace.
-
getNamespace
- Returns:
- The target namespace.
-
setClosure
Sets the id of the closure to flatten.- Parameters:
closure- The closure id.
-
getClosure
- Returns:
- The id of the closure to flatten.
-