com.amazonaws.services.ec2.model
Class LaunchPermissionModifications

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

public class LaunchPermissionModifications
extends java.lang.Object

Launch Permission Modifications


Constructor Summary
LaunchPermissionModifications()
           
 
Method Summary
 java.util.List<LaunchPermission> getAdd()
          Returns the value of the Add property for this object.
 java.util.List<LaunchPermission> getRemove()
          Returns the value of the Remove property for this object.
 void setAdd(java.util.Collection<LaunchPermission> add)
          Sets the value of the Add property for this object.
 void setRemove(java.util.Collection<LaunchPermission> remove)
          Sets the value of the Remove property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 LaunchPermissionModifications withAdd(java.util.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(java.util.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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LaunchPermissionModifications

public LaunchPermissionModifications()
Method Detail

getAdd

public java.util.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(java.util.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(java.util.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 java.util.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(java.util.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(java.util.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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


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