Package com.vmware.nsx_policy.model
Class LBVariablePersistenceLearnAction.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBVariablePersistenceLearnAction.Builder
-
- Enclosing class:
- LBVariablePersistenceLearnAction
public static final class LBVariablePersistenceLearnAction.Builder extends java.lang.Object
Builder class forLBVariablePersistenceLearnAction
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBVariablePersistenceLearnAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBVariablePersistenceLearnAction
build()
LBVariablePersistenceLearnAction.Builder
setPersistenceProfilePath(java.lang.String persistenceProfilePath)
If the persistence profile path is not specified, a default persistence table is created per virtual server.LBVariablePersistenceLearnAction.Builder
setVariableHashEnabled(java.lang.Boolean variableHashEnabled)
The property is used to enable a hash operation for variable value when composing the persistence key.LBVariablePersistenceLearnAction.Builder
setVariableName(java.lang.String variableName)
The property is the name of variable to be learnt.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBVariablePersistenceLearnAction
.
-
-
Method Detail
-
setPersistenceProfilePath
public LBVariablePersistenceLearnAction.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 LBVariablePersistenceLearnAction.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 LBVariablePersistenceLearnAction.Builder setVariableName(java.lang.String variableName)
The property is the name of variable to be learnt. It is used to identify which variable's value is learnt from HTTP response. 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 LBVariablePersistenceLearnAction build()
-
-