com.amazonaws.services.ec2.model
Class LaunchPermissionModifications

java.lang.Object
  extended by com.amazonaws.services.ec2.model.LaunchPermissionModifications
All Implemented Interfaces:
java.io.Serializable

public class LaunchPermissionModifications
extends java.lang.Object
implements java.io.Serializable

Describes a launch permission modification.

See Also:
Serialized Form

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

LaunchPermissionModifications

public LaunchPermissionModifications()
Method Detail

getAdd

public java.util.List<LaunchPermission> getAdd()
The AWS account ID to add to the list of launch permissions for the AMI.

Returns:
The AWS account ID to add to the list of launch permissions for the AMI.

setAdd

public void setAdd(java.util.Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the AMI.

Parameters:
add - The AWS account ID to add to the list of launch permissions for the AMI.

withAdd

public LaunchPermissionModifications withAdd(LaunchPermission... add)
The AWS account ID to add to the list of launch permissions for the AMI.

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

Parameters:
add - The AWS account ID to add to the list of launch permissions for the AMI.
Returns:
A reference to this updated object so that method calls can be chained together.

withAdd

public LaunchPermissionModifications withAdd(java.util.Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the AMI.

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

Parameters:
add - The AWS account ID to add to the list of launch permissions for the AMI.
Returns:
A reference to this updated object so that method calls can be chained together.

getRemove

public java.util.List<LaunchPermission> getRemove()
The AWS account ID to remove from the list of launch permissions for the AMI.

Returns:
The AWS account ID to remove from the list of launch permissions for the AMI.

setRemove

public void setRemove(java.util.Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for the AMI.

Parameters:
remove - The AWS account ID to remove from the list of launch permissions for the AMI.

withRemove

public LaunchPermissionModifications withRemove(LaunchPermission... remove)
The AWS account ID to remove from the list of launch permissions for the AMI.

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

Parameters:
remove - The AWS account ID to remove from the list of launch permissions for the AMI.
Returns:
A reference to this updated object so that method calls can be chained together.

withRemove

public LaunchPermissionModifications withRemove(java.util.Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for the AMI.

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

Parameters:
remove - The AWS account ID to remove from the list of launch permissions for the AMI.
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()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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