Class InfoObject.Builder
java.lang.Object
software.amazon.smithy.openapi.model.Component.Builder<InfoObject.Builder,InfoObject>
software.amazon.smithy.openapi.model.InfoObject.Builder
- All Implemented Interfaces:
SmithyBuilder<InfoObject>
- Enclosing class:
- InfoObject
public static final class InfoObject.Builder
extends Component.Builder<InfoObject.Builder,InfoObject>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.contact
(ObjectNode contact) description
(String description) license
(ObjectNode license) termsOfService
(String termsOfService) Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
Method Details
-
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
-
title
-
version
-
description
-
termsOfService
-
license
-
contact
-