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

        this.targetAccountIds = new java.util.ArrayList<String>(targetAccountIds);
    }
<p>
The ID of an account to which you want to distribute an image.
</p>

@param targetAccountIds
       The ID of an account to which you want to distribute an image.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/AmiDistributionConfiguration.java