Package com.oracle.bmc.apigateway.model
Class UsagePlansPolicy.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.model.UsagePlansPolicy.Builder
-
- Enclosing class:
- UsagePlansPolicy
public static class UsagePlansPolicy.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
tokenLocations
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]”
- Parameters:
tokenLocations
- the value to set- Returns:
- this builder
-
build
public UsagePlansPolicy build()
-
copy
public UsagePlansPolicy.Builder copy(UsagePlansPolicy model)
-
-