类 Grantee
- java.lang.Object
-
- com.baidubce.services.bos.model.Grantee
-
public class Grantee extends Object
Represents the grantee of an Baidu Bos bucket.
-
-
构造器详细资料
-
Grantee
public Grantee()
Constructs a new grantee without specifying an ID.
-
Grantee
public Grantee(String id)
Constructs a new grantee with the specified ID.- 参数:
id- The ID for the user.
-
-
方法详细资料
-
getId
public String getId()
Gets the ID of the grantee.- 返回:
- The ID of the grantee.
-
setId
public void setId(String id)
Sets the ID of the grantee.- 参数:
id- The ID of the grantee.
-
withId
public Grantee withId(String id)
Sets the ID of the grantee.- 参数:
id- The ID of the grantee.- 返回:
- this object
-
-