public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails withPermissions(String... permissions) {
        if (this.permissions == null) {
            setPermissions(new java.util.ArrayList<String>(permissions.length));
        }
        for (String ele : permissions) {
            this.permissions.add(ele);
        }
        return this;
    }
<p>
The explicit permissions to provide to the container for the device. By default, the container has permissions
for read, write, and <code>mknod</code> for the device.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPermissions(java.util.Collection)} or {@link #withPermissions(java.util.Collection)} if you want to
override the existing values.
</p>

@param permissions
       The explicit permissions to provide to the container for the device. By default, the container has
       permissions for read, write, and <code>mknod</code> for the device.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails.java