public static class ApiSpecification.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ApiSpecification |
build() |
ApiSpecification.Builder |
copy(ApiSpecification model) |
ApiSpecification.Builder |
loggingPolicies(ApiSpecificationLoggingPolicies loggingPolicies) |
ApiSpecification.Builder |
requestPolicies(ApiSpecificationRequestPolicies requestPolicies) |
ApiSpecification.Builder |
routes(List<ApiSpecificationRoute> routes)
A list of routes that this API exposes.
|
public ApiSpecification.Builder requestPolicies(ApiSpecificationRequestPolicies requestPolicies)
public ApiSpecification.Builder loggingPolicies(ApiSpecificationLoggingPolicies loggingPolicies)
public ApiSpecification.Builder routes(List<ApiSpecificationRoute> routes)
A list of routes that this API exposes.
routes
- the value to setpublic ApiSpecification build()
public ApiSpecification.Builder copy(ApiSpecification model)
Copyright © 2016–2024. All rights reserved.