Package com.vmware.nsx_policy.model
Class ALBAuthToken.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ALBAuthToken.Builder
-
- Enclosing class:
- ALBAuthToken
public static final class ALBAuthToken.Builder extends java.lang.ObjectBuilder class forALBAuthToken.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofALBAuthToken.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ALBAuthTokenbuild()ALBAuthToken.BuildersetExpiresAt(java.lang.String expiresAt)Expiry time of the token will be set by LCM at the time of Enforcement Point Creation.ALBAuthToken.BuildersetHours(java.lang.String hours)Hours to validate the tokenALBAuthToken.BuildersetToken(java.lang.String token)Token for Avi Controller.ALBAuthToken.BuildersetUsername(java.lang.String username)controller username.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofALBAuthToken.
-
-
Method Detail
-
setExpiresAt
public ALBAuthToken.Builder setExpiresAt(java.lang.String expiresAt)
Expiry time of the token will be set by LCM at the time of Enforcement Point Creation.- Parameters:
expiresAt- New value for the property.
-
setHours
public ALBAuthToken.Builder setHours(java.lang.String hours)
Hours to validate the token- Parameters:
hours- New value for the property.
-
setToken
public ALBAuthToken.Builder setToken(java.lang.String token)
Token for Avi Controller.- Parameters:
token- New value for the property.
-
setUsername
public ALBAuthToken.Builder setUsername(java.lang.String username)
controller username.- Parameters:
username- New value for the property.
-
build
public ALBAuthToken build()
-
-