Class FlattenNamespaces.Config
- java.lang.Object
- 
- software.amazon.smithy.build.transforms.FlattenNamespaces.Config
 
- 
- Enclosing class:
- FlattenNamespaces
 
 public static final class FlattenNamespaces.Config extends java.lang.ObjectflattenNamespacesconfiguration settings.
- 
- 
Constructor SummaryConstructors Constructor Description Config()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>getIncludeTagged()Gets the set of tags that are retained in the model.java.lang.StringgetNamespace()Gets the target namespace that existing namespaces will be flattened into.ShapeIdgetService()voidsetIncludeTagged(java.util.Set<java.lang.String> tags)Sets the set of tags that are retained in the model.voidsetNamespace(java.lang.String namespace)Sets the target namespace that existing namespaces will be flattened into.voidsetService(ShapeId service)Sets the service ShapeId that will be flattened into the target namespace.
 
- 
- 
- 
Method Detail- 
setNamespacepublic void setNamespace(java.lang.String namespace) Sets the target namespace that existing namespaces will be flattened into.- Parameters:
- namespace- The target namespace to use in the model.
 
 - 
getNamespacepublic java.lang.String getNamespace() Gets the target namespace that existing namespaces will be flattened into.- Returns:
- the target namespace to be used in the model.
 
 - 
setServicepublic void setService(ShapeId service) Sets the service ShapeId that will be flattened into the target namespace.- Parameters:
- service- The ID of the service.
 
 - 
getServicepublic ShapeId getService() - Returns:
- Gets the service shape ID of the service that will have its shape namespaces updated.
 
 - 
setIncludeTaggedpublic void setIncludeTagged(java.util.Set<java.lang.String> tags) Sets the set of tags that are retained in the model.- Parameters:
- tags- The tags to retain in the model.
 
 - 
getIncludeTaggedpublic java.util.Set<java.lang.String> getIncludeTagged() Gets the set of tags that are retained in the model.- Returns:
- Returns the tags to retain.
 
 
- 
 
-