Package com.vmware.nsx_policy.model
Class LBVariablePersistenceOnAction.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBVariablePersistenceOnAction.Builder
-
- Enclosing class:
- LBVariablePersistenceOnAction
public static final class LBVariablePersistenceOnAction.Builder extends java.lang.Object
Builder class forLBVariablePersistenceOnAction
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBVariablePersistenceOnAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBVariablePersistenceOnAction
build()
LBVariablePersistenceOnAction.Builder
setPersistenceProfilePath(java.lang.String persistenceProfilePath)
If the persistence profile path is not specified, a default persistence table is created per virtual server.LBVariablePersistenceOnAction.Builder
setVariableHashEnabled(java.lang.Boolean variableHashEnabled)
The property is used to enable a hash operation for variable value when composing the persistence key.LBVariablePersistenceOnAction.Builder
setVariableName(java.lang.String variableName)
The property is the name of variable to be used.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBVariablePersistenceOnAction
.
-
-
Method Detail
-
setPersistenceProfilePath
public LBVariablePersistenceOnAction.Builder setPersistenceProfilePath(java.lang.String persistenceProfilePath)
If the persistence profile path is not specified, a default persistence table is created per virtual server. Currently, only LBGenericPersistenceProfile is supported.- Parameters:
persistenceProfilePath
- New value for the property.
-
setVariableHashEnabled
public LBVariablePersistenceOnAction.Builder setVariableHashEnabled(java.lang.Boolean variableHashEnabled)
The property is used to enable a hash operation for variable value when composing the persistence key.- Parameters:
variableHashEnabled
- New value for the property.
-
setVariableName
public LBVariablePersistenceOnAction.Builder setVariableName(java.lang.String variableName)
The property is the name of variable to be used. It specifies which variable's value of a HTTP Request will be used in the key of persistence entry. The variable can be a built-in variable such as \"_cookie_JSESSIONID\", a customized variable defined in LBVariableAssignmentAction or a captured variable in regular expression such as \"article\". For the full list of built-in variables, please reference the NSX-T Administrator's Guide.- Parameters:
variableName
- New value for the property.
-
build
public LBVariablePersistenceOnAction build()
-
-