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()
public void setAdd(Collection<LaunchPermission> add)
add - The AWS account ID to add to the list of launch permissions for the
AMI.public LaunchPermissionModifications withAdd(LaunchPermission... add)
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.
Returns a reference to this object so that method calls can be chained together.
add - The AWS account ID to add to the list of launch permissions for the
AMI.public LaunchPermissionModifications withAdd(Collection<LaunchPermission> add)
Returns a reference to this object so that method calls can be chained together.
add - The AWS account ID to add to the list of launch permissions for the
AMI.public List<LaunchPermission> getRemove()
public void setRemove(Collection<LaunchPermission> remove)
remove - The AWS account ID to remove from the list of launch permissions for
the AMI.public LaunchPermissionModifications withRemove(LaunchPermission... remove)
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.
Returns a reference to this object so that method calls can be chained together.
remove - The AWS account ID to remove from the list of launch permissions for
the AMI.public LaunchPermissionModifications withRemove(Collection<LaunchPermission> remove)
Returns a reference to this object so that method calls can be chained together.
remove - The AWS account ID to remove from the list of launch permissions for
the AMI.public String toString()
toString in class ObjectObject.toString()public LaunchPermissionModifications clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.