|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.lss.model.AuthInfo
public class AuthInfo
Represents the authentication settings.
| Constructor Summary | |
|---|---|
AuthInfo()
|
|
| Method Summary | |
|---|---|
String |
getKey()
Returns the authentication key. |
Boolean |
getPlay()
Returns true if authentication is required before play |
Boolean |
getPush()
Returns true if authentication is required before push. |
void |
setKey(String key)
Sets the authentication key. |
void |
setPlay(Boolean play)
Sets to true if authentication is required before play |
void |
setPush(Boolean push)
Sets to true if authentication is required before push |
String |
toString()
|
AuthInfo |
withKey(String key)
Sets the authentication key. |
AuthInfo |
withPlay(Boolean play)
Sets to true if authentication is required before play |
AuthInfo |
withPush(Boolean push)
Sets to true if authentication is required before push |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthInfo()
| Method Detail |
|---|
public Boolean getPush()
public void setPush(Boolean push)
push - true if authentication is required before pushpublic AuthInfo withPush(Boolean push)
push - true if authentication is required before push
public Boolean getPlay()
public void setPlay(Boolean play)
play - true if authentication is required before playpublic AuthInfo withPlay(Boolean play)
play - true if authentication is required before play
public String getKey()
public void setKey(String key)
key - the authentication keypublic AuthInfo withKey(String key)
key - the authentication key
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||