|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.LaunchPermissionModifications
public class LaunchPermissionModifications
Describes a launch permission modification.
Constructor Summary | |
---|---|
LaunchPermissionModifications()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<LaunchPermission> |
getAdd()
The AWS account ID to add to the list of launch permissions for the AMI. |
java.util.List<LaunchPermission> |
getRemove()
The AWS account ID to remove from the list of launch permissions for the AMI. |
int |
hashCode()
|
void |
setAdd(java.util.Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the AMI. |
void |
setRemove(java.util.Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for the AMI. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
LaunchPermissionModifications |
withAdd(java.util.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(java.util.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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LaunchPermissionModifications()
Method Detail |
---|
public java.util.List<LaunchPermission> getAdd()
public void setAdd(java.util.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(java.util.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 java.util.List<LaunchPermission> getRemove()
public void setRemove(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |