@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ACLPendingChanges extends Object implements Serializable, Cloneable, StructuredPojo
Returns the updates being applied to the ACL.
Constructor and Description |
---|
ACLPendingChanges() |
Modifier and Type | Method and Description |
---|---|
ACLPendingChanges |
clone() |
boolean |
equals(Object obj) |
List<String> |
getUserNamesToAdd()
A list of users being added to the ACL
|
List<String> |
getUserNamesToRemove()
A list of user names being removed from the ACL
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUserNamesToAdd(Collection<String> userNamesToAdd)
A list of users being added to the ACL
|
void |
setUserNamesToRemove(Collection<String> userNamesToRemove)
A list of user names being removed from the ACL
|
String |
toString()
Returns a string representation of this object.
|
ACLPendingChanges |
withUserNamesToAdd(Collection<String> userNamesToAdd)
A list of users being added to the ACL
|
ACLPendingChanges |
withUserNamesToAdd(String... userNamesToAdd)
A list of users being added to the ACL
|
ACLPendingChanges |
withUserNamesToRemove(Collection<String> userNamesToRemove)
A list of user names being removed from the ACL
|
ACLPendingChanges |
withUserNamesToRemove(String... userNamesToRemove)
A list of user names being removed from the ACL
|
public List<String> getUserNamesToRemove()
A list of user names being removed from the ACL
public void setUserNamesToRemove(Collection<String> userNamesToRemove)
A list of user names being removed from the ACL
userNamesToRemove
- A list of user names being removed from the ACLpublic ACLPendingChanges withUserNamesToRemove(String... userNamesToRemove)
A list of user names being removed from the ACL
NOTE: This method appends the values to the existing list (if any). Use
setUserNamesToRemove(java.util.Collection)
or withUserNamesToRemove(java.util.Collection)
if
you want to override the existing values.
userNamesToRemove
- A list of user names being removed from the ACLpublic ACLPendingChanges withUserNamesToRemove(Collection<String> userNamesToRemove)
A list of user names being removed from the ACL
userNamesToRemove
- A list of user names being removed from the ACLpublic List<String> getUserNamesToAdd()
A list of users being added to the ACL
public void setUserNamesToAdd(Collection<String> userNamesToAdd)
A list of users being added to the ACL
userNamesToAdd
- A list of users being added to the ACLpublic ACLPendingChanges withUserNamesToAdd(String... userNamesToAdd)
A list of users being added to the ACL
NOTE: This method appends the values to the existing list (if any). Use
setUserNamesToAdd(java.util.Collection)
or withUserNamesToAdd(java.util.Collection)
if you want
to override the existing values.
userNamesToAdd
- A list of users being added to the ACLpublic ACLPendingChanges withUserNamesToAdd(Collection<String> userNamesToAdd)
A list of users being added to the ACL
userNamesToAdd
- A list of users being added to the ACLpublic String toString()
toString
in class Object
Object.toString()
public ACLPendingChanges clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.