com.amazonaws.services.ec2.model
Class CreateVolumePermissionModifications

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

public class CreateVolumePermissionModifications
extends Object

Create Volume Permission Modifications


Constructor Summary
CreateVolumePermissionModifications()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<CreateVolumePermission> getAdd()
          Returns the value of the Add property for this object.
 List<CreateVolumePermission> getRemove()
          Returns the value of the Remove property for this object.
 int hashCode()
           
 void setAdd(Collection<CreateVolumePermission> add)
          Sets the value of the Add property for this object.
 void setRemove(Collection<CreateVolumePermission> 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.
 CreateVolumePermissionModifications withAdd(Collection<CreateVolumePermission> add)
          Sets the value of the Add property for this object.
 CreateVolumePermissionModifications withAdd(CreateVolumePermission... add)
          Sets the value of the Add property for this object.
 CreateVolumePermissionModifications withRemove(Collection<CreateVolumePermission> remove)
          Sets the value of the Remove property for this object.
 CreateVolumePermissionModifications withRemove(CreateVolumePermission... 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

CreateVolumePermissionModifications

public CreateVolumePermissionModifications()
Method Detail

getAdd

public List<CreateVolumePermission> 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<CreateVolumePermission> 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 CreateVolumePermissionModifications withAdd(CreateVolumePermission... 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 CreateVolumePermissionModifications withAdd(Collection<CreateVolumePermission> 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<CreateVolumePermission> 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<CreateVolumePermission> 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 CreateVolumePermissionModifications withRemove(CreateVolumePermission... 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 CreateVolumePermissionModifications withRemove(Collection<CreateVolumePermission> 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.