com.amazonaws.services.ec2.model
Class LaunchPermissionModifications

java.lang.Object
  extended by com.amazonaws.services.ec2.model.LaunchPermissionModifications

public class LaunchPermissionModifications
extends Object

Launch Permission Modifications


Constructor Summary
LaunchPermissionModifications()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<LaunchPermission> getAdd()
          Returns the value of the Add property for this object.
 List<LaunchPermission> getRemove()
          Returns the value of the Remove property for this object.
 int hashCode()
           
 void setAdd(Collection<LaunchPermission> add)
          Sets the value of the Add property for this object.
 void setRemove(Collection<LaunchPermission> remove)
          Sets the value of the Remove property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 LaunchPermissionModifications withAdd(Collection<LaunchPermission> add)
          Sets the value of the Add property for this object.
 LaunchPermissionModifications withAdd(LaunchPermission... add)
          Sets the value of the Add property for this object.
 LaunchPermissionModifications withRemove(Collection<LaunchPermission> remove)
          Sets the value of the Remove property for this object.
 LaunchPermissionModifications withRemove(LaunchPermission... remove)
          Sets the value of the Remove property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LaunchPermissionModifications

public LaunchPermissionModifications()
Method Detail

getAdd

public List<LaunchPermission> getAdd()
Returns the value of the Add property for this object.

Returns:
The value of the Add property for this object.

setAdd

public void setAdd(Collection<LaunchPermission> add)
Sets the value of the Add property for this object.

Parameters:
add - The new value for the Add property for this object.

withAdd

public LaunchPermissionModifications withAdd(LaunchPermission... add)
Sets the value of the Add property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
add - The new value for the Add property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withAdd

public LaunchPermissionModifications withAdd(Collection<LaunchPermission> add)
Sets the value of the Add property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
add - The new value for the Add property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getRemove

public List<LaunchPermission> getRemove()
Returns the value of the Remove property for this object.

Returns:
The value of the Remove property for this object.

setRemove

public void setRemove(Collection<LaunchPermission> remove)
Sets the value of the Remove property for this object.

Parameters:
remove - The new value for the Remove property for this object.

withRemove

public LaunchPermissionModifications withRemove(LaunchPermission... remove)
Sets the value of the Remove property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
remove - The new value for the Remove property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withRemove

public LaunchPermissionModifications withRemove(Collection<LaunchPermission> remove)
Sets the value of the Remove property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
remove - The new value for the Remove property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.