public Snapshot withAccountsWithProvisionedRestoreAccess(java.util.Collection<String> accountsWithProvisionedRestoreAccess) {
        setAccountsWithProvisionedRestoreAccess(accountsWithProvisionedRestoreAccess);
        return this;
    }
<p>
All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.
</p>

@param accountsWithProvisionedRestoreAccess
       All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/Snapshot.java