@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchPermission extends Object implements Serializable, Cloneable
Describes a launch permission.
Constructor and Description |
---|
LaunchPermission() |
Modifier and Type | Method and Description |
---|---|
LaunchPermission |
clone() |
boolean |
equals(Object obj) |
String |
getGroup()
The name of the group.
|
String |
getUserId()
The AWS account ID.
|
int |
hashCode() |
void |
setGroup(PermissionGroup group)
The name of the group.
|
void |
setGroup(String group)
The name of the group.
|
void |
setUserId(String userId)
The AWS account ID.
|
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(String group)
The name of the group.
|
LaunchPermission |
withUserId(String userId)
The AWS 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 LaunchPermission withGroup(String group)
The name of the group.
group
- The name of the group.PermissionGroup
public void setGroup(PermissionGroup group)
The name of the group.
group
- The name of the group.PermissionGroup
public LaunchPermission withGroup(PermissionGroup group)
The name of the group.
group
- The name of the group.PermissionGroup
public void setUserId(String userId)
The AWS account ID.
userId
- The AWS account ID.public String getUserId()
The AWS account ID.
public LaunchPermission withUserId(String userId)
The AWS account ID.
userId
- The AWS account ID.public String toString()
toString
in class Object
Object.toString()
public LaunchPermission clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.