public static final class InfoObject.Builder extends Component.Builder<InfoObject.Builder,InfoObject>
Modifier and Type | Method and Description |
---|---|
InfoObject |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
InfoObject.Builder |
contact(ObjectNode contact) |
InfoObject.Builder |
description(java.lang.String description) |
InfoObject.Builder |
license(ObjectNode license) |
InfoObject.Builder |
termsOfService(java.lang.String termsOfService) |
InfoObject.Builder |
title(java.lang.String title) |
InfoObject.Builder |
version(java.lang.String version) |
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public InfoObject build()
SmithyBuilder
public InfoObject.Builder title(java.lang.String title)
public InfoObject.Builder version(java.lang.String version)
public InfoObject.Builder description(java.lang.String description)
public InfoObject.Builder termsOfService(java.lang.String termsOfService)
public InfoObject.Builder license(ObjectNode license)
public InfoObject.Builder contact(ObjectNode contact)