Class LaunchPermission

java.lang.Object
com.amazonaws.services.ec2.model.LaunchPermission
All Implemented Interfaces:
Serializable, Cloneable

public class LaunchPermission extends Object implements Serializable, Cloneable

Describes a launch permission.

See Also:
  • Constructor Details

    • LaunchPermission

      public LaunchPermission()
  • Method Details

    • setUserId

      public void setUserId(String userId)

      The AWS account ID.

      Parameters:
      userId - The AWS account ID.
    • getUserId

      public String getUserId()

      The AWS account ID.

      Returns:
      The AWS account ID.
    • withUserId

      public LaunchPermission withUserId(String userId)

      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

      public void setGroup(String group)

      The name of the group.

      Parameters:
      group - The name of the group.
      See Also:
    • getGroup

      public String getGroup()

      The name of the group.

      Returns:
      The name of the group.
      See Also:
    • withGroup

      public LaunchPermission withGroup(String group)

      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

      public void setGroup(PermissionGroup group)

      The name of the group.

      Parameters:
      group - The name of the group.
      See Also:
    • withGroup

      public LaunchPermission withGroup(PermissionGroup group)

      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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public LaunchPermission clone()
      Overrides:
      clone in class Object