com.amazonaws.services.ec2.model
Class CreateVolumePermissionModifications

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

public class CreateVolumePermissionModifications
extends Object
implements Serializable

See Also:
Serialized Form

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

Constructor Detail

CreateVolumePermissionModifications

public CreateVolumePermissionModifications()
Method Detail

getAdd

public 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(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(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 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(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(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 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 © 2016. All rights reserved.