@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadPermissionModifications extends Object implements Serializable, Cloneable
Describes modifications to the load permissions of an Amazon FPGA image (AFI).
Constructor and Description |
---|
LoadPermissionModifications() |
Modifier and Type | Method and Description |
---|---|
LoadPermissionModifications |
clone() |
boolean |
equals(Object obj) |
List<LoadPermissionRequest> |
getAdd()
The load permissions to add.
|
List<LoadPermissionRequest> |
getRemove()
The load permissions to remove.
|
int |
hashCode() |
void |
setAdd(Collection<LoadPermissionRequest> add)
The load permissions to add.
|
void |
setRemove(Collection<LoadPermissionRequest> remove)
The load permissions to remove.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LoadPermissionModifications |
withAdd(Collection<LoadPermissionRequest> add)
The load permissions to add.
|
LoadPermissionModifications |
withAdd(LoadPermissionRequest... add)
The load permissions to add.
|
LoadPermissionModifications |
withRemove(Collection<LoadPermissionRequest> remove)
The load permissions to remove.
|
LoadPermissionModifications |
withRemove(LoadPermissionRequest... remove)
The load permissions to remove.
|
public List<LoadPermissionRequest> getAdd()
The load permissions to add.
public void setAdd(Collection<LoadPermissionRequest> add)
The load permissions to add.
add
- The load permissions to add.public LoadPermissionModifications withAdd(LoadPermissionRequest... add)
The load permissions to add.
NOTE: This method appends the values to the existing list (if any). Use
setAdd(java.util.Collection)
or withAdd(java.util.Collection)
if you want to override the
existing values.
add
- The load permissions to add.public LoadPermissionModifications withAdd(Collection<LoadPermissionRequest> add)
The load permissions to add.
add
- The load permissions to add.public List<LoadPermissionRequest> getRemove()
The load permissions to remove.
public void setRemove(Collection<LoadPermissionRequest> remove)
The load permissions to remove.
remove
- The load permissions to remove.public LoadPermissionModifications withRemove(LoadPermissionRequest... remove)
The load permissions to remove.
NOTE: This method appends the values to the existing list (if any). Use
setRemove(java.util.Collection)
or withRemove(java.util.Collection)
if you want to override the
existing values.
remove
- The load permissions to remove.public LoadPermissionModifications withRemove(Collection<LoadPermissionRequest> remove)
The load permissions to remove.
remove
- The load permissions to remove.public String toString()
toString
in class Object
Object.toString()
public LoadPermissionModifications clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.