public DescribeWorkspacesConnectionStatusResult withWorkspacesConnectionStatus(WorkspaceConnectionStatus... workspacesConnectionStatus) {
        if (this.workspacesConnectionStatus == null) {
            setWorkspacesConnectionStatus(new com.amazonaws.internal.SdkInternalList<WorkspaceConnectionStatus>(workspacesConnectionStatus.length));
        }
        for (WorkspaceConnectionStatus ele : workspacesConnectionStatus) {
            this.workspacesConnectionStatus.add(ele);
        }
        return this;
    }
<p>
Information about the connection status of the WorkSpace.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setWorkspacesConnectionStatus(java.util.Collection)} or
{@link #withWorkspacesConnectionStatus(java.util.Collection)} if you want to override the existing values.
</p>

@param workspacesConnectionStatus
       Information about the connection status of the WorkSpace.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/DescribeWorkspacesConnectionStatusResult.java