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.Builder
attribute(boolean attribute)
XmlObject
build()
Creates an immutable object that is created from the properties that have been set on the builder.XmlObject.Builder
name(java.lang.String name)
XmlObject.Builder
namespace(java.lang.String namespace)
XmlObject.Builder
prefix(java.lang.String prefix)
XmlObject.Builder
wrapped(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:SmithyBuilder
Creates 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)
-
-