public class LaunchPermissionModifications extends Object implements Serializable
Describes a launch permission modification.
Constructor and Description |
---|
LaunchPermissionModifications() |
Modifier and Type | Method and Description |
---|---|
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)
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)
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 Object
Object.toString()
Copyright © 2014. All rights reserved.