com.amazonaws.services.ec2.model
Class CreateVolumePermissionModifications

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

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

See Also:
Serialized Form

Constructor Summary
CreateVolumePermissionModifications()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<CreateVolumePermission> getAdd()
          Adds a specific AWS account ID or group to a volume's list of create volume permissions.
 java.util.List<CreateVolumePermission> getRemove()
          Removes a specific AWS account ID or group from a volume's list of create volume permissions.
 int hashCode()
           
 void setAdd(java.util.Collection<CreateVolumePermission> add)
          Adds a specific AWS account ID or group to a volume's list of create volume permissions.
 void setRemove(java.util.Collection<CreateVolumePermission> remove)
          Removes a specific AWS account ID or group from a volume's list of create volume permissions.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateVolumePermissionModifications withAdd(java.util.Collection<CreateVolumePermission> add)
          Adds a specific AWS account ID or group to a volume's list of create volume permissions.
 CreateVolumePermissionModifications withAdd(CreateVolumePermission... add)
          Adds a specific AWS account ID or group to a volume's list of create volume permissions.
 CreateVolumePermissionModifications withRemove(java.util.Collection<CreateVolumePermission> remove)
          Removes a specific AWS account ID or group from a volume's list of create volume permissions.
 CreateVolumePermissionModifications withRemove(CreateVolumePermission... remove)
          Removes a specific AWS account ID or group from a volume's list of create volume permissions.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateVolumePermissionModifications

public CreateVolumePermissionModifications()
Method Detail

getAdd

public java.util.List<CreateVolumePermission> getAdd()
Adds a specific AWS account ID or group to a volume's list of create volume permissions.

Returns:
Adds a specific AWS account ID or group to a volume's list of create volume permissions.

setAdd

public void setAdd(java.util.Collection<CreateVolumePermission> add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.

Parameters:
add - Adds a specific AWS account ID or group to a volume's list of create volume permissions.

withAdd

public CreateVolumePermissionModifications withAdd(CreateVolumePermission... add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.

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

Parameters:
add - Adds a specific AWS account ID or group to a volume's list of create volume permissions.
Returns:
A reference to this updated object so that method calls can be chained together.

withAdd

public CreateVolumePermissionModifications withAdd(java.util.Collection<CreateVolumePermission> add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.

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

Parameters:
add - Adds a specific AWS account ID or group to a volume's list of create volume permissions.
Returns:
A reference to this updated object so that method calls can be chained together.

getRemove

public java.util.List<CreateVolumePermission> getRemove()
Removes a specific AWS account ID or group from a volume's list of create volume permissions.

Returns:
Removes a specific AWS account ID or group from a volume's list of create volume permissions.

setRemove

public void setRemove(java.util.Collection<CreateVolumePermission> remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.

Parameters:
remove - Removes a specific AWS account ID or group from a volume's list of create volume permissions.

withRemove

public CreateVolumePermissionModifications withRemove(CreateVolumePermission... remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.

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

Parameters:
remove - Removes a specific AWS account ID or group from a volume's list of create volume permissions.
Returns:
A reference to this updated object so that method calls can be chained together.

withRemove

public CreateVolumePermissionModifications withRemove(java.util.Collection<CreateVolumePermission> remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.

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

Parameters:
remove - Removes a specific AWS account ID or group from a volume's list of create volume permissions.
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.