|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.LaunchPermission
public class LaunchPermission
Describes a launch permission.
| Constructor Summary | |
|---|---|
LaunchPermission()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getGroup()
The name of the group. |
java.lang.String |
getUserId()
The AWS account ID. |
int |
hashCode()
|
void |
setGroup(PermissionGroup group)
The name of the group. |
void |
setGroup(java.lang.String group)
The name of the group. |
void |
setUserId(java.lang.String userId)
The AWS account ID. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
LaunchPermission |
withGroup(PermissionGroup group)
The name of the group. |
LaunchPermission |
withGroup(java.lang.String group)
The name of the group. |
LaunchPermission |
withUserId(java.lang.String userId)
The AWS account ID. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LaunchPermission()
| Method Detail |
|---|
public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId - The AWS account ID.public LaunchPermission withUserId(java.lang.String userId)
Returns a reference to this object so that method calls can be chained together.
userId - The AWS account ID.
public java.lang.String getGroup()
Constraints:
Allowed Values: all
PermissionGrouppublic void setGroup(java.lang.String group)
Constraints:
Allowed Values: all
group - The name of the group.PermissionGrouppublic LaunchPermission withGroup(java.lang.String group)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: all
group - The name of the group.
PermissionGrouppublic void setGroup(PermissionGroup group)
Constraints:
Allowed Values: all
group - The name of the group.PermissionGrouppublic LaunchPermission withGroup(PermissionGroup group)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: all
group - The name of the group.
PermissionGrouppublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||