| CLASS info |
| public final class PassStatus.Builder |
| Assigns the PassStatus value using the builder method. |
| Return type | Method name |
| PassStatus.Builder | setState(String state) Sets the status of the current pass. |
| PassStatus.Builder | setEffectTime(String effectTime) Sets the time when the current pass takes effect. |
| PassStatus.Builder | setExpireTime(String expireTime) Sets the time when the current pass expires. |
| PassStatus | build() Obtains the instantiated PassStatus. |
| Method |
public PassStatus.Builder setState(String state) |
| (Mandatory) Sets the status of the current pass. |
Parameters
| Parameter name | Parameter desc |
| state | Pass status. |
Return
| Type | desc |
| PassStatus.Builder | PassStatus.Builder object. |
| Method |
public PassStatus.Builder setEffectTime(String effectTime) |
| (Mandatory) Sets the time when the current pass takes effect. |
Parameters
| Parameter name | Parameter desc |
| effectTime | Time when the pass takes effect, in UTC format: yyyy-MM-ddTHH:mm:ss.SSSZ |
Return
| Type | desc |
| PassStatus.Builder | PassStatus.Builder object. |
| Method |
public PassStatus.Builder setExpireTime(String expireTime) |
| (Mandatory) Sets the time when the pass expires. |
Parameters
| Parameter name | Parameter desc |
| expireTime | Time when the pass expires, in UTC format:yyyy-MM-ddTHH:mm:ss.SSSZ |
Return
| Type | desc |
| PassStatus.Builder | PassStatus.Builder object. |
| Method |
public PassStatus build() |
| (Mandatory) Obtains the instantiated PassStatus. |
Return
| Type | desc |
| PassStatus | PassStatus object. |