Class CallbackObject.Builder
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component.Builder<CallbackObject.Builder,CallbackObject>
-
- software.amazon.smithy.openapi.model.CallbackObject.Builder
-
- All Implemented Interfaces:
SmithyBuilder<CallbackObject>
- Enclosing class:
- CallbackObject
public static final class CallbackObject.Builder extends Component.Builder<CallbackObject.Builder,CallbackObject>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallbackObject
build()
Creates an immutable object that is created from the properties that have been set on the builder.CallbackObject.Builder
paths(java.util.Map<java.lang.String,PathItem> paths)
CallbackObject.Builder
putPath(java.lang.String expression, PathItem pathItem)
-
Methods inherited from class software.amazon.smithy.openapi.model.Component.Builder
extensions, extensions, getExtensions, putExtension, putExtension, putExtension, putExtension, removeExtension
-
-
-
-
Method Detail
-
build
public CallbackObject 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
-
paths
public CallbackObject.Builder paths(java.util.Map<java.lang.String,PathItem> paths)
-
putPath
public CallbackObject.Builder putPath(java.lang.String expression, PathItem pathItem)
-
-