@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadPermissionRequest extends Object implements Serializable, Cloneable
Describes a load permission.
Constructor and Description |
---|
LoadPermissionRequest() |
Modifier and Type | Method and Description |
---|---|
LoadPermissionRequest |
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.
|
LoadPermissionRequest |
withGroup(PermissionGroup group)
The name of the group.
|
LoadPermissionRequest |
withGroup(String group)
The name of the group.
|
LoadPermissionRequest |
withUserId(String 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 LoadPermissionRequest withGroup(String group)
The name of the group.
group
- The name of the group.PermissionGroup
public LoadPermissionRequest withGroup(PermissionGroup group)
The name of the group.
group
- The name of the group.PermissionGroup
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 LoadPermissionRequest withUserId(String userId)
The Amazon Web Services account ID.
userId
- The Amazon Web Services account ID.public String toString()
toString
in class Object
Object.toString()
public LoadPermissionRequest clone()