public Application withApplicationPermissions(java.util.Collection<String> applicationPermissions) {
        setApplicationPermissions(applicationPermissions);
        return this;
    }
<p>
The permissions that the agent is granted on the application. Only the <code>ACCESS</code> permission is
supported.
</p>

@param applicationPermissions
       The permissions that the agent is granted on the application. Only the <code>ACCESS</code> permission is
       supported.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Application.java