Class OpenApi.Builder
java.lang.Object
software.amazon.smithy.openapi.model.Component.Builder<OpenApi.Builder,OpenApi>
 
software.amazon.smithy.openapi.model.OpenApi.Builder
- All Implemented Interfaces:
- SmithyBuilder<OpenApi>
- Enclosing class:
- OpenApi
- 
Method SummaryModifier and TypeMethodDescriptionaddSecurity(Map<String, List<String>> requirement) addServer(ServerObject server) build()Creates an immutable object that is created from the properties that have been set on the builder.components(ComponentsObject components) externalDocs(ExternalDocumentation externalDocs) info(InfoObject info) removePath(String path) Methods inherited from class software.amazon.smithy.openapi.model.Component.Builderextensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
- 
Method Details- 
buildDescription 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
 
- 
openapi
- 
info
- 
paths
- 
putPath
- 
removePath
- 
components
- 
externalDocs
- 
addServer
- 
clearServer
- 
addSecurity
- 
security
- 
clearSecurity
- 
addTag
- 
clearTags
 
-