Class PathItem.Builder
java.lang.Object
software.amazon.smithy.openapi.model.Component.Builder<PathItem.Builder,PathItem>
software.amazon.smithy.openapi.model.PathItem.Builder
- All Implemented Interfaces:
SmithyBuilder<PathItem>
- Enclosing class:
- PathItem
-
Method Summary
Modifier and TypeMethodDescriptionaddParameter(ParameterObject parameter) addParameter(Ref<ParameterObject> parameter) addServer(ServerObject server) build()Creates an immutable object that is created from the properties that have been set on the builder.delete(OperationObject delete) description(String description) get(OperationObject get) head(OperationObject head) options(OperationObject options) parameters(List<Ref<ParameterObject>> parameters) patch(OperationObject patch) post(OperationObject post) put(OperationObject put) servers(List<ServerObject> servers) trace(OperationObject trace) 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:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
summary
-
description
-
servers
-
addServer
-
parameters
-
addParameter
-
addParameter
-
get
-
put
-
post
-
delete
-
options
-
head
-
patch
-
trace
-