Package com.vmware.nsx_policy.model
Class LBHttpRedirectAction.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBHttpRedirectAction.Builder
-
- Enclosing class:
- LBHttpRedirectAction
public static final class LBHttpRedirectAction.Builder extends java.lang.Object
Builder class forLBHttpRedirectAction
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBHttpRedirectAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBHttpRedirectAction
build()
LBHttpRedirectAction.Builder
setRedirectStatus(java.lang.String redirectStatus)
HTTP response status code.LBHttpRedirectAction.Builder
setRedirectUrl(java.lang.String redirectUrl)
The URL that the HTTP request is redirected to.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBHttpRedirectAction
.
-
-
Method Detail
-
setRedirectStatus
public LBHttpRedirectAction.Builder setRedirectStatus(java.lang.String redirectStatus)
HTTP response status code.- Parameters:
redirectStatus
- New value for the property.
-
setRedirectUrl
public LBHttpRedirectAction.Builder setRedirectUrl(java.lang.String redirectUrl)
The URL that the HTTP request is redirected to.- Parameters:
redirectUrl
- New value for the property.
-
build
public LBHttpRedirectAction build()
-
-