public java.util.List<String> getAccounts() {
        if (accounts == null) {
            accounts = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return accounts;
    }
<p>
The Amazon Web Services accounts targeted by the current Automation execution.
</p>

@return The Amazon Web Services accounts targeted by the current Automation execution.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/TargetLocation.java