目录

CLASS info
public final class PassStatus.Builder
Assigns the PassStatus value using the builder method.

Public Method Summary

Return typeMethod 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.

Public Method

Method

public PassStatus.Builder setState(String state)

(Mandatory) Sets the status of the current pass.

Parameters

Parameter nameParameter desc
statePass status.


Return

Typedesc
PassStatus.BuilderPassStatus.Builder object.
Method

public PassStatus.Builder setEffectTime(String effectTime)

(Mandatory) Sets the time when the current pass takes effect.

Parameters

Parameter nameParameter desc
effectTimeTime when the pass takes effect, in UTC format: yyyy-MM-ddTHH:mm:ss.SSSZ


Return

Typedesc
PassStatus.BuilderPassStatus.Builder object.
Method

public PassStatus.Builder setExpireTime(String expireTime)

(Mandatory) Sets the time when the pass expires.

Parameters

Parameter nameParameter desc
expireTimeTime when the pass expires, in UTC format:yyyy-MM-ddTHH:mm:ss.SSSZ


Return

Typedesc
PassStatus.BuilderPassStatus.Builder object.
Method

public PassStatus build()

(Mandatory) Obtains  the instantiated PassStatus.

Return

Typedesc
PassStatusPassStatus object.