@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchPermissionModifications extends Object implements Serializable, Cloneable
Describes a launch permission modification.
| Constructor and Description | 
|---|
| LaunchPermissionModifications() | 
| Modifier and Type | Method and Description | 
|---|---|
| LaunchPermissionModifications | clone() | 
| boolean | equals(Object obj) | 
| List<LaunchPermission> | getAdd()
 The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the
 AMI. | 
| List<LaunchPermission> | getRemove()
 The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for
 the AMI. | 
| int | hashCode() | 
| void | setAdd(Collection<LaunchPermission> add)
 The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the
 AMI. | 
| void | setRemove(Collection<LaunchPermission> remove)
 The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for
 the AMI. | 
| String | toString()Returns a string representation of this object. | 
| LaunchPermissionModifications | withAdd(Collection<LaunchPermission> add)
 The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the
 AMI. | 
| LaunchPermissionModifications | withAdd(LaunchPermission... add)
 The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the
 AMI. | 
| LaunchPermissionModifications | withRemove(Collection<LaunchPermission> remove)
 The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for
 the AMI. | 
| LaunchPermissionModifications | withRemove(LaunchPermission... remove)
 The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for
 the AMI. | 
public List<LaunchPermission> getAdd()
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
public void setAdd(Collection<LaunchPermission> add)
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
add - The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions
        for the AMI.public LaunchPermissionModifications withAdd(LaunchPermission... add)
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
 NOTE: This method appends the values to the existing list (if any). Use
 setAdd(java.util.Collection) or withAdd(java.util.Collection) if you want to override the
 existing values.
 
add - The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions
        for the AMI.public LaunchPermissionModifications withAdd(Collection<LaunchPermission> add)
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
add - The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions
        for the AMI.public List<LaunchPermission> getRemove()
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
public void setRemove(Collection<LaunchPermission> remove)
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
remove - The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch
        permissions for the AMI.public LaunchPermissionModifications withRemove(LaunchPermission... remove)
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
 NOTE: This method appends the values to the existing list (if any). Use
 setRemove(java.util.Collection) or withRemove(java.util.Collection) if you want to override the
 existing values.
 
remove - The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch
        permissions for the AMI.public LaunchPermissionModifications withRemove(Collection<LaunchPermission> remove)
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
remove - The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch
        permissions for the AMI.public String toString()
toString in class ObjectObject.toString()public LaunchPermissionModifications clone()