Class XmlObject.Builder
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component.Builder<XmlObject.Builder,XmlObject>
-
- software.amazon.smithy.openapi.model.XmlObject.Builder
-
- All Implemented Interfaces:
SmithyBuilder<XmlObject>
- Enclosing class:
- XmlObject
public static final class XmlObject.Builder extends Component.Builder<XmlObject.Builder,XmlObject>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlObject.Builderattribute(boolean attribute)XmlObjectbuild()Creates an immutable object that is created from the properties that have been set on the builder.XmlObject.Buildername(java.lang.String name)XmlObject.Buildernamespace(java.lang.String namespace)XmlObject.Builderprefix(java.lang.String prefix)XmlObject.Builderwrapped(boolean wrapped)-
Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
-
-
-
Method Detail
-
build
public XmlObject build()
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
name
public XmlObject.Builder name(java.lang.String name)
-
namespace
public XmlObject.Builder namespace(java.lang.String namespace)
-
prefix
public XmlObject.Builder prefix(java.lang.String prefix)
-
attribute
public XmlObject.Builder attribute(boolean attribute)
-
wrapped
public XmlObject.Builder wrapped(boolean wrapped)
-
-