@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadPermission extends Object implements Serializable, Cloneable
Describes a load permission.
Constructor and Description |
---|
LoadPermission() |
Modifier and Type | Method and Description |
---|---|
LoadPermission |
clone() |
boolean |
equals(Object obj) |
String |
getGroup()
The name of the group.
|
String |
getUserId()
The Amazon Web Services account ID.
|
int |
hashCode() |
void |
setGroup(String group)
The name of the group.
|
void |
setUserId(String userId)
The Amazon Web Services account ID.
|
String |
toString()
Returns a string representation of this object.
|
LoadPermission |
withGroup(PermissionGroup group)
The name of the group.
|
LoadPermission |
withGroup(String group)
The name of the group.
|
LoadPermission |
withUserId(String userId)
The Amazon Web Services account ID.
|
public void setUserId(String userId)
The Amazon Web Services account ID.
userId
- The Amazon Web Services account ID.public String getUserId()
The Amazon Web Services account ID.
public LoadPermission withUserId(String userId)
The Amazon Web Services account ID.
userId
- The Amazon Web Services account ID.public void setGroup(String group)
The name of the group.
group
- The name of the group.PermissionGroup
public String getGroup()
The name of the group.
PermissionGroup
public LoadPermission withGroup(String group)
The name of the group.
group
- The name of the group.PermissionGroup
public LoadPermission withGroup(PermissionGroup group)
The name of the group.
group
- The name of the group.PermissionGroup
public String toString()
toString
in class Object
Object.toString()
public LoadPermission clone()