public void setActions(java.util.Collection<String> actions) {
        if (actions == null) {
            this.actions = null;
            return;
        }

        this.actions = new com.amazonaws.internal.SdkInternalList<String>(actions);
    }
public void setActions ( java . util . Collection < String > actions ) { if ( actions == null ) { this . actions = null ; return ; } this . actions = new com . amazonaws . internal . SdkInternalList < String > ( actions ) ; }
<p>
The action the client wants to allow for the specified principal. Valid values: the name of any action or
<code>*</code>.
</p>
<p>
For more information about these actions, see <a href=
"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html"
>Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource</a> in the <i>Amazon Simple
Queue Service Developer Guide</i>.
</p>
<p>
Specifying <code>SendMessage</code>, <code>DeleteMessage</code>, or <code>ChangeMessageVisibility</code> for
<code>ActionName.n</code> also grants permissions for the corresponding batch versions of those actions:
<code>SendMessageBatch</code>, <code>DeleteMessageBatch</code>, and <code>ChangeMessageVisibilityBatch</code>.
</p>

@param actions
The action the client wants to allow for the specified principal. Valid values: the name of any action or
<code>*</code>.</p>
<p>
For more information about these actions, see <a href=
"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html"
>Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource</a> in the <i>Amazon
Simple Queue Service Developer Guide</i>.
</p>
<p>
Specifying <code>SendMessage</code>, <code>DeleteMessage</code>, or <code>ChangeMessageVisibility</code>
for <code>ActionName.n</code> also grants permissions for the corresponding batch versions of those
actions: <code>SendMessageBatch</code>, <code>DeleteMessageBatch</code>, and
<code>ChangeMessageVisibilityBatch</code>.