|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.bos.model.Grantee
public class Grantee
Represents the grantee of an Baidu Bos bucket.
| Constructor Summary | |
|---|---|
Grantee()
Constructs a new grantee without specifying an ID. |
|
Grantee(String id)
Constructs a new grantee with the specified ID. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getId()
Gets the ID of the grantee. |
int |
hashCode()
|
void |
setId(String id)
Sets the ID of the grantee. |
String |
toString()
|
Grantee |
withId(String id)
Sets the ID of the grantee. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Grantee()
public Grantee(String id)
id - The ID for the user.| Method Detail |
|---|
public String getId()
public void setId(String id)
id - The ID of the grantee.public Grantee withId(String id)
id - The ID of the grantee.public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||