类 AuthInfo
- java.lang.Object
-
- com.baidubce.services.lss.model.AuthInfo
-
- 所有已实现的接口:
Serializable
public class AuthInfo extends Object implements Serializable
Represents the authentication settings.- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AuthInfo()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetKey()Returns the authentication key.BooleangetPlay()Returns true if authentication is required before playBooleangetPush()Returns true if authentication is required before push.voidsetKey(String key)Sets the authentication key.voidsetPlay(Boolean play)Sets to true if authentication is required before playvoidsetPush(Boolean push)Sets to true if authentication is required before pushStringtoString()AuthInfowithKey(String key)Sets the authentication key.AuthInfowithPlay(Boolean play)Sets to true if authentication is required before playAuthInfowithPush(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 AuthInfo 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 AuthInfo withPlay(Boolean play)
Sets to true if authentication is required before play- 参数:
play- true if authentication is required before play- 返回:
- this object
-
getKey
public String getKey()
Returns the authentication key.- 返回:
- the authentication key
-
setKey
public void setKey(String key)
Sets the authentication key.- 参数:
key- the authentication key
-
withKey
public AuthInfo withKey(String key)
Sets the authentication key.- 参数:
key- the authentication key- 返回:
- this object
-
-