public LogSource withAccount(String account) {
        setAccount(account);
        return this;
    }
<p>
Specify the account from which you want to collect logs.
</p>

@param account
       Specify the account from which you want to collect logs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securitylake/src/main/java/com/amazonaws/services/securitylake/model/LogSource.java