@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Access extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about actions that define permissions to check against a policy.
| Constructor and Description |
|---|
Access() |
| Modifier and Type | Method and Description |
|---|---|
Access |
clone() |
boolean |
equals(Object obj) |
List<String> |
getActions()
A list of actions for the access permissions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setActions(Collection<String> actions)
A list of actions for the access permissions.
|
String |
toString()
Returns a string representation of this object.
|
Access |
withActions(Collection<String> actions)
A list of actions for the access permissions.
|
Access |
withActions(String... actions)
A list of actions for the access permissions.
|
public List<String> getActions()
A list of actions for the access permissions.
public void setActions(Collection<String> actions)
A list of actions for the access permissions.
actions - A list of actions for the access permissions.public Access withActions(String... actions)
A list of actions for the access permissions.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection) or withActions(java.util.Collection) if you want to override
the existing values.
actions - A list of actions for the access permissions.public Access withActions(Collection<String> actions)
A list of actions for the access permissions.
actions - A list of actions for the access permissions.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.