类 Auth
- java.lang.Object
-
- com.baidubce.services.lss.model.Auth
-
public class Auth extends Object
Represents the authentication settings.
-
-
构造器概要
构造器 构造器 说明 Auth()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BooleangetPlay()Returns true if authentication is required before playBooleangetPush()Returns true if authentication is required before push.voidsetPlay(Boolean play)Sets to true if authentication is required before playvoidsetPush(Boolean push)Sets to true if authentication is required before pushStringtoString()AuthwithPlay(Boolean play)Sets to true if authentication is required before playAuthwithPush(Boolean push)Sets to true if authentication is required before push
-
-
-
方法详细资料
-
getPush
public Boolean getPush()
Returns true if authentication is required before push.- 返回:
- true if authentication is required before push
-
setPush
public void setPush(Boolean push)
Sets to true if authentication is required before push- 参数:
push- true if authentication is required before push
-
withPush
public Auth withPush(Boolean push)
Sets to true if authentication is required before push- 参数:
push- true if authentication is required before push- 返回:
- this object
-
getPlay
public Boolean getPlay()
Returns true if authentication is required before play- 返回:
- true if authentication is required before play
-
setPlay
public void setPlay(Boolean play)
Sets to true if authentication is required before play- 参数:
play- true if authentication is required before play
-
withPlay
public Auth withPlay(Boolean play)
Sets to true if authentication is required before play- 参数:
play- true if authentication is required before play- 返回:
- this object
-
-