Class XmlNamespaceTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<XmlNamespaceTrait,XmlNamespaceTrait.Builder>
-
- software.amazon.smithy.model.traits.XmlNamespaceTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<XmlNamespaceTrait>
- Enclosing class:
- XmlNamespaceTrait
public static final class XmlNamespaceTrait.Builder extends AbstractTraitBuilder<XmlNamespaceTrait,XmlNamespaceTrait.Builder>
Builder used to create an XmlNamespace trait.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlNamespaceTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.XmlNamespaceTrait.Builder
prefix(java.lang.String prefix)
XmlNamespaceTrait.Builder
uri(java.lang.String uri)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
uri
public XmlNamespaceTrait.Builder uri(java.lang.String uri)
-
prefix
public XmlNamespaceTrait.Builder prefix(java.lang.String prefix)
-
build
public XmlNamespaceTrait build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
-