@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 AWS account ID to add to the list of launch permissions for the AMI.
|
List<LaunchPermission> |
getRemove()
The AWS account ID to remove from the list of launch permissions for the AMI.
|
int |
hashCode() |
void |
setAdd(Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the AMI.
|
void |
setRemove(Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LaunchPermissionModifications |
withAdd(Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the AMI.
|
LaunchPermissionModifications |
withAdd(LaunchPermission... add)
The AWS account ID to add to the list of launch permissions for the AMI.
|
LaunchPermissionModifications |
withRemove(Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
|
LaunchPermissionModifications |
withRemove(LaunchPermission... remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
|
public List<LaunchPermission> getAdd()
The AWS account ID to add to the list of launch permissions for the AMI.
public void setAdd(Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the AMI.
add
- The AWS account ID to add to the list of launch permissions for the AMI.public LaunchPermissionModifications withAdd(LaunchPermission... add)
The AWS account ID 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 AWS account ID to add to the list of launch permissions for the AMI.public LaunchPermissionModifications withAdd(Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the AMI.
add
- The AWS account ID to add to the list of launch permissions for the AMI.public List<LaunchPermission> getRemove()
The AWS account ID to remove from the list of launch permissions for the AMI.
public void setRemove(Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
remove
- The AWS account ID to remove from the list of launch permissions for the AMI.public LaunchPermissionModifications withRemove(LaunchPermission... remove)
The AWS account ID 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 AWS account ID to remove from the list of launch permissions for the AMI.public LaunchPermissionModifications withRemove(Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
remove
- The AWS account ID to remove from the list of launch permissions for the AMI.public String toString()
toString
in class Object
Object.toString()
public LaunchPermissionModifications clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.