@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.