Package com.amazonaws.services.ec2.model
Class LaunchPermission
java.lang.Object
com.amazonaws.services.ec2.model.LaunchPermission
- All Implemented Interfaces:
Serializable,Cloneable
Describes a launch permission.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetGroup()The name of the group.The AWS account ID.inthashCode()voidsetGroup(PermissionGroup group) The name of the group.voidThe name of the group.voidThe AWS account ID.toString()Returns a string representation of this object; useful for testing and debugging.withGroup(PermissionGroup group) The name of the group.The name of the group.withUserId(String userId) The AWS account ID.
-
Constructor Details
-
LaunchPermission
public LaunchPermission()
-
-
Method Details
-
setUserId
The AWS account ID.
- Parameters:
userId- The AWS account ID.
-
getUserId
The AWS account ID.
- Returns:
- The AWS account ID.
-
withUserId
The AWS account ID.
- Parameters:
userId- The AWS account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroup
The name of the group.
- Parameters:
group- The name of the group.- See Also:
-
getGroup
The name of the group.
- Returns:
- The name of the group.
- See Also:
-
withGroup
The name of the group.
- Parameters:
group- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setGroup
The name of the group.
- Parameters:
group- The name of the group.- See Also:
-
withGroup
The name of the group.
- Parameters:
group- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-