Package com.oracle.bmc.apigateway.model
Class SetQueryParameterPolicyItem.Builder
- java.lang.Object
-
- com.oracle.bmc.apigateway.model.SetQueryParameterPolicyItem.Builder
-
- Enclosing class:
- SetQueryParameterPolicyItem
public static class SetQueryParameterPolicyItem.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetQueryParameterPolicyItem
build()
SetQueryParameterPolicyItem.Builder
copy(SetQueryParameterPolicyItem model)
SetQueryParameterPolicyItem.Builder
ifExists(SetQueryParameterPolicyItem.IfExists ifExists)
If a query parameter with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value.SetQueryParameterPolicyItem.Builder
name(String name)
The case-sensitive name of the query parameter.SetQueryParameterPolicyItem.Builder
values(List<String> values)
A list of new values.
-
-
-
Method Detail
-
name
public SetQueryParameterPolicyItem.Builder name(String name)
The case-sensitive name of the query parameter.This name must be unique across transformation policies.
- Parameters:
name
- the value to set- Returns:
- this builder
-
values
public SetQueryParameterPolicyItem.Builder values(List<String> values)
A list of new values.Each value can be a constant or may include one or more expressions enclosed within ${} delimiters.
- Parameters:
values
- the value to set- Returns:
- this builder
-
ifExists
public SetQueryParameterPolicyItem.Builder ifExists(SetQueryParameterPolicyItem.IfExists ifExists)
If a query parameter with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value.- Parameters:
ifExists
- the value to set- Returns:
- this builder
-
build
public SetQueryParameterPolicyItem build()
-
copy
public SetQueryParameterPolicyItem.Builder copy(SetQueryParameterPolicyItem model)
-
-