public static abstract class AuthTokenContext.Builder extends Object
Builder for AuthTokenContext.
Public Method Summary
AuthTokenContext |
build()
Returns new AuthTokenContext instance with the state set by the Builder.
|
abstract AuthTokenContext.Builder |
setServiceType(int serviceType)
Sets the service type for the call that requires an auth token.
|
abstract AuthTokenContext.Builder | |
abstract AuthTokenContext.Builder |
setVehicleId(String vehicleId)
Sets the optional vehicle id for the call if it is a required auth token claim.
|
Inherited Method Summary
Public Methods
public AuthTokenContext build ()
Returns new AuthTokenContext instance with the state set by the Builder.
Throws
NullPointerException | if any non-nullable values are not set. |
---|
public abstract AuthTokenContext.Builder setServiceType (int serviceType)
Sets the service type for the call that requires an auth token.
public abstract AuthTokenContext.Builder setTaskId (String taskId)
Sets the optional task id for the call if it is a required auth token claim.
public abstract AuthTokenContext.Builder setVehicleId (String vehicleId)
Sets the optional vehicle id for the call if it is a required auth token claim.