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

        this.readonlyAccessAccounts = new java.util.ArrayList<String>(readonlyAccessAccounts);
    }
<p>
An array of strings to specify the Amazon Web Services account IDs that can access the bucket.
</p>
<p>
You can give a maximum of 10 Amazon Web Services accounts access to a bucket.
</p>

@param readonlyAccessAccounts
       An array of strings to specify the Amazon Web Services account IDs that can access the bucket.</p>
       <p>
       You can give a maximum of 10 Amazon Web Services accounts access to a bucket.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/UpdateBucketRequest.java