public static class UsagePlansPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UsagePlansPolicy |
build() |
UsagePlansPolicy.Builder |
copy(UsagePlansPolicy model) |
UsagePlansPolicy.Builder |
tokenLocations(List<String> tokenLocations)
A list of context variables specifying where API tokens may be located in a request.
|
public UsagePlansPolicy.Builder tokenLocations(List<String> tokenLocations)
A list of context variables specifying where API tokens may be located in a request. Example locations: - “request.headers[token]” - “request.query[token]” - “request.auth[Token]” - “request.path[TOKEN]”
tokenLocations
- the value to setpublic UsagePlansPolicy build()
public UsagePlansPolicy.Builder copy(UsagePlansPolicy model)
Copyright © 2016–2024. All rights reserved.