public static final class PathItem.Builder extends Component.Builder<PathItem.Builder,PathItem>
Modifier and Type | Method and Description |
---|---|
PathItem.Builder |
addParameter(ParameterObject parameter) |
PathItem.Builder |
addParameter(Ref<ParameterObject> parameter) |
PathItem.Builder |
addServer(ServerObject server) |
PathItem |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
PathItem.Builder |
delete(OperationObject delete) |
PathItem.Builder |
description(java.lang.String description) |
PathItem.Builder |
get(OperationObject get) |
PathItem.Builder |
head(OperationObject head) |
PathItem.Builder |
options(OperationObject options) |
PathItem.Builder |
parameters(java.util.List<Ref<ParameterObject>> parameters) |
PathItem.Builder |
patch(OperationObject patch) |
PathItem.Builder |
post(OperationObject post) |
PathItem.Builder |
put(OperationObject put) |
PathItem.Builder |
servers(java.util.List<ServerObject> servers) |
PathItem.Builder |
summary(java.lang.String summary) |
PathItem.Builder |
trace(OperationObject trace) |
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public PathItem build()
SmithyBuilder
public PathItem.Builder summary(java.lang.String summary)
public PathItem.Builder description(java.lang.String description)
public PathItem.Builder servers(java.util.List<ServerObject> servers)
public PathItem.Builder addServer(ServerObject server)
public PathItem.Builder parameters(java.util.List<Ref<ParameterObject>> parameters)
public PathItem.Builder addParameter(ParameterObject parameter)
public PathItem.Builder addParameter(Ref<ParameterObject> parameter)
public PathItem.Builder get(OperationObject get)
public PathItem.Builder put(OperationObject put)
public PathItem.Builder post(OperationObject post)
public PathItem.Builder delete(OperationObject delete)
public PathItem.Builder options(OperationObject options)
public PathItem.Builder head(OperationObject head)
public PathItem.Builder patch(OperationObject patch)
public PathItem.Builder trace(OperationObject trace)